eTextReader.actions
Class CurrentAuthorListingAction
java.lang.Object
javax.swing.AbstractAction
eTextReader.actions.BaseAction
eTextReader.actions.CurrentAnnotationAction
eTextReader.actions.CurrentAnnotationListingAction
eTextReader.actions.CurrentAuthorListingAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class CurrentAuthorListingAction
- extends CurrentAnnotationListingAction
CurrentAuthorListingAction tracks the current annotation and shows a
- Author:
- mcfall
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
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 |
authorAction
private AuthorListingAction authorAction
- The NotationListingAction that should be invoked when this action is invoked
CurrentAuthorListingAction
protected CurrentAuthorListingAction(ContentContainer contentPane)
- Parameters:
contentPane
-
CurrentAuthorListingAction
protected CurrentAuthorListingAction(ContentContainer contentPane,
java.lang.String filename)
- Parameters:
contentPane
- filename
-
getNotationListingAction
protected NotationListingAction getNotationListingAction()
- Specified by:
getNotationListingAction
in class CurrentAnnotationListingAction
notationEntered
protected void notationEntered(NotationEvent ne)
- Description copied from class:
CurrentAnnotationAction
- Called when a notation is entered. Sub-classes can override this method
to perform custom handling whenever the current annotation is changed.
This default implementation does nothing. This method should not
be used to change the displayed text/tooltip text of the action, since it is called
BEFORE configureActionOnEnter. Use that method to change the display
properties of the action.
- Overrides:
notationEntered
in class CurrentAnnotationAction
- Parameters:
ne
- the NotationEvent representing the entering of the notation- See Also:
CurrentAnnotationAction.configureActionOnEnter()