Class TreeViewer

All Implemented Interfaces:
ComponentListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, BeanInterface, ModifiedFlag, WindowInterface
Direct Known Subclasses:
TreeEditor

public class TreeViewer extends JmriJFrame
Show the action/expression tree.

Base class for ConditionalNG editors

See Also:
  • Field Details

  • Constructor Details

    • TreeViewer

      public TreeViewer(FemaleSocket femaleRootSocket)
      Construct a ConditionalEditor.
      Parameters:
      femaleRootSocket - the root of the tree
  • Method Details

    • initComponents

      public void initComponents()
      Description copied from class: JmriJFrame
      By default, Swing components should be created an installed in this method, rather than in the ctor itself.
      Overrides:
      initComponents in class JmriJFrame
    • initMinimumSize

      public void initMinimumSize(Dimension dimension)
    • getRootVisible

      public boolean getRootVisible()
    • setRootVisible

      public void setRootVisible(boolean rootVisible)
    • dispose

      public void dispose()
      Description copied from class: JmriJFrame
      When window is finally destroyed, remove it from the list of windows.

      Subclasses that over-ride this method must invoke this implementation with super.dispose() right before returning.

      Specified by:
      dispose in interface WindowInterface
      Overrides:
      dispose in class JmriJFrame