freemind.modes.common.actions
Class FindAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by freemind.modes.common.actions.FindAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class FindAction
extends javax.swing.AbstractAction

See Also:
Serialized Form

Nested Class Summary
static class FindAction.FindNextAction
           
 
Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
FindAction(ControllerAdapter controller)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void displayNode(MindMapNode node, java.util.ArrayList nodesUnfoldedByDisplay)
          Display a node in the display (used by find and the goto action by arrow link actions).
 boolean find(MindMapNode node, java.util.Collection subterms, boolean caseSensitive)
           
 boolean findNext()
           
 java.lang.String getFindFromText()
           
 java.lang.String getSearchTerm()
           
 java.util.Collection getSubterms()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindAction

public FindAction(ControllerAdapter controller)
Method Detail

getSubterms

public java.util.Collection getSubterms()
Returns:
Returns the subterms.

getSearchTerm

public java.lang.String getSearchTerm()

getFindFromText

public java.lang.String getFindFromText()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

find

public boolean find(MindMapNode node,
                    java.util.Collection subterms,
                    boolean caseSensitive)

displayNode

public void displayNode(MindMapNode node,
                        java.util.ArrayList nodesUnfoldedByDisplay)
Display a node in the display (used by find and the goto action by arrow link actions).


findNext

public boolean findNext()