Package rma.swing
Class DateChooser.ActionSupport
java.lang.Object
rma.swing.DateChooser.ActionSupport
- Enclosing class:
- DateChooser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionListener(ActionListener listener) Add anActionListenerto this object's list of listeners.voidFire anActionEventwith an ID ofACTION_PERFORMED, a null command string, and an empty modifier mask.voidfireActionEvent(int id, String command) Fire anActionEventwith the given ID and command string, and an empty modifier mask.voidfireActionEvent(int id, String command, int modifiers) Fire anActionEventwith the given ID, command string, and modifier mask.voidfireActionEvent(String command) Fire anActionEventwith an ID ofACTION_PERFORMED, the given command string, and an empty modifier mask.voidremoveActionListener(ActionListener listener) Remove anActionListenerfrom this object's list of listeners.
-
Constructor Details
-
ActionSupport
Construct a newActionSupportobject.- Parameters:
source- The owner of this object (and the source of the events that will be generated by it).
-
-
Method Details
-
addActionListener
Add anActionListenerto this object's list of listeners.- Parameters:
listener- The listener to add.
-
removeActionListener
Remove anActionListenerfrom this object's list of listeners.- Parameters:
listener- The listener to remove.
-
fireActionEvent
public void fireActionEvent()Fire anActionEventwith an ID ofACTION_PERFORMED, a null command string, and an empty modifier mask. -
fireActionEvent
Fire anActionEventwith an ID ofACTION_PERFORMED, the given command string, and an empty modifier mask.- Parameters:
command- The command string for the event.
-
fireActionEvent
Fire anActionEventwith the given ID and command string, and an empty modifier mask.- Parameters:
id- The ID for the event.command- The command string for the event.
-
fireActionEvent
Fire anActionEventwith the given ID, command string, and modifier mask.- Parameters:
id- The ID for the event.command- The command string for the event.modifiers- The modifier mask for the event.
-