Class LoaderPane.Default

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
    Direct Known Subclasses:
    LoaderAction
    Enclosing class:
    LoaderPane

    public static class LoaderPane.Default
    extends CanNamedPaneAction
    Nested class to create one of these using old-style defaults
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) NodeID nodeID  
      • Fields inherited from class javax.swing.AbstractAction

        changeSupport, enabled
      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Constructor Summary

      Constructors 
      Constructor Description
      Default()  
      Default​(NodeID nodeID)
      Constructor that explicits sets the node to be upgraded
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JmriPanel makePanel()
      Makes Panel and calls initComponents Makes Panel and calls initComponents Invoked as part of the action being invoked, e.g. when button pressed or menu item selected, this runs the panel through the initial part of its life cycle and installs in the given window interface.
      • Methods inherited from class javax.swing.AbstractAction

        addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
    • Constructor Detail

      • Default

        public Default​(NodeID nodeID)
        Constructor that explicits sets the node to be upgraded
    • Method Detail

      • makePanel

        public JmriPanel makePanel()
        Description copied from class: CanNamedPaneAction
        Makes Panel and calls initComponents Invoked as part of the action being invoked, e.g. when button pressed or menu item selected, this runs the panel through the initial part of its life cycle and installs in the given window interface.

        If different or additional initialization is needed, inherit from this class and override this method to do it.

        Overrides:
        makePanel in class CanNamedPaneAction