eTextReader.actions
Class CurrentUserPageAction
java.lang.Object
javax.swing.AbstractAction
eTextReader.actions.BaseAction
eTextReader.actions.NotationListingAction
eTextReader.actions.CurrentUserAnnotationAction
eTextReader.actions.CurrentUserPageAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class CurrentUserPageAction
- extends CurrentUserAnnotationAction
This class provies a NotationListingAction that shows all annotations authored by the current user
for the current page only. The only difference
- 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 |
Method Summary |
protected java.lang.String |
getName()
Overrides the default getName() method to return an appropriate message |
protected java.lang.String |
getTooltipText()
Returns the tooltip text associated with this action |
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 |
CurrentUserPageAction
protected CurrentUserPageAction(ContentContainer contentContainer)
- Parameters:
contentContainer
-
CurrentUserPageAction
protected CurrentUserPageAction(ContentContainer contentContainer,
java.lang.String fileName)
- Constructs a CurrentUserPageAction object associated with the specified container
and with the given icon. Adds a NotationEventListener to the container to be notified
of page change events.
- Parameters:
contentContainer
- the ContentContainer that provides the current page informationfileName
-
getName
protected java.lang.String getName()
- Overrides the default getName() method to return an appropriate message
- Overrides:
getName
in class CurrentUserAnnotationAction
- Returns:
- the String used to represent this action
getTooltipText
protected java.lang.String getTooltipText()
- Description copied from class:
NotationListingAction
- Returns the tooltip text associated with this action
- Overrides:
getTooltipText
in class CurrentUserAnnotationAction
- Returns:
- the String used as the tooltip text