EASE.Sensing.Specification
Class Specification.ActionCoupler

java.lang.Object
  |
  +--EASE.Sensing.Specification.Specification.ActionCoupler

class Specification.ActionCoupler
extends java.lang.Object
implements java.awt.event.ActionListener, javax.swing.event.ListSelectionListener

Takes either an ActionEvent or a list selection event and sends it to an action.


Field Summary
private  javax.swing.AbstractAction action
           
 
Constructor Summary
Specification.ActionCoupler(javax.swing.AbstractAction action)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

action

private javax.swing.AbstractAction action
Constructor Detail

Specification.ActionCoupler

public Specification.ActionCoupler(javax.swing.AbstractAction action)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener