public class ComboBoxUC extends AbstractUniformControl
GROUP_CAMERA, GROUP_DEFAULT, QUALIFIED_SEPARATOR
Constructor and Description |
---|
ComboBoxUC(String name,
org.synthclipse.core.parser.Control control,
String[] comboValues) |
Modifier and Type | Method and Description |
---|---|
void |
applyUniformValue() |
String[] |
getComboValues() |
Class<ComboBoxUC> |
getControlClass() |
ControlType |
getControlType() |
int |
getDefaultValue() |
int |
getMaxValue() |
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.
|
int |
getValue() |
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(int defaultValue) |
void |
setPresetValue(Object value)
Sets a value that is displayed in an editor of the Uniform Control.
|
void |
setUniformValue(Object value) |
void |
setValue(int value) |
calculateNameGroupHashCode, equals, getControl, getDescription, getGroup, getKeyFrames, getName, getNameGroupHashCode, getProgramName, getQualifiedName, getRepeatDirection, getRepeatMode, isActive, isValid, setDescription, setEventDispatcher, setGroup, setKeyFrames, setNameGroupHashCode, setRepeatDirection, setRepeatMode, triggerValueChangedEvent, valueChanged
public ControlType getControlType()
public Class<ComboBoxUC> getControlClass()
public int getValue()
public void setValue(int value)
public void applyUniformValue()
public void loadAllDefaults()
public void loadDefaultValue()
public void setUniformValue(Object value)
public int getDefaultValue()
public void setDefaultValue(int defaultValue)
public String[] getComboValues()
public int getMaxValue()
public Object getPresetValue()
org.synthclipse.core.uniform.preset.IPresetValue
public void setPresetValue(Object value)
org.synthclipse.core.uniform.preset.IPresetValue
public Object parsePresetValue(String text) throws org.synthclipse.core.parser.ParsingException
org.synthclipse.core.uniform.preset.IPresetValue
text
to a value that is displayed in an editor of the Uniform Control.
(e.g. float, Vector3, String)org.synthclipse.core.parser.ParsingException
public Object getPresetDefaultValue()
org.synthclipse.core.uniform.preset.IPresetValue