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

Variable Index

 o eventDispatch
Event dispatcher.

Constructor Index

 o List()
Default Constructor.
 o List(int, boolean)
Constructor, creates a list with numRows rows and a single or multi-selection mechanism.

Method Index

 o handleEvent(Event)
event handler.

Variables

 o eventDispatch
  public EventDispatch eventDispatch
Event dispatcher. Dispatches the event to the appropriate user defined event handling method.
See Also:
Event, EventDispatch, Callback

Constructors

 o List
  public List()
Default Constructor.
 o 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

Methods

 o 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