public class SliderDoubleUC extends AbstractUniformControl implements org.synthclipse.core.uniform.preset.IRangeablePresetValue
GROUP_CAMERA, GROUP_DEFAULT, QUALIFIED_SEPARATOR| Constructor and Description |
|---|
SliderDoubleUC(String name,
org.synthclipse.core.parser.Control control) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyUniformValue() |
Class<SliderDoubleUC> |
getControlClass() |
ControlType |
getControlType() |
double |
getDefaultMaxValue() |
double |
getDefaultMinValue() |
double |
getDefaultStepSize() |
double |
getDefaultValue() |
Object |
getMaxPresetDefaultValue() |
Object |
getMaxPresetValue() |
double |
getMaxValue() |
Object |
getMinPresetDefaultValue() |
Object |
getMinPresetValue() |
double |
getMinValue() |
Object |
getPresetDefaultValue()
Gets a default value that is displayed in an editor of the Uniform Control.
|
Object |
getPresetValue()
Gets a value that is displayed in an editor of the Uniform Control.
|
double |
getStepSize() |
Object |
getStepSizeDefaultPresetValue() |
Object |
getStepSizePresetValue() |
double |
getValue() |
boolean |
isRangePresetSavable() |
boolean |
isStepSizePresetSavable() |
void |
loadAllDefaults() |
void |
loadDefaultMaxValue() |
void |
loadDefaultMinValue() |
void |
loadDefaultStepSizeValue() |
void |
loadDefaultValue() |
Object |
parsePresetValue(String text)
Parses String
text to a value that is displayed in an editor of the Uniform Control. |
void |
setDefaultMaxValue(double defaultMaxValue) |
void |
setDefaultMinValue(double defaultMinValue) |
void |
setDefaultStepSize(double defaultStepSize) |
void |
setDefaultValue(double defaultValue) |
void |
setMaxPresetValue(Object value) |
void |
setMaxValue(double maxValue) |
void |
setMinPresetValue(Object value) |
void |
setMinValue(double minValue) |
void |
setPresetValue(Object value)
Sets a value that is displayed in an editor of the Uniform Control.
|
void |
setStepSize(double stepSize) |
void |
setStepSizePresetValue(Object stepSize) |
void |
setUniformValue(Object value) |
void |
setValue(double value) |
calculateNameGroupHashCode, equals, getControl, getDescription, getGroup, getKeyFrames, getName, getNameGroupHashCode, getProgramName, getQualifiedName, getRepeatDirection, getRepeatMode, isActive, isValid, setDescription, setEventDispatcher, setGroup, setKeyFrames, setNameGroupHashCode, setRepeatDirection, setRepeatMode, triggerValueChangedEvent, valueChangedpublic SliderDoubleUC(String name, org.synthclipse.core.parser.Control control)
public ControlType getControlType()
getControlType in interface IUniformControlpublic Class<SliderDoubleUC> getControlClass()
getControlClass in interface IUniformControlpublic double getValue()
public void setValue(double value)
public void applyUniformValue()
applyUniformValue in interface IUniformControlpublic void loadAllDefaults()
loadAllDefaults in interface IUniformControlpublic void loadDefaultValue()
loadDefaultValue in interface org.synthclipse.core.uniform.preset.IPresetValuepublic void loadDefaultStepSizeValue()
loadDefaultStepSizeValue in interface org.synthclipse.core.uniform.preset.IStepablePresetValuepublic void loadDefaultMinValue()
loadDefaultMinValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic void loadDefaultMaxValue()
loadDefaultMaxValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic double getMinValue()
public void setMinValue(double minValue)
public double getMaxValue()
public void setMaxValue(double maxValue)
public double getStepSize()
public void setStepSize(double stepSize)
public double getDefaultValue()
public void setDefaultValue(double defaultValue)
public double getDefaultMinValue()
public void setDefaultMinValue(double defaultMinValue)
public double getDefaultMaxValue()
public void setDefaultMaxValue(double defaultMaxValue)
public double getDefaultStepSize()
public void setDefaultStepSize(double defaultStepSize)
public void setUniformValue(Object value)
setUniformValue in interface IUniformControlpublic Object getPresetValue()
org.synthclipse.core.uniform.preset.IPresetValuegetPresetValue in interface org.synthclipse.core.uniform.preset.IPresetValuepublic void setPresetValue(Object value)
org.synthclipse.core.uniform.preset.IPresetValuesetPresetValue in interface org.synthclipse.core.uniform.preset.IPresetValuepublic Object parsePresetValue(String text) throws org.synthclipse.core.parser.ParsingException
org.synthclipse.core.uniform.preset.IPresetValuetext to a value that is displayed in an editor of the Uniform Control.
(e.g. float, Vector3, String)parsePresetValue in interface org.synthclipse.core.uniform.preset.IPresetValueorg.synthclipse.core.parser.ParsingExceptionpublic Object getStepSizePresetValue()
getStepSizePresetValue in interface org.synthclipse.core.uniform.preset.IStepablePresetValuepublic void setStepSizePresetValue(Object stepSize)
setStepSizePresetValue in interface org.synthclipse.core.uniform.preset.IStepablePresetValuepublic Object getMinPresetValue()
getMinPresetValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic void setMinPresetValue(Object value)
setMinPresetValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic Object getMaxPresetValue()
getMaxPresetValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic void setMaxPresetValue(Object value)
setMaxPresetValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic boolean isRangePresetSavable()
isRangePresetSavable in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic boolean isStepSizePresetSavable()
isStepSizePresetSavable in interface org.synthclipse.core.uniform.preset.IStepablePresetValuepublic Object getStepSizeDefaultPresetValue()
getStepSizeDefaultPresetValue in interface org.synthclipse.core.uniform.preset.IStepablePresetValuepublic Object getPresetDefaultValue()
org.synthclipse.core.uniform.preset.IPresetValuegetPresetDefaultValue in interface org.synthclipse.core.uniform.preset.IPresetValuepublic Object getMinPresetDefaultValue()
getMinPresetDefaultValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValuepublic Object getMaxPresetDefaultValue()
getMaxPresetDefaultValue in interface org.synthclipse.core.uniform.preset.IRangeablePresetValue