|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
gov.lbl.genome.gui.action.VAbstractAction
public abstract class VAbstractAction
Title: VAbstractAction
Description: Extension of the AbstractAction Class
Copyright: Copyright (c) 2002 Ernest Orlando Lawrence Berkeley National Laboratory
Company: LBNL
Field Summary | |
---|---|
protected VAbstractAction |
action
|
protected javax.swing.ImageIcon |
actionIcon
|
protected java.lang.Thread |
actionThread
|
protected long |
numberOfActions
|
protected Parameter |
param
|
VistaApp |
va
|
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 | |
---|---|
VAbstractAction(VistaApp vapp)
VAbstractAction |
|
VAbstractAction(VistaApp vapp,
java.lang.String name)
VAbstractAction |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Usually you do not touch this method and use overriden run() But if you want to execute your action in the same thread, then override it. |
abstract void |
run()
Override run method if you want to execute action in a separate thread. |
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 |
Field Detail |
---|
protected javax.swing.ImageIcon actionIcon
protected Parameter param
protected VAbstractAction action
public VistaApp va
protected java.lang.Thread actionThread
protected volatile long numberOfActions
Constructor Detail |
---|
public VAbstractAction(VistaApp vapp)
vapp
- VistaApppublic VAbstractAction(VistaApp vapp, java.lang.String name)
vapp
- VistaAppname
- StringMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
super.actionPerformed(e)
as a first method.
actionPerformed
in interface java.awt.event.ActionListener
e
- ActionEventrun()
public abstract void run()
run
in interface java.lang.Runnable
actionPerformed(ActionEvent)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |