|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttr.general.listener.CUniListener
Universal listener that get an instance of a class, a method as
"String" and parameters as an object array. With this information
the corresponding method in the corresponding class were invoke.
Date: 01.04.2004
Field Summary | |
protected java.lang.Object[] |
mArgs
|
protected java.lang.reflect.Method |
mMethod
|
protected java.lang.Object |
mTarget
|
Constructor Summary | |
CUniListener(java.lang.Object target,
java.lang.String methodname,
java.lang.Object[] args)
Constructor that invoke the corresponding class and method |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Method: actionPerformed |
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
Method: adjustmentValueChanged |
void |
itemStateChanged(java.awt.event.ItemEvent e)
Method: itemStateChanged |
void |
textValueChanged(java.awt.event.TextEvent e)
Method: textValueChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Object mTarget
protected java.lang.Object[] mArgs
protected java.lang.reflect.Method mMethod
Constructor Detail |
public CUniListener(java.lang.Object target, java.lang.String methodname, java.lang.Object[] args)
target
- Instanz of a classmethodname
- Name of the methodargs
- The arguments of the methodMethod Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
adjustmentValueChanged
in interface java.awt.event.AdjustmentListener
public void textValueChanged(java.awt.event.TextEvent e)
textValueChanged
in interface java.awt.event.TextListener
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |