freemind.modes.actions
Class FindAction

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

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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
FindAction(ModeController 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.lang.String what, boolean caseSensitive)
           
 boolean findNext()
           
 java.lang.String getFindFromText()
           
 java.lang.String getFindWhat()
           
 
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(ModeController controller)
Method Detail

getFindWhat

public java.lang.String getFindWhat()
Returns:
Returns the findWhat.

getFindFromText

public java.lang.String getFindFromText()

actionPerformed

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

find

public boolean find(MindMapNode node,
                    java.lang.String what,
                    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()