|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.abstractics.xmlpanel.swing.componentcreator.ComponentCreatorUtils
This utility class contains static methods for handling common needs in configuring a Component with the XML that was provided.
Method Summary | |
static void |
applyPropertiesViaReflection(java.awt.Component component,
org.w3c.dom.Element element)
Sets all the properties on the provided component by interrogating the element for attributes, and then using reflection and the StringToObject converters to set the properties on the Component. If there is a textdata child element, and there is a setText method on the component, then that method will be called as well. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void applyPropertiesViaReflection(java.awt.Component component, org.w3c.dom.Element element)
com.abstractics.xmlpanel.utils.stringtoobject.StringToObject
,
com.abstractics.xmlpanel.swing.componentcreator.ComponentCreator#setComponentProperties(java.awt.Component,
org.w3c.dom.Element)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |