Method Summary |
|
public synchronized void | addChild(RuntimeConfigurable child) Adds a child element to the wrapped element. |
public synchronized void | addText(String data) Adds characters from #PCDATA areas to the wrapped element. |
public synchronized void | addText(char[] buf, int start, int count) Adds characters from #PCDATA areas to the wrapped element. |
public void | applyPreSet(RuntimeConfigurable r) Apply presets, attributes and text are set if not currently set. |
public synchronized Hashtable | getAttributeMap() Return the attribute map. |
public synchronized AttributeList | getAttributes() Returns the list of attributes for the wrapped element.
RuntimeConfigurable.getAttributeMap An AttributeList representing the attributes defined in theXML for this element. |
synchronized RuntimeConfigurable | getChild(int index) Returns the child wrapper at the specified position within the list.
Parameters: index - The index of the child to return. |
public synchronized Enumeration | getChildren() Returns an enumeration of all child wrappers. |
public synchronized String | getElementTag() Returns the tag name of the wrapped element.
The tag name of the wrapped element. |
public synchronized String | getId() Returns the id for this element. |
public synchronized String | getPolyType() Get the polymorphic type for this element. |
public synchronized Object | getProxy() Get the object for which this RuntimeConfigurable holds the configuration
information. |
public synchronized StringBuffer | getText() Get the text content of this element. |
public void | maybeConfigure(Project p) Configures the wrapped element and all its children.
The attributes and text for the wrapped element are configured,
and then each child is configured and added. |
public synchronized void | maybeConfigure(Project p, boolean configureChildren) Configures the wrapped element. |
public void | reconfigure(Project p) Reconfigure the element, even if it has already been configured. |
public synchronized void | removeAttribute(String name) Delete an attribute. |
public synchronized void | setAttribute(String name, String value) Set an attribute to a given value. |
public synchronized void | setAttributes(AttributeList attributes) Sets the attributes for the wrapped element.
Parameters: attributes - List of attributes defined in the XML for thiselement. |
synchronized void | setCreator(IntrospectionHelper.Creator creator) Sets the creator of the element to be configured
used to store the element in the parent. |
public synchronized void | setElementTag(String elementTag) Set the element tag. |
public synchronized void | setPolyType(String polyType) Set the polymorphic type for this element. |
public synchronized void | setProxy(Object proxy) Sets the element to configure.
Parameters: proxy - The element to configure. |