|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
eTextReader.actions.BaseAction
eTextReader.actions.BrowserAction
public abstract class BrowserAction
BrowserAction is a subclass of BaseAction that requires the runtime type of its parameter to be a Browser. The only change it makes to BaseAction is a check that the ContentContainer it is passed is a Browser.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class eTextReader.actions.BaseAction |
---|
BaseAction.Key |
Field Summary | |
---|---|
Browser |
browser
|
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 | |
---|---|
BrowserAction(ContentContainer container,
java.lang.String fileName)
Constructs a BrowserAction contained by container and having the icon fileName |
Method Summary |
---|
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 |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Field Detail |
---|
public Browser browser
Constructor Detail |
---|
public BrowserAction(ContentContainer container, java.lang.String fileName)
container
- the Browser associated with this actionfileName
- the path to an icon for the action
java.lang.IllegalArgumentException
- if container is not an instance
of the Browser class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |