Class MemoryInputIconXml

All Implemented Interfaces:
XmlAdapter

Handle configuration for display.MemorySpinnerIcon objects.
  • Constructor Details

  • Method Details

    • store

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

      public void load(org.jdom2.Element element, Object o) throws JmriConfigureXmlException
      Load, starting with the memoryInputIcon 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