yu.ac.bg.etf.javaqx.qswingx.actions
Class TextComponentSelectAllAction

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.AbstractAction
      extended byyu.ac.bg.etf.javaqx.qswingx.actions.SelectAllAction
          extended byyu.ac.bg.etf.javaqx.qswingx.actions.TextComponentSelectAllAction
All Implemented Interfaces:
AbstractActionProperties, Action, ActionListener, java.lang.Cloneable, EditListener, java.util.EventListener

public class TextComponentSelectAllAction
extends SelectAllAction
implements EditListener

Text Component Select All Action.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Field Summary
protected  JQTextComponent textComponent
           
 
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.AbstractAction
changeSupport, enabled, selected
 
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.Action
ACCELERATOR_KEY, ACCELERATOR_KEY_NAME, ACTION_COMMAND_KEY, DEFAULT, HELP_DESCRIPTION, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON, SMALL_ICON_NAME
 
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.AbstractActionProperties
PROPERTY_ENABLED, PROPERTY_SELECTED
 
Constructor Summary
TextComponentSelectAllAction(JQTextComponent textComponent)
          Constructs new TextComponentSelectAllAction object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Notifies listener that action has occurred.
 void clearAvailable(boolean available)
          Notifies listener that an clear operation is available.
 void copyAvailable(boolean available)
          Notifies listener that an copy operation is available.
 void cutAvailable(boolean available)
          Notifies listener that an cut operation is available.
 void pasteAvailable(boolean available)
          Notifies listener that an paste operation is available.
 void selectAllAvailable(boolean available)
          Notifies listener that an select all operation is available.
 void unregisterListener()
          Unregisters listener.
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, getAcceleratorKey, getAcceleratorKeyName, getAcceleratorKeyName, getActionCommandKey, getHelpDescription, getHelpDescription, getKeyIterator, getKeys, getLongDescription, getLongDescription, getMnemonicKey, getName, getName, getPropertyChangeListeners, getShortDescription, getShortDescription, getSmallIcon, getSmallIconName, getSmallIconName, getStringValue, getStringValue, getValue, isEnabled, isSelected, putValue, removePropertyChangeListener, setAcceleratorKey, setAcceleratorKey, setActionCommandKey, setEnabled, setHelpDescription, setLongDescription, setMnemonicKey, setName, setProperties, setProperties, setProperties, setProperties, setSelected, setShortDescription, setSmallIcon, setSmallIconName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textComponent

protected final JQTextComponent textComponent
Constructor Detail

TextComponentSelectAllAction

public TextComponentSelectAllAction(JQTextComponent textComponent)
Constructs new TextComponentSelectAllAction object.

Parameters:
textComponent - the text component
Method Detail

unregisterListener

public void unregisterListener()
Unregisters listener.


actionPerformed

public void actionPerformed(ActionEvent e)
Notifies listener that action has occurred.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - the action event

cutAvailable

public void cutAvailable(boolean available)
Notifies listener that an cut operation is available.

Specified by:
cutAvailable in interface EditListener
Parameters:
available - true if available

copyAvailable

public void copyAvailable(boolean available)
Notifies listener that an copy operation is available.

Specified by:
copyAvailable in interface EditListener
Parameters:
available - true if available

pasteAvailable

public void pasteAvailable(boolean available)
Notifies listener that an paste operation is available.

Specified by:
pasteAvailable in interface EditListener
Parameters:
available - true if available

clearAvailable

public void clearAvailable(boolean available)
Notifies listener that an clear operation is available.

Specified by:
clearAvailable in interface EditListener
Parameters:
available - true if available

selectAllAvailable

public void selectAllAvailable(boolean available)
Notifies listener that an select all operation is available.

Specified by:
selectAllAvailable in interface EditListener
Parameters:
available - true if available


Copyright © 2007 ETF and contributors. All Rights Reserved.