Class awtExt.List
All Packages Class Hierarchy This Package Previous Next Index
Class awtExt.List
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.List
|
+----awtExt.List
- public class List
- extends List
Extension of standard awt List. Provides a callback
mechanism for invoking user defined event handling methods.
A callback method can be attached on each and every event 'hook'
in the List's eventDispatch object.
- See Also:
- EventDispatch, Callback, Event, List
-
eventDispatch
- Event dispatcher.
-
List()
- Default Constructor.
-
List(int, boolean)
- Constructor, creates a list with numRows rows and a single
or multi-selection mechanism.
-
handleEvent(Event)
- event handler.
eventDispatch
public EventDispatch eventDispatch
- Event dispatcher. Dispatches the event to the appropriate
user defined event handling method.
- See Also:
- Event, EventDispatch, Callback
List
public List()
- Default Constructor.
List
public List(int numRows,
boolean mSel)
- Constructor, creates a list with numRows rows and a single
or multi-selection mechanism.
- Parameters:
- numRows - Number of rows for this list
- mSel - true if to use multiple selection
handleEvent
public final boolean handleEvent(Event evt)
- event handler. Dispatches the event to the appropriate
attached methodRef event handler . User defined method(s) can control
the event propagation by setting the 'processed' instance variable
in the CallbackInfo object.
- Parameters:
- evt - The event.
- Overrides:
- handleEvent in class Component
- See Also:
- Event, EventDispatch, processed
All Packages Class Hierarchy This Package Previous Next Index