public abstract class BasicAction
extends javax.swing.AbstractAction
Constructor and Description |
---|
BasicAction(java.lang.String name,
javax.swing.Icon icon,
java.lang.String shortdesc) |
BasicAction(java.lang.String name,
java.lang.String shortdesc) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getEventWindow(java.awt.event.ActionEvent evt)
Returns the window from which this action was invoked.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public BasicAction(java.lang.String name, java.lang.String shortdesc)
public BasicAction(java.lang.String name, javax.swing.Icon icon, java.lang.String shortdesc)
public java.awt.Component getEventWindow(java.awt.event.ActionEvent evt)
evt
- event to check the window forCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.