eTextReader.actions
Class CurrentUserAnnotationAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by eTextReader.actions.BaseAction
          extended by eTextReader.actions.NotationListingAction
              extended by eTextReader.actions.CurrentUserAnnotationAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
CurrentUserPageAction

public class CurrentUserAnnotationAction
extends NotationListingAction

A NotationListingAction that displays those annotations authored by the current user. Annotations on all pages are included.

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
CurrentUserAnnotationAction(ContentContainer browser)
           
CurrentUserAnnotationAction(ContentContainer browser, java.lang.String fileName)
          Constructs a CurrentUserAnnotationAction, setting the user to the currently logged in user, and adding a property change listener to the USER property so that it is always kep up to date
 
Method Summary
protected  java.lang.String getName()
          Returns the name associated with this action, displayed in menus, buttons, etc.
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

CurrentUserAnnotationAction

public CurrentUserAnnotationAction(ContentContainer browser)
Parameters:
browser -

CurrentUserAnnotationAction

public CurrentUserAnnotationAction(ContentContainer browser,
                                   java.lang.String fileName)
Constructs a CurrentUserAnnotationAction, setting the user to the currently logged in user, and adding a property change listener to the USER property so that it is always kep up to date

Parameters:
browser -
fileName -
Method Detail

getName

protected java.lang.String getName()
Description copied from class: NotationListingAction
Returns the name associated with this action, displayed in menus, buttons, etc.

Specified by:
getName in class NotationListingAction
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

Specified by:
getTooltipText in class NotationListingAction
Returns:
the String used as the tooltip text