|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--VASSAL.build.module.ExtensionElement
An element of a ModuleExtension that extends an
individual Buildable component of the GameModule
| Field Summary | |
static java.lang.String |
TARGET
An identifier for the component to be extended |
| Constructor Summary | |
ExtensionElement()
|
|
ExtensionElement(Buildable extension,
Configurable[] targetPath)
|
|
| Method Summary | |
void |
add(Buildable child)
Adds a child component. |
void |
addTo(Buildable parent)
Adds this component to its parent. |
void |
build(org.w3c.dom.Element e)
Build the object |
org.w3c.dom.Element |
getBuildElement(org.w3c.dom.Document doc)
|
Buildable |
getExtension()
|
Configurable[] |
getTargetPath()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TARGET
| Constructor Detail |
public ExtensionElement()
public ExtensionElement(Buildable extension,
Configurable[] targetPath)
| Method Detail |
public void add(Buildable child)
BuildableBuildable.addTo(VASSAL.build.Buildable) are
invoked when adding a child to a parent
add in interface Buildablepublic void build(org.w3c.dom.Element e)
Buildable
build in interface Buildablee - the XML element containing the object datapublic Buildable getExtension()
public Configurable[] getTargetPath()
public org.w3c.dom.Element getBuildElement(org.w3c.dom.Document doc)
getBuildElement in interface Buildablepublic void addTo(Buildable parent)
Buildable
addTo in interface Buildable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||