public enum BooleanProperty extends Enum<BooleanProperty> implements Property<Boolean>
| Enum Constant and Description |
|---|
EDITABLE
The editable property, defaults to
Boolean.TRUE |
ENABLED
The enabled property, defaults to
Boolean.TRUE |
EXPANDED
The expanded property, defaults to
Boolean.FALSE |
MANDATORY
The mandatory property, defaults to
Boolean.FALSE |
SHOWN
The shown property, defaults to
Boolean.TRUE |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDefaultValue()
Get the default value of the property.
|
static BooleanProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BooleanProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BooleanProperty EDITABLE
Boolean.TRUEpublic static final BooleanProperty ENABLED
Boolean.TRUEpublic static final BooleanProperty MANDATORY
Boolean.FALSEpublic static final BooleanProperty SHOWN
Boolean.TRUEpublic static final BooleanProperty EXPANDED
Boolean.FALSEpublic static BooleanProperty[] values()
for (BooleanProperty c : BooleanProperty.values()) System.out.println(c);
public static BooleanProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Boolean getDefaultValue()
Propertynull.getDefaultValue in interface Property<Boolean>null if no default
exist.Copyright © 2006–2017 Esito AS. All rights reserved.