esmska.data.event
Class ActionEventSupport

java.lang.Object
  extended by esmska.data.event.ActionEventSupport

public class ActionEventSupport
extends java.lang.Object

Support for firing ActionEvents in classes.


Field Summary
static int ACTION_NEED_RESIZE
          A container wants to be resized, possibly by frame.pack()
 
Constructor Summary
ActionEventSupport(java.lang.Object source)
          Creates a new instance of ActionEventSupport
 
Method Summary
 void addActionListener(java.awt.event.ActionListener actionListener)
          Add new ActionListener
 void fireActionPerformed(int id, java.lang.String command)
          Fire new ActionEvent
 void removeActionListener(java.awt.event.ActionListener actionListener)
          Remove existing ActionListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_NEED_RESIZE

public static final int ACTION_NEED_RESIZE
A container wants to be resized, possibly by frame.pack()

See Also:
Constant Field Values
Constructor Detail

ActionEventSupport

public ActionEventSupport(java.lang.Object source)
Creates a new instance of ActionEventSupport

Parameters:
source - Source object, for which the ActionEventSupport should work. May not be null.
Method Detail

addActionListener

public void addActionListener(java.awt.event.ActionListener actionListener)
Add new ActionListener


removeActionListener

public void removeActionListener(java.awt.event.ActionListener actionListener)
Remove existing ActionListener


fireActionPerformed

public void fireActionPerformed(int id,
                                java.lang.String command)
Fire new ActionEvent