public class BooleanProperty extends AbstractScalarProperty<java.lang.Boolean>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
Constructor and Description |
---|
BooleanProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Boolean defaultValue,
float theUIOrder)
Constructor for BooleanProperty limited to a single value.
|
BooleanProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String defaultBoolStr,
float theUIOrder)
Constructor for BooleanProperty limited to a single value.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
createFrom(java.lang.String value)
Creates and returns a Boolean instance from a raw string
|
protected java.lang.String |
defaultAsString() |
java.lang.Class<java.lang.Boolean> |
type()
Denotes the value datatype.
|
arrayFor, valueFrom
addAttributesTo, areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorFor
public static final PropertyDescriptorFactory FACTORY
public BooleanProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Boolean defaultValue, float theUIOrder)
theName
- StringtheDescription
- StringdefaultValue
- booleantheUIOrder
- floatpublic BooleanProperty(java.lang.String theName, java.lang.String theDescription, java.lang.String defaultBoolStr, float theUIOrder)
theName
- StringtheDescription
- StringdefaultBoolStr
- StringtheUIOrder
- floatpublic java.lang.Class<java.lang.Boolean> type()
PropertyDescriptor
PropertyDescriptor.type()
protected java.lang.String defaultAsString()
defaultAsString
in class AbstractProperty<java.lang.Boolean>
protected java.lang.Object createFrom(java.lang.String value)
createFrom
in class AbstractScalarProperty<java.lang.Boolean>
value
- StringCopyright © 2002-2014 InfoEther. All Rights Reserved.