|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.configurexml.AbstractXmlAdapter
jmri.jmrit.display.panelEditor.configurexml.PanelEditorXml
public class PanelEditorXml
Handle configuration for PanelEditor panes.
| Constructor Summary | |
|---|---|
PanelEditorXml()
|
|
| Method Summary | |
|---|---|
boolean |
load(Element element)
Create a PanelEditor object, then register and fill it, then pop it in a JFrame |
void |
load(Element element,
Object o)
Create a set of configured objects from their XML description, using an auxiliary object. |
int |
loadOrder()
Used for determining which order to load items from XML files in. |
Element |
store(Object o)
Default implementation for storing the contents of a PanelEditor |
| Methods inherited from class jmri.configurexml.AbstractXmlAdapter |
|---|
creationErrorEncountered, getConfigXmlManager, loadDeferred, setConfigXmlManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PanelEditorXml()
| Method Detail |
|---|
public Element store(Object o)
o - Object to store, of type PanelEditor
public void load(Element element,
Object o)
XmlAdapterFor example, the auxilary object o might be a manager or GUI of some type that needs to be informed as each object is created.
element - Top-level XML element containing the descriptiono - Implementation-specific Object needed for the conversionpublic boolean load(Element element)
element - Top level Element to unpack.
public int loadOrder()
AbstractXmlAdapter
loadOrder in interface XmlAdapterloadOrder in class AbstractXmlAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||