Class ControlPanelEditorXml

    • Method Detail

      • store

        public org.jdom2.Element store​(java.lang.Object o)
        Default implementation for storing the contents of a ControlPanelEditor.
        Parameters:
        o - Object to store, of type ControlPanelEditor
        Returns:
        Element containing the complete info
      • storeIcon

        public org.jdom2.Element storeIcon​(java.lang.String elemName,
                                           NamedIcon icon)
      • load

        public boolean load​(org.jdom2.Element shared,
                            org.jdom2.Element perNode)
        Create a ControlPanelEditor object, then register and fill it, then pop it in a JFrame
        Specified by:
        load in interface XmlAdapter
        Overrides:
        load in class AbstractXmlAdapter
        Parameters:
        shared - Top level Element to unpack.
        perNode - Top-level XML element containing the private, single-node elements of the description
        Returns:
        true if successful