|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Border description for usage in LayoutDescription.
PENDING: needs cleanup ... encodedString is the property as persisted, type is the hack to get some rudimentary semantic description (provided by the LayoutFactory)
Field Summary | |
static java.lang.Object |
BUTTON_BAR_GAP
|
static java.lang.Object |
CUSTOM
|
static java.lang.Object |
DIALOG
|
static java.lang.Object |
DLU14
|
static java.lang.Object |
DLU2
|
static java.lang.Object |
NO_BORDER
|
static java.lang.Object[] |
PREDEFINED_TYPES
|
static java.lang.Object |
TABBED_DIALOG
|
Method Summary | |
java.util.List |
getStyles()
Returns a list of all registered styles. |
java.lang.Object |
getType()
get/setType for use in (visual) builders. |
boolean |
isEnabled()
|
void |
setType(java.lang.Object type)
A lenient setter for Style. |
Methods inherited from interface de.kleopatra.forms.description.Stylable |
getStyle, getValidEncoding |
Field Detail |
public static final java.lang.Object NO_BORDER
public static final java.lang.Object DIALOG
public static final java.lang.Object TABBED_DIALOG
public static final java.lang.Object BUTTON_BAR_GAP
public static final java.lang.Object DLU2
public static final java.lang.Object DLU14
public static final java.lang.Object CUSTOM
public static final java.lang.Object[] PREDEFINED_TYPES
Method Detail |
public java.util.List getStyles()
Stylable
Items of the List are guaranteed to be valid entries in setType.
getStyles
in interface Stylable
public void setType(java.lang.Object type)
Stylable
It's up the the concrete implemantation to define valid input types and formats. Minimally it must guarantee to accept all objects returned in the getStyles() and the output of getValidEncoding().
setType
in interface Stylable
type
- public java.lang.Object getType()
Stylable
actually getType returns getStyle - but for convenient binding the return type has to be the same as the parameter type in the setter.
getType
in interface Stylable
public boolean isEnabled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |