API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. TextAction View Source
Author(s)
Timothy Prinzing
Since
Version
1.30 11/17/05
Serial
Hierarchy
 Object
      AbstractAction
          TextAction
Implements
Subclasses
Description
publicabstract abstract class TextAction
  An Action implementation useful for key bindings that are shared across a number of different text components.
See also:   
Constructors
public TextAction (String name)
  Creates a new JTextAction object.
Methods
Hide/Show inherited methods
publicsynchronized void addPropertyChangeListener (PropertyChangeListener listener) [Inherited From AbstractAction]
  Adds a PropertyChangeListener to the listener list.
publicfinalstatic Action augmentList (Action list1, Action list2)
  Takes one list of commands and augments it with another list of commands.
protected Object clone () throws CloneNotSupportedException [Inherited From AbstractAction]
  Clones the abstract action.
protected void firePropertyChange (String propertyName, Object oldValue, Object newValue) [Inherited From AbstractAction]
  Supports reporting bound property changes.
protectedfinal JTextComponent getFocusedComponent ()
  Fetches the text component that currently has focus.
public Object getKeys () [Inherited From AbstractAction]
  Returns an array of Objects which are keys for which values have been set for this AbstractAction, or null if no keys have values set.
publicsynchronized PropertyChangeListener getPropertyChangeListeners () [Inherited From AbstractAction]
  Returns an array of all the PropertyChangeListeners added to this AbstractAction with addPropertyChangeListener().
protectedfinal JTextComponent getTextComponent (ActionEvent e)
  Determines the component to use for the action.
public Object getValue (String key) [Inherited From AbstractAction]
  Gets the Object associated with the specified key.
public boolean isEnabled () [Inherited From AbstractAction]
  Returns true if the action is enabled.
public void putValue (String key, Object newValue) [Inherited From AbstractAction]
  Sets the Value associated with the specified key.
publicsynchronized void removePropertyChangeListener (PropertyChangeListener listener) [Inherited From AbstractAction]
  Removes a PropertyChangeListener from the listener list.
public void setEnabled (boolean newValue) [Inherited From AbstractAction]
  Enables or disables the action.
Fields
Hide/Show inherited fields
protected SwingPropertyChangeSupport changeSupport [Inherited From AbstractAction]
If any PropertyChangeListeners have been registered, the changeSupport field describes them.
protected boolean enabled [Inherited From AbstractAction]
Specifies whether action is enabled; the default is true.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar