public class SliderVec2UC extends AbstractUniformControl implements org.synthclipse.core.uniform.preset.IRangeablePresetValue
GROUP_CAMERA, GROUP_DEFAULT, QUALIFIED_SEPARATOR| Constructor and Description |
|---|
SliderVec2UC(String name,
org.synthclipse.core.parser.Control control) |
calculateNameGroupHashCode, equals, getControl, getDescription, getGroup, getKeyFrames, getName, getNameGroupHashCode, getProgramName, getQualifiedName, getRepeatDirection, getRepeatMode, isActive, isValid, setDescription, setEventDispatcher, setGroup, setKeyFrames, setNameGroupHashCode, setRepeatDirection, setRepeatMode, triggerValueChangedEvent, valueChangedpublic SliderVec2UC(String name, org.synthclipse.core.parser.Control control)
public ControlType getControlType()
getControlType in interface IUniformControlpublic Class<SliderVec2UC> getControlClass()
getControlClass in interface IUniformControlpublic Vector2f getValue()
public void setValue(Vector2f value)
public void setValue(float x,
float y)
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 Vector2f getMinValue()
public void setMinValue(Vector2f minValue)
public void setMinValue(float x,
float y)
public Vector2f getMaxValue()
public void setMaxValue(Vector2f maxValue)
public void setMaxValue(float x,
float y)
public Vector2f getStepSize()
public void setStepSize(Vector2f stepSize)
public Vector2f getDefaultValue()
public void setDefaultValue(Vector2f defaultValue)
public Vector2f getDefaultMinValue()
public void setDefaultMinValue(Vector2f defaultMinValue)
public Vector2f getDefaultMaxValue()
public void setDefaultMaxValue(Vector2f defaultMaxValue)
public Vector2f getDefaultStepSize()
public void setDefaultStepSize(Vector2f 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