com.japisoft.xmlpad.tree.action
Class SelectNode

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bycom.japisoft.xmlpad.action.XMLAction
          extended bycom.japisoft.xmlpad.tree.action.AbstractTreeAction
              extended bycom.japisoft.xmlpad.tree.action.SelectNode
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, Features, Properties, java.io.Serializable, TreeAction

public class SelectNode
extends AbstractTreeAction

Select the current node

Author:
(c) 2003 JAPISOFT / A.Brillant
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.japisoft.xmlpad.action.XMLAction
XMLAction.EmptyIcon
 
Field Summary
static java.lang.String ID
           
 
Fields inherited from class com.japisoft.xmlpad.tree.action.AbstractTreeAction
treePopable, treeToolBar
 
Fields inherited from class com.japisoft.xmlpad.action.XMLAction
AUTO_UI, container, editor, groupName, IMAGE_EXT, IMAGE_SIZE, INVALID_ACTION, param, RESOURCE_BUNDLE, VALID_ACTION
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface com.japisoft.xmlpad.action.Features
VALIDATING_FEATURE
 
Fields inherited from interface com.japisoft.xmlpad.action.Properties
FILE_ENCODING, INDENT_CHAR_PROPERTY, INDENT_SIZE_PROPERTY
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SelectNode()
           
 
Method Summary
protected  void actionForSelection(javax.swing.tree.TreePath tp)
           
protected  java.lang.String getDefaultLabel()
           
 
Methods inherited from class com.japisoft.xmlpad.tree.action.AbstractTreeAction
isTreePopable, isTreeToolBarable, notifyAction, setTreePopable, setTreeToolBarable, setXMLContainer
 
Methods inherited from class com.japisoft.xmlpad.action.XMLAction
actionPerformed, autoRequestFocus, dispose, getDefaultAccelerator, getDefaultIcon, getDefaultMnemonic, getDefaultTooltip, getLabel, getName, getParam, getPopupGroup, getProperty, getXMLContainer, getXMLEditor, hasFeature, installUIContent, isPopable, isToolbarable, notifyXMLContainer, notifyXMLEditor, setActionDelegate, setActionReferenceGroup, setActionReferenceIcon, setFeature, setParam, setPopable, setProperty, setToolbarable, setXMLEditor
 
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
 

Field Detail

ID

public static final java.lang.String ID
Constructor Detail

SelectNode

public SelectNode()
Method Detail

actionForSelection

protected void actionForSelection(javax.swing.tree.TreePath tp)
Overrides:
actionForSelection in class AbstractTreeAction

getDefaultLabel

protected java.lang.String getDefaultLabel()
Overrides:
getDefaultLabel in class XMLAction
Returns:
the default action text. It uses the current name and remove if it exists the "Action" part. It is only used if no DefaultAction is available.


Copyright © 2006 JAPISoft. All Rights Reserved.