public class DefaultColorAdjustModel extends AbstractBean implements ColorAdjustModel
DefaultImageAdjustmentModel
.Modifier and Type | Field and Description |
---|---|
protected float |
blackPoint
Level adjustment: black point in the range [0,1].
|
protected float |
brightness
Brightness adjustment in the range [-1,1].
|
protected float |
contrast
Contrast adjustment in the range [-1,1].
|
protected float |
definition
Definition adjustment in the range [0,1].
|
protected float |
denoise
De-noise adjustment in the range [0,1].
|
protected float |
exposure
Exposure adjustment in the range [-1,1].
|
protected float |
highlights
Higlights adjustment in the range [0,1].
|
protected float |
midPoint
Level adjustment: mid point in the range [0,1].
|
protected float |
saturation
Saturation adjustment in the range [0,1].
|
protected float |
shadows
Shadows adjustment in the range [0,1].
|
protected float |
sharpness
Sharpness adjustment in the range [0,1].
|
protected float |
temperature
Temperature adjustment in the range [-1,1].
|
protected float |
tint
Tint adjustment in the range [-1,1].
|
protected float |
whitePoint
Level adjustment: white point in the range [0,1].
|
propertySupport
BLACK_POINT_PROPERTY, BRIGHTNESS_PROPERTY, CONTRAST_PROPERTY, DEFINITION_PROPERTY, DENOISE_PROPERTY, EXPOSURE_PROPERTY, HIGHLIGHTS_PROPERTY, MID_POINT_PROPERTY, SATURATION_PROPERTY, SHADOWS_PROPERTY, SHARPNESS_PROPERTY, TEMPERATURE_PROPERTY, TINT_PROPERTY, WHITE_BALANCE_QM_ENABLED_PROPERTY, WHITE_BALANCE_QM_PROPERTY, WHITE_BALANCE_TT_ENABLED_PROPERTY, WHITE_POINT_PROPERTY
Constructor and Description |
---|
DefaultColorAdjustModel() |
Modifier and Type | Method and Description |
---|---|
float |
getBlackPoint() |
float |
getBrightness() |
float |
getContrast() |
float |
getDefinition() |
float |
getDenoise() |
float |
getExposure() |
float |
getHighlights() |
float |
getMidPoint() |
float |
getSaturation() |
float |
getShadows() |
float |
getSharpness() |
float |
getTemperature() |
float |
getTint() |
float[] |
getWhiteBalanceQM() |
float |
getWhitePoint()
Get the value of whitePoint
|
boolean |
isIdentity()
Returns true, if the model does not perform any changes to the image.
|
boolean |
isWhiteBalanceQMEnabled() |
boolean |
isWhiteBalanceTTEnabled() |
void |
reset()
Resets all values.
|
void |
setBlackPoint(float newValue) |
void |
setBrightness(float newValue) |
void |
setContrast(float newValue) |
void |
setDefinition(float newValue) |
void |
setDenoise(float newValue) |
void |
setExposure(float newValue) |
void |
setHighlights(float newValue) |
void |
setMidPoint(float newValue) |
void |
setSaturation(float newValue) |
void |
setShadows(float newValue) |
void |
setSharpness(float newValue) |
void |
setTemperature(float newValue) |
void |
setTint(float newValue) |
void |
setTo(ColorAdjustModel that) |
void |
setWhiteBalanceQM(float[] newValue) |
void |
setWhiteBalanceQMEnabled(boolean newValue) |
void |
setWhiteBalanceTTEnabled(boolean newValue) |
void |
setWhitePoint(float newValue)
Set the value of whitePoint
|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
protected float whitePoint
protected float blackPoint
protected float midPoint
protected float brightness
protected float exposure
protected float contrast
protected float saturation
protected float definition
protected float highlights
protected float shadows
protected float sharpness
protected float denoise
protected float temperature
protected float tint
public void reset()
ColorAdjustModel
reset
in interface ColorAdjustModel
public float getWhitePoint()
getWhitePoint
in interface ColorAdjustModel
public void setWhitePoint(float newValue)
setWhitePoint
in interface ColorAdjustModel
newValue
- new value of whitePointpublic float getBlackPoint()
getBlackPoint
in interface ColorAdjustModel
public void setBlackPoint(float newValue)
setBlackPoint
in interface ColorAdjustModel
public float getMidPoint()
getMidPoint
in interface ColorAdjustModel
public void setMidPoint(float newValue)
setMidPoint
in interface ColorAdjustModel
public float getContrast()
getContrast
in interface ColorAdjustModel
public void setContrast(float newValue)
setContrast
in interface ColorAdjustModel
public float getDefinition()
getDefinition
in interface ColorAdjustModel
public void setDefinition(float newValue)
setDefinition
in interface ColorAdjustModel
public float getDenoise()
getDenoise
in interface ColorAdjustModel
public void setDenoise(float newValue)
setDenoise
in interface ColorAdjustModel
public float getBrightness()
getBrightness
in interface ColorAdjustModel
public void setBrightness(float newValue)
setBrightness
in interface ColorAdjustModel
public float getExposure()
getExposure
in interface ColorAdjustModel
public void setExposure(float newValue)
setExposure
in interface ColorAdjustModel
public float getHighlights()
getHighlights
in interface ColorAdjustModel
public void setHighlights(float newValue)
setHighlights
in interface ColorAdjustModel
public float getSaturation()
getSaturation
in interface ColorAdjustModel
public void setSaturation(float newValue)
setSaturation
in interface ColorAdjustModel
public float getShadows()
getShadows
in interface ColorAdjustModel
public void setShadows(float newValue)
setShadows
in interface ColorAdjustModel
public float getSharpness()
getSharpness
in interface ColorAdjustModel
public void setSharpness(float newValue)
setSharpness
in interface ColorAdjustModel
public float getTemperature()
getTemperature
in interface ColorAdjustModel
public void setTemperature(float newValue)
setTemperature
in interface ColorAdjustModel
public float getTint()
getTint
in interface ColorAdjustModel
public void setTint(float newValue)
setTint
in interface ColorAdjustModel
public void setWhiteBalanceQM(float[] newValue)
setWhiteBalanceQM
in interface ColorAdjustModel
public float[] getWhiteBalanceQM()
getWhiteBalanceQM
in interface ColorAdjustModel
public void setWhiteBalanceQMEnabled(boolean newValue)
setWhiteBalanceQMEnabled
in interface ColorAdjustModel
public boolean isWhiteBalanceQMEnabled()
isWhiteBalanceQMEnabled
in interface ColorAdjustModel
public void setWhiteBalanceTTEnabled(boolean newValue)
setWhiteBalanceTTEnabled
in interface ColorAdjustModel
public boolean isWhiteBalanceTTEnabled()
isWhiteBalanceTTEnabled
in interface ColorAdjustModel
public void setTo(ColorAdjustModel that)
setTo
in interface ColorAdjustModel
public boolean isIdentity()
ColorAdjustModel
isIdentity
in interface ColorAdjustModel