AROM-2_2_13

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


Field Summary
 
Fields inherited from interface helix.util.ui.parameters.Parameter
BOOLEAN_TYPE, LIST_TYPE, OBJECT_TYPE, STRING_TYPE
 
Constructor Summary
BooleanParameter(String key, String label, Boolean value, Boolean defaultValue, boolean isPrefSaved)
           
 
Method Summary
 Boolean getBooleanValue()
          Returns boolean value.
 void setValue(Object value)
          Set the value of this parameter.
 
Methods inherited from class helix.util.ui.parameters.ObjectParameter
addListener, getConstraint, getDefaultValue, getInitialValue, getKey, getLabel, getType, getValue, getValues, hasConstraints, hasDomainValues, isEnable, isPreferenceSaved, removeListener, setEnable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanParameter

public BooleanParameter(String key,
                        String label,
                        Boolean value,
                        Boolean defaultValue,
                        boolean isPrefSaved)
                 throws IllegalArgumentException
Method Detail

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

AROM-2_2_13