|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractAction | +--sos.reports.ReportAction
A common superclass of report actions that allows actions to be shared
across report panes and provides a mechanism to fetch the pertinent
report pane. This class is analogous to javax.swing.text.TextAction
.
Field Summary |
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 | |
ReportAction(java.lang.String name)
Creates an instance of ReportAction with the specified name. |
Method Summary | |
protected JReportPane |
getFocusedComponent()
Returns the report pane currently with focus. |
protected JReportPane |
getReportPane(java.awt.event.ActionEvent event)
Returns the report pane associated with the specified event, or, if none, the last report pane with the focus. |
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 |
Constructor Detail |
public ReportAction(java.lang.String name)
name
- name of this actionMethod Detail |
protected final JReportPane getReportPane(java.awt.event.ActionEvent event)
event
- event (may be null
) for which to extract the report pane
getFocusedComponent
protected final JReportPane getFocusedComponent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |