Imp
[using it]
Interface Manipulation Package v4.0 (2008-06-25) a-projector ©copyright Author


imp.gui
Class TextReplaceManager

java.lang.Object
  extended by imp.gui.TextReplaceManager

public class TextReplaceManager
extends Object

Encapsulates text search and replace.


Constructor Summary
TextReplaceManager(JTextPane pane)
          Constructs a text search/replace manager for the given pane.
 
Method Summary
static void close(JMenu menu)
          Closes a menu and its sub-menu.
 JPanel getReplaceItem(JMenu menu)
          Returns the replace button.
 JPanel getSearchItem(JMenu menu)
          Returns the search button.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextReplaceManager

public TextReplaceManager(JTextPane pane)
Constructs a text search/replace manager for the given pane.

Method Detail

close

public static void close(JMenu menu)
Closes a menu and its sub-menu.


getReplaceItem

public JPanel getReplaceItem(JMenu menu)
Returns the replace button.


getSearchItem

public JPanel getSearchItem(JMenu menu)
Returns the search button.