|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WidgetDefinition
A WidgetDefinition holds all the static information about a Widget. It's function is a lot like that of the class in Java. Users of the Woody framework usually won't have to bother with the WidgetDefinition's, but will rather use the Widget's themselves.
Method Summary | |
---|---|
Widget |
createInstance()
Creates and returns a widget based on this widget definition. |
void |
generateDisplayData(ContentHandler contentHandler)
Generates SAX events for display data. |
void |
generateDisplayData(String name,
ContentHandler contentHandler)
Generates SAX events for named display data. |
void |
generateLabel(ContentHandler contentHandler)
Generates SAX events for the label of this widget. |
FormDefinition |
getFormDefinition()
Gets the FormDefinition . |
String |
getId()
Gets id of this widget definition. |
String |
getLocation()
Gets source location of this widget definition. |
void |
setParent(WidgetDefinition definition)
Sets the parent of this definition |
Method Detail |
---|
FormDefinition getFormDefinition()
FormDefinition
.
void setParent(WidgetDefinition definition)
String getLocation()
String getId()
Widget createInstance()
void generateDisplayData(String name, ContentHandler contentHandler) throws SAXException
SAXException
void generateDisplayData(ContentHandler contentHandler) throws SAXException
SAXException
void generateLabel(ContentHandler contentHandler) throws SAXException
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |