uchicago.src.reflector
Class ActionDescriptor
java.lang.Object
uchicago.src.reflector.ActionDescriptor
- Direct Known Subclasses:
- ButtonActionDescriptor
public abstract class ActionDescriptor
- extends java.lang.Object
Describes an Action. This action is constituted by a label, a
java.awt.event.ActionListener that is executed when the action is
performed, and a GUI representation of the Action (a button etc.)
- Version:
- $Revision: 1.3 $ $Date: 2004/11/03 19:51:05 $
|
Field Summary |
protected java.lang.String |
label
|
protected java.awt.event.ActionListener |
listener
|
|
Constructor Summary |
ActionDescriptor(java.lang.String label,
java.awt.event.ActionListener listener)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
protected java.lang.String label
listener
protected java.awt.event.ActionListener listener
ActionDescriptor
public ActionDescriptor(java.lang.String label,
java.awt.event.ActionListener listener)
getLabel
public java.lang.String getLabel()
getComponent
public abstract javax.swing.JComponent getComponent()