public class DefaultActionListenerSupport extends java.lang.Object implements ActionListenerSupport
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set |
listeners |
| Constructor and Description |
|---|
DefaultActionListenerSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(java.awt.event.ActionListener listener) |
void |
fireActionEvent(java.awt.event.ActionEvent event) |
java.awt.event.ActionListener[] |
getActionListeners() |
boolean |
hasActionListeners() |
void |
removeActionListener(java.awt.event.ActionListener listener) |
void |
removeAllActionListener() |
public void addActionListener(java.awt.event.ActionListener listener)
addActionListener in interface ActionListenerSupportpublic java.awt.event.ActionListener[] getActionListeners()
getActionListeners in interface ActionListenerSupportpublic boolean hasActionListeners()
hasActionListeners in interface ActionListenerSupportpublic void removeActionListener(java.awt.event.ActionListener listener)
removeActionListener in interface ActionListenerSupportpublic void removeAllActionListener()
removeAllActionListener in interface ActionListenerSupportpublic void fireActionEvent(java.awt.event.ActionEvent event)
fireActionEvent in interface ActionListenerSupport