com.japisoft.xmlpad.action
Class SearchAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.japisoft.xmlpad.action.XMLAction
              |
              +--com.japisoft.xmlpad.action.SearchAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable, javax.swing.event.TreeSelectionListener

public class SearchAction
extends XMLAction
implements javax.swing.event.TreeSelectionListener

Action for searching a node by its tree

Version:
1.0
Author:
(c) 2002 JAPISoft
See Also:
XMLAction, Serialized Form

Nested Class Summary
 class SearchAction.CustomDefaultMutableTreeNode
          Custom Swing node
 
Field Summary
 
Fields inherited from class com.japisoft.xmlpad.action.XMLAction
IMAGE_SIZE
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SearchAction()
           
 
Method Summary
 boolean notifyAction()
          Notify action must be done.
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           
 
Methods inherited from class com.japisoft.xmlpad.action.XMLAction
actionPerformed, getName, hasFeature, isPopable, setActionIcon, setFeature, setPopable, setXMLContainer, setXMLEditor
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchAction

public SearchAction()
Method Detail

notifyAction

public boolean notifyAction()
Description copied from class: XMLAction
Notify action must be done. It return false if the action is not accessible

Specified by:
notifyAction in class XMLAction
Returns:
true if the action is possible

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener