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

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

public class TextComponentRedoAction
extends RedoAction
implements UndoRedoListener

Text Component Redo 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
TextComponentRedoAction(JQTextComponent textComponent)
          Constructs new TextComponentRedoAction object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Notifies listener that action has occurred.
 void redoAvailable(boolean available)
          Notifies listener that an redo operation is available.
 void undoAvailable(boolean available)
          Notifies listener that an undo 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

TextComponentRedoAction

public TextComponentRedoAction(JQTextComponent textComponent)
Constructs new TextComponentRedoAction 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

undoAvailable

public void undoAvailable(boolean available)
Notifies listener that an undo operation is available.

Specified by:
undoAvailable in interface UndoRedoListener
Parameters:
available - true if available

redoAvailable

public void redoAvailable(boolean available)
Notifies listener that an redo operation is available.

Specified by:
redoAvailable in interface UndoRedoListener
Parameters:
available - true if available


Copyright © 2007 ETF and contributors. All Rights Reserved.