public class ActionEventSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_NEED_RESIZE
A container wants to be resized, possibly by frame.pack()
|
Constructor and Description |
---|
ActionEventSupport(java.lang.Object source)
Creates a new instance of ActionEventSupport
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final int ACTION_NEED_RESIZE
public ActionEventSupport(java.lang.Object source)
source
- Source object, for which the ActionEventSupport should work. May not be null.public void addActionListener(java.awt.event.ActionListener actionListener)
public void removeActionListener(java.awt.event.ActionListener actionListener)
public void fireActionPerformed(int id, java.lang.String command)