public class CheckBoxUC extends AbstractUniformControl
GROUP_CAMERA, GROUP_DEFAULT, QUALIFIED_SEPARATOR| Constructor and Description |
|---|
CheckBoxUC(String name,
org.synthclipse.core.parser.Control control) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyUniformValue() |
Class<CheckBoxUC> |
getControlClass() |
ControlType |
getControlType() |
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.
|
boolean |
isDefaultValue() |
boolean |
isSelected() |
void |
loadAllDefaults() |
void |
loadDefaultValue() |
Object |
parsePresetValue(String text)
Parses String
text to a value that is displayed in an editor of the Uniform Control. |
void |
setDefaultValue(boolean defaultValue) |
void |
setPresetValue(Object value)
Sets a value that is displayed in an editor of the Uniform Control.
|
void |
setSelected(boolean selected) |
void |
setUniformValue(Object value) |
calculateNameGroupHashCode, equals, getControl, getDescription, getGroup, getKeyFrames, getName, getNameGroupHashCode, getProgramName, getQualifiedName, getRepeatDirection, getRepeatMode, isActive, isValid, setDescription, setEventDispatcher, setGroup, setKeyFrames, setNameGroupHashCode, setRepeatDirection, setRepeatMode, triggerValueChangedEvent, valueChangedpublic CheckBoxUC(String name, org.synthclipse.core.parser.Control control)
public ControlType getControlType()
public Class<CheckBoxUC> getControlClass()
public boolean isSelected()
public void setSelected(boolean selected)
public void applyUniformValue()
public void loadAllDefaults()
public void loadDefaultValue()
public void setUniformValue(Object value)
public boolean isDefaultValue()
public void setDefaultValue(boolean defaultValue)
public Object getPresetValue()
org.synthclipse.core.uniform.preset.IPresetValuepublic void setPresetValue(Object value)
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)org.synthclipse.core.parser.ParsingExceptionpublic Object getPresetDefaultValue()
org.synthclipse.core.uniform.preset.IPresetValue