Class ImageRenderSettings
java.lang.Object
com.levigo.jadice.web.shared.model.settings.AbstractListenableRenderSettings
com.levigo.jadice.web.shared.model.settings.ImageRenderSettings
- All Implemented Interfaces:
RenderSettings
Settings which control various aspects of the image rendering process like desaturation,
gradation or image filtering.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Identifier key for a desaturation change, used within a com.levigo.jadice.web.client.settings.RenderSettingsEvent to recognize the kind of change which happen.static final String
Identifier key for a filter change, used within a com.levigo.jadice.web.client.settings.RenderSettingsEvent to recognize the kind of change which happen.static final String
Identifier key for a gradation change, used within a com.levigo.jadice.web.client.settings.RenderSettingsEvent to recognize the kind of change which happen. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a snapshot copy of this settings instance.boolean
Returns the gradation curve to be applied to the image.int
hashCode()
protected void
Initializes additional settings.void
setFilterType
(FilterType filterType) void
setGradationCurve
(GradationCurve gradationCurve) Sets the gradation curve to be applied to the image.toString()
void
update
(String propertyName, RenderSettings other, Object... details) Updates this instance property specified by given property name with the value provided by the other processing setting.Methods inherited from class com.levigo.jadice.web.shared.model.settings.AbstractListenableRenderSettings
addListener, fireChanged, getParent, init, removeListener
-
Field Details
-
GRADATION_CURVE
Identifier key for a gradation change, used within a com.levigo.jadice.web.client.settings.RenderSettingsEvent to recognize the kind of change which happen.- See Also:
-
DESATURATION
Identifier key for a desaturation change, used within a com.levigo.jadice.web.client.settings.RenderSettingsEvent to recognize the kind of change which happen.- See Also:
-
FILTER
Identifier key for a filter change, used within a com.levigo.jadice.web.client.settings.RenderSettingsEvent to recognize the kind of change which happen.- See Also:
-
-
Constructor Details
-
ImageRenderSettings
public ImageRenderSettings()Constructor needed by gwt
-
-
Method Details
-
setDefaults
protected void setDefaults()Description copied from class:AbstractListenableRenderSettings
Initializes additional settings.- Specified by:
setDefaults
in classAbstractListenableRenderSettings
-
createSnapshot
Creates and returns a snapshot copy of this settings instance.- Returns:
- snapshot copy
-
equals
-
hashCode
public int hashCode() -
toString
-
getGradationCurve
Returns the gradation curve to be applied to the image.- Returns:
- gradation curve
-
getFilterType
-
setFilterType
-