Class GlobalVariableInputIconXml

    • Method Detail

      • store

        public org.jdom2.Element store​(java.lang.Object o)
        Default implementation for storing the contents of a GlobalVariableSpinnerIcon
        Specified by:
        store in interface XmlAdapter
        Overrides:
        store in class PositionableLabelXml
        Parameters:
        o - Object to store, of type GlobalVariableSpinnerIcon
        Returns:
        Element containing the complete info
      • load

        public void load​(org.jdom2.Element element,
                         java.lang.Object o)
                  throws JmriConfigureXmlException
        Load, starting with the globalVariableInputIcon element, then all the value-icon pairs
        Specified by:
        load in interface XmlAdapter
        Overrides:
        load in class PositionableLabelXml
        Parameters:
        element - Top level Element to unpack.
        o - an Editor as an Object
        Throws:
        JmriConfigureXmlException - when a error prevents creating the objects as as required by the input XML