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 StringIdentifier 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 StringIdentifier 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 StringIdentifier 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.booleanReturns the gradation curve to be applied to the image.inthashCode()protected voidInitializes additional settings.voidsetFilterType(FilterType filterType) voidsetGradationCurve(GradationCurve gradationCurve) Sets the gradation curve to be applied to the image.toString()voidupdate(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:AbstractListenableRenderSettingsInitializes additional settings.- Specified by:
setDefaultsin 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
-