Class GoToMemberWindow

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

public class GoToMemberWindow extends JWindow
A popup window that displays a text field and tree, allowing the user to jump to a specific part of code in the current source file.
Version:
1.0
See Also:
  • Field Details

  • Constructor Details

    • GoToMemberWindow

      public GoToMemberWindow(Window parent, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea, AbstractSourceTree tree)
      Constructor.
      Parameters:
      parent - The parent window (hosting the text component).
      textArea - The text area.
      tree - The source tree appropriate for the current language.
  • Method Details

    • createTextField

      private JTextField createTextField()
      Creates the text field allowing the user to enter filter text.
      Returns:
      The text field.
    • dispose

      public void dispose()
      Overrides:
      dispose in class Window
    • tweakTreeBorder

      private void tweakTreeBorder(AbstractSourceTree tree)
      Ensures the tree has a very small empty border at the top, to make things look a little nicer.
      Parameters:
      tree - The tree whose border should be examined.