|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.swing.common.util.ActionListenerSupportHelper
A helper class that adds or removes ActionListener's from
objects, that support ActionListeners.
| Method Summary | |
static void |
addActionListener(java.lang.Object target,
java.awt.event.ActionListener actionListener)
Adds an ActionListener to the given target object. |
static boolean |
isSupportingActionListener(java.lang.Class targetClass)
Returns true, if the given target class supports adding and
removing of ActionListeners. |
static void |
removeActionListener(java.lang.Object target,
java.awt.event.ActionListener actionListener)
Removes an ActionListener from the given target object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static boolean isSupportingActionListener(java.lang.Class targetClass)
true, if the given target class supports adding and
removing of ActionListeners.
targetClass - the target class to check
public static void addActionListener(java.lang.Object target,
java.awt.event.ActionListener actionListener)
ActionListener to the given target object. The target object's class
must have a public addActionListener(ActionListener)-method.
target - the target object to add an ActionListener to (not null)actionListener - the ActionListener to add (not null)
public static void removeActionListener(java.lang.Object target,
java.awt.event.ActionListener actionListener)
ActionListener from the given target object. The target object's class
must have a public removeActionListener(ActionListener)-method.
target - the target object to remove an ActionListener of (not null)actionListener - the ActionListener to remove (not null)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||