Class MethodWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class MethodWindow extends AuxWindow
A panel displaying the static public methods of a set of classes. This is currently arranged as a tree. If javadocs are available (under names as described by the DocNames class) these are displayed alongside.

Currently, the items in the tree can be an instance of one of the following classes:

Author:
Mark Taylor (Starlink)
See Also:
  • Constructor Details

    • MethodWindow

      public MethodWindow(Component parent)
      Construct a new method browser.
      Parameters:
      parent - a parent component which may be used for positioning purposes
  • Method Details

    • getWindowAction

      public static Action getWindowAction(Component parent, boolean activation)
      Returns an action which corresponds to displaying a MethodWindow.
      Parameters:
      parent - a component which may be used as a parent for positioning purposes
      activation - true iff you want to see the activation actions as well as the normal functions
    • getBrowser

      public uk.ac.starlink.ttools.gui.MethodBrowser getBrowser()
      Returns the MethodBrowser used by this window.
      Returns:
      method browser