Class SimulatorPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, CanPanelInterface

public class SimulatorPane extends CanPanel
Pane for viewing and setting simulated network objects.
Since:
4.15.2
See Also:
  • Constructor Details

  • Method Details

    • initComponents

      2nd stage of initialization, invoked after the Constructor is complete.

      This needs to be connected to the initContext() method in implementing classes.

      Specified by:
      initComponents in interface CanPanelInterface
      Overrides:
      initComponents in class CanPanel
      Parameters:
      memo - system connection.
    • getTitle

      public String getTitle()
      Provide a recommended title for an enclosing frame.
      Overrides:
      getTitle in class JmriPanel
      Returns:
      the title; a null value will be treated as "" by the enclosing frame
    • getMenus

      public List<JMenu> getMenus()
      Creates a Menu List
      Overrides:
      getMenus in class JmriPanel
      Returns:
      a list of menu items to add or an empty list
    • getHelpTarget

      Provide a help target string which an enclosing frame can provide as a help reference.

      This automatically provides a reference to the usual place for JMRI window-specific help pages that are named for the implementing class, but note this is a Pane class, not a Frame class.

      Overrides:
      getHelpTarget in class JmriPanel
      Returns:
      the target String
    • dispose

      public void dispose()
      Overrides:
      dispose in class JmriPanel