Package thing
Class ThinletDTD.Property
java.lang.Object
thing.ThinletDTD.Property
- All Implemented Interfaces:
Comparable
- Enclosing class:
ThinletDTD
A Property represents an attribute of a Thinlet component, such as
"width", "name" or "action".
Note that Properties are comparable. The default sort order is to sort by its parenting widget first, then by name.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
-
Field Details
-
STRING
public static final int STRING- See Also:
-
INTEGER
public static final int INTEGER- See Also:
-
BOOLEAN
public static final int BOOLEAN- See Also:
-
CHOICE
public static final int CHOICE- See Also:
-
COLOR
public static final int COLOR- See Also:
-
ICON
public static final int ICON- See Also:
-
FONT
public static final int FONT- See Also:
-
KEYSTROKE
public static final int KEYSTROKE- See Also:
-
METHOD
public static final int METHOD- See Also:
-
BEAN
public static final int BEAN- See Also:
-
PROPERTY
public static final int PROPERTY- See Also:
-
COMPONENT
public static final int COMPONENT- See Also:
-
-
Method Details
-
getWidget
-
getType
public int getType() -
getName
-
getDefaultValue
-
getChoices
If this property is of typeCHOICEthen return the possible choices, otherwise return null. -
getTypeName
-
getTypeName
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable
-
toString
-