eTextReader.actions
Class CurrentUserPageAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by eTextReader.actions.BaseAction
          extended by eTextReader.actions.NotationListingAction
              extended by eTextReader.actions.CurrentUserAnnotationAction
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class eTextReader.actions.BaseAction
BaseAction.Key
 
Field Summary
 
Fields inherited from class eTextReader.actions.NotationListingAction
container, filter, provider
 
Fields inherited from class eTextReader.actions.BaseAction
instances
 
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
 
Constructor Summary
protected CurrentUserPageAction(ContentContainer contentContainer)
           
protected CurrentUserPageAction(ContentContainer contentContainer, java.lang.String fileName)
          Constructs a CurrentUserPageAction object associated with the specified container and with the given 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 eTextReader.actions.NotationListingAction
actionPerformed, configureFilter, configureProvider, getNotationFilter, getNotationProvider
 
Methods inherited from class eTextReader.actions.BaseAction
getAcceleratorKeyStrokeFromPreferences, getInstance, propertyChange
 
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
 

Constructor Detail

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 information
fileName -
Method Detail

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