Method Summary |
|
void | checkCompleteness() Checks whether this definition is complete since we are allowed to have partial
definitions in libraries. |
Widget | createInstance() Creates and returns a widget based on this widget definition. |
void | generateDisplayData(String name, ContentHandler contentHandler) Generates SAX events for named display data. |
void | generateDisplayData(ContentHandler contentHandler) Generates SAX events for display data. |
void | generateLabel(ContentHandler contentHandler) Generates SAX events for the label of this widget. |
Object | getAttribute(String name) Gets an attribute that has been defined on the widget's definition. |
Library | getEnclosingLibrary() |
FormDefinition | getFormDefinition() Gets the
FormDefinition . |
String | getId() Gets id of this widget definition. |
Location | getLocation() Gets source location of this widget definition. |
void | initializeFrom(WidgetDefinition definition) |
void | setEnclosingLibrary(Library library) |
void | setParent(WidgetDefinition definition) Sets the parent of this definition. |
boolean | validate(Widget widget) Validate a widget using the validators that were defined in its definition. |