Class PaneServiceProgFrame

  • All Implemented Interfaces:
    java.awt.event.ComponentListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener,, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, BeanInterface, PaneContainer, ModifiedFlag, WindowInterface

    public class PaneServiceProgFrame
    extends PaneProgFrame
    Extend the PaneProgFrame to handle service (Global) mode operations.

    If no programmer is provided, the programmer parts of the GUI are suppressed.

    See Also:
    Serialized Form
    • Constructor Detail

      • PaneServiceProgFrame

        public PaneServiceProgFrame​(DecoderFile decoderFile,
                                    RosterEntry r,
                                    java.lang.String name,
                                    java.lang.String file,
                                    Programmer pProg)
        This invokes the parent ctor to do the real work.

        That will call back to get the programming mode panel (provided) and to hear if there is read mode (depends).

        Then, this sets the programming mode for the service programmer based on what's in the decoder file.

        decoderFile - XML file defining the decoder contents.
        r - RosterEntry for information on this locomotive.
        name - frame title.
        file - programmer file.
        pProg - service programmer.
    • Method Detail

      • getModePane

        protected javax.swing.JPanel getModePane()
        Provide the programming mode selection pane for inclusion
        Specified by:
        getModePane in class PaneProgFrame
        new mode panel for inclusion in the GUI