freemind.modes.common.actions
Class FindAction
java.lang.Object
javax.swing.AbstractAction
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
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 |
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 |
FindAction
public FindAction(ControllerAdapter controller)
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()