Package thing
Class ThinletDTD.Widget
java.lang.Object
thing.ThinletDTD.Widget
- All Implemented Interfaces:
Comparable
- Enclosing class:
ThinletDTD
A Widget represents a Thinlet component, such as "button" or "label".
Note that Widgets are comparable. The default sort order is to sort by name.
-
Method Summary
Modifier and TypeMethodDescriptionintbooleangetProperty(String propName) inthashCode()booleanhasProperty(String propName) booleanisInstanceOf(String classname) Checks whether the class of this Widget is derived from the Widget with the specified classname, by checking the parents of this Widget.booleanisSubWidgetAllowed(String classname) booleanisSubWidgetAllowed(ThinletDTD.Widget subWidget) toString()
-
Method Details
-
getClassname
-
getParent
-
getParentClassname
-
getProperty
-
hasProperty
-
getProperties
-
getAllowedSubWidgets
-
isSubWidgetAllowed
-
isSubWidgetAllowed
-
isInstanceOf
Checks whether the class of this Widget is derived from the Widget with the specified classname, by checking the parents of this Widget. -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable
-
toString
-