Class awtExt.CallbackInfo
All Packages Class Hierarchy This Package Previous Next Index
Class awtExt.CallbackInfo
java.lang.Object
|
+----awtExt.CallbackInfo
- public class CallbackInfo
- extends Object
Encapsulates the basic data that is passed
to all called back methods from awtExt objects.
All called back user defined methods MUST
take a CallbackInfo object as a parameter,
and have a signature of the form:
public void calledbackMethod( CallbackInfo cbi );
The class that the method belongs to must
be declared public as well.
- See Also:
- methodRef
-
evt
- The event that just occurred.
-
processed
- Indicates whether the event has been processed by this
awtExt object's callback.
-
thisAwtObj
- The current awtExt object...
-
what
- The standard 'what' object passed to awt components.
-
CallbackInfo(Event, Object, Object)
- Constructor.
-
CallbackInfo(Event, Object)
- Alternate constructor.
evt
public Event evt
- The event that just occurred.
- See Also:
- Event
what
public Object what
- The standard 'what' object passed to awt components.
For example, in the case of a button this is the label.
Please refer to std java doc for further details.
thisAwtObj
public Object thisAwtObj
- The current awtExt object...
processed
public boolean processed
- Indicates whether the event has been processed by this
awtExt object's callback.
Default is false, which causes the event to propagate to
this object's container.
Setting this true will stop the event propagation.
CallbackInfo
public CallbackInfo(Event e,
Object w,
Object tao)
- Constructor. Used to initialize the CallbackInfo object
- Parameters:
- e - awt event that just occurred.
- w - awtExt component dependent parameter. This is
usually the label of the GUI object. Refer to
the specific java.awt object for more details.
- tao - Points to the current awtExt object. Used for
accessing awtExt specific functionality.
- See Also:
- Event
CallbackInfo
public CallbackInfo(Event e,
Object w)
- Alternate constructor.
- Parameters:
- e - awt event that just occurred.
- w - awtExt component dependent parameter. This is
usually the label of the GUI object. Refer to
the specific awtExt object for more details.
All Packages Class Hierarchy This Package Previous Next Index