|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.abstractics.xmlpanel.swing.XmlPanel.XmlPanelComponentCreator
ComponentCreator that creates XmlPanels. Used to create both the inital and child panels
| Constructor Summary | |
XmlPanel.XmlPanelComponentCreator()
|
|
| Method Summary | |
java.awt.Component |
createComponent(org.w3c.dom.Element element,
XmlPanel panel)
Given an element representing a cell in an XMLPanel, this method should construct the appropriate Component for the type that this component is looking for, setting all of the properties necessary. The XmlPanel is given in case it is needed to determine properties of the component. |
java.lang.String[] |
getComponentTypes()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlPanel.XmlPanelComponentCreator()
| Method Detail |
public java.lang.String[] getComponentTypes()
getComponentTypes in interface ComponentCreatorComponentCreator.getComponentTypes()
public java.awt.Component createComponent(org.w3c.dom.Element element,
XmlPanel panel)
ComponentCreator
createComponent in interface ComponentCreatorelement - XML element to parse throughpanel - The XmlPanel that this component is being placed into - for
reference only!. This method should not mutate the panel
in any way. It is also possible that this parameter could be
null, so always check first.
java.awt.Componentandrewtest.componentcreator.ComponentCreator#createComponent(org.w3c.dom.Element,
andrewtest.XmlPanel)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||