helix.util.ui.parameters
Class BooleanParameter
java.lang.Object
|
+--helix.util.ui.parameters.ObjectParameter
|
+--helix.util.ui.parameters.BooleanParameter
- All Implemented Interfaces:
- Parameter
- public class BooleanParameter
- extends ObjectParameter
Methods inherited from class helix.util.ui.parameters.ObjectParameter |
addListener, getConstraint, getDefaultValue, getInitialValue, getKey, getLabel, getType, getValue, getValues, hasConstraints, hasDomainValues, isEnable, isPreferenceSaved, removeListener, setEnable |
BooleanParameter
public BooleanParameter(String key,
String label,
Boolean value,
Boolean defaultValue,
boolean isPrefSaved)
throws IllegalArgumentException
setValue
public void setValue(Object value)
throws IllegalArgumentException
- Description copied from class:
ObjectParameter
- Set the value of this parameter.
- Specified by:
setValue
in interface Parameter
- Overrides:
setValue
in class ObjectParameter
- Throws:
IllegalArgumentException
- if new value is
null or does not respect constraint or domain values
getBooleanValue
public Boolean getBooleanValue()
- Returns boolean value.
- Returns:
- Boolean