/** * Create a PositionableLabel, then add to a target JLayeredPane * * @param element Top level Element to unpack. * @param o LayoutEditor as an Object */ public void load(Element element, Object o) { SignalHeadIconXml tmp = new SignalHeadIconXml(); tmp.load(element, o); // create the objects }
/** * Default implementation for storing the contents of a LayoutSignalHeadIcon * * @param o Object to store, of type LayoutSignalHeadIcon * @return Element containing the complete info */ public Element store(Object o) { SignalHeadIconXml tmp = new SignalHeadIconXml(); return tmp.store(o); }