Trull

edu.luc.cs.trull.swing
Class ActionEventAdapter

java.lang.Object
  extended by edu.luc.cs.trull.EmptyComponent
      extended by edu.luc.cs.trull.TerminatingComponent
          extended by edu.luc.cs.trull.AbstractComponent
              extended by edu.luc.cs.trull.EmitComponent
                  extended by edu.luc.cs.trull.swing.ActionEventAdapter
All Implemented Interfaces:
Component, PropertyChangeSource, Startable, Suspendable, Terminating, java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.util.EventListener
Direct Known Subclasses:
ControlPanel, InputPanel

public class ActionEventAdapter
extends EmitComponent
implements java.beans.PropertyChangeListener, java.awt.event.ActionListener

A converter that listens to a Swing component and converts ActionEvents events to PropertyChangeEvents.


Constructor Summary
ActionEventAdapter()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Converts an ActionEvent to a PropertyChangeEvent fired to the listeners to this component.
 
Methods inherited from class edu.luc.cs.trull.EmitComponent
eventEmitter, eventEmitterCached, eventEmitterUncached, resume, scheduleEvent, scheduleEvent, scheduleEvent, start, stop, suspend
 
Methods inherited from class edu.luc.cs.trull.AbstractComponent
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getExternalListeners, getPropertyChangeListeners, removePropertyChangeListener
 
Methods inherited from class edu.luc.cs.trull.TerminatingComponent
fireTermination, getParent, getTermEvent, scheduleTermination, setTerminationListener
 
Methods inherited from class edu.luc.cs.trull.EmptyComponent
getTerminationListener, propertyChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Constructor Detail

ActionEventAdapter

public ActionEventAdapter()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Converts an ActionEvent to a PropertyChangeEvent fired to the listeners to this component.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - the incoming ActionEvent.

Trull

http://www.cs.luc.edu/trull/