public class ObservableActionListener extends DefaultObservable<java.awt.event.ActionEvent> implements java.awt.event.ActionListener
| Constructor and Description |
|---|
ObservableActionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
static ObservableActionListener |
register(java.lang.Object component)
Convenience method to create a new observable action listener and register it with the target component must have a public
addActionListener(ActionListener) method. |
ObservableActionListener |
registerWith(java.lang.Object component)
Convenience method to register this observable with the target component which must have a public
addActionListener(ActionListener) method. |
ObservableActionListener |
unregisterFrom(java.lang.Object component)
Convenience method to unregister this observable from the target component which must have a public
removeActionListener(ActionListener) method. |
close, error, finish, getObserverCount, next, register, unregisterpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener@Nonnull public static ObservableActionListener register(@Nonnull java.lang.Object component)
addActionListener(ActionListener) method.component - the target component@Nonnull public ObservableActionListener registerWith(@Nonnull java.lang.Object component)
addActionListener(ActionListener) method.component - the target component@Nonnull public ObservableActionListener unregisterFrom(@Nonnull java.lang.Object component)
removeActionListener(ActionListener) method.component - the target component