AROM-2_2_13

helix.util.ui.parameters
Class StringParameter

java.lang.Object
  |
  +--helix.util.ui.parameters.ObjectParameter
        |
        +--helix.util.ui.parameters.StringParameter
All Implemented Interfaces:
Parameter

public class StringParameter
extends ObjectParameter


Field Summary
 
Fields inherited from interface helix.util.ui.parameters.Parameter
BOOLEAN_TYPE, LIST_TYPE, OBJECT_TYPE, STRING_TYPE
 
Constructor Summary
StringParameter(String key, String label, String value, String defaultValue, String[] values, Constraints constraint, boolean isPrefSaved)
           
 
Method Summary
 String getStringValue()
          Returns string 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

StringParameter

public StringParameter(String key,
                       String label,
                       String value,
                       String defaultValue,
                       String[] values,
                       Constraints constraint,
                       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

getStringValue

public String getStringValue()
Returns string value.

Returns:

AROM-2_2_13