uchicago.src.reflector
Class ActionDescriptor

java.lang.Object
  extended by 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)
           
 
Method Summary
abstract  javax.swing.JComponent getComponent()
           
 java.lang.String getLabel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected java.lang.String label

listener

protected java.awt.event.ActionListener listener
Constructor Detail

ActionDescriptor

public ActionDescriptor(java.lang.String label,
                        java.awt.event.ActionListener listener)
Method Detail

getLabel

public java.lang.String getLabel()

getComponent

public abstract javax.swing.JComponent getComponent()