jmri.jmrit.symbolicprog.tabbedframe
Class PaneSet

java.lang.Object
  extended by jmri.jmrit.symbolicprog.tabbedframe.PaneSet

public class PaneSet
extends Object

Interface for the container of a set of PaneProgPanes. The panes use services provided here to work with buttons and the busy cursor. TODO: Several methods are copied from PaneProgFrame and should be refactored No programmer support yet No glass pane support Need better support for visible/non-visible panes Special panes (Roster entry, attributes, graphics) not included

Author:
Bob Jacobsen Copyright (C) 2010
See Also:
DecoderPro3Window

Constructor Summary
PaneSet(PaneContainer container, RosterEntry re, Programmer programmer)
           
 
Method Summary
 List<PaneProgPane> getList()
           
protected  void loadDecoderFile(DecoderFile df, RosterEntry re)
           
protected  void loadDecoderFromLoco(RosterEntry r)
           
 void makePanes(Element root, RosterEntry r)
          Create a set of panes from a programmer definition and roster entry
 void newPane(String name, Element pane, Element modelElem)
          Create a single pane from a "pane" element in programmer or decoder definition
 void storeFile(RosterEntry re)
          Store current content to file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaneSet

public PaneSet(PaneContainer container,
               RosterEntry re,
               Programmer programmer)
Method Detail

loadDecoderFromLoco

protected void loadDecoderFromLoco(RosterEntry r)

loadDecoderFile

protected void loadDecoderFile(DecoderFile df,
                               RosterEntry re)

makePanes

public void makePanes(Element root,
                      RosterEntry r)
Create a set of panes from a programmer definition and roster entry

Parameters:
root - Root element of programmer XML definition
r - Locomotive to load from

newPane

public void newPane(String name,
                    Element pane,
                    Element modelElem)
Create a single pane from a "pane" element in programmer or decoder definition


getList

public List<PaneProgPane> getList()

storeFile

public void storeFile(RosterEntry re)
Store current content to file



Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads