Class jif.widgets.PickList
All Packages Class Hierarchy This Package Previous Next Index
Class jif.widgets.PickList
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----jif.widgets.CenterDialog
|
+----jif.widgets.PickList
- public class PickList
- extends CenterDialog
The PickList class enables you to create quick and easy lists of data
that the user may choose from.
-
buttonBar
- The button panel
-
myList
- The list box that contains the data from which to choose.
-
PickList(Frame, String)
- Constructs a PickList object
-
action(Event, Object)
- The ACTION_EVENT handler for the picklist.
-
handleEvent(Event)
- Handles some events for the picklist
-
init()
- You must override this in your derived class.
buttonBar
protected OkCancelButtonBar buttonBar
- The button panel
myList
protected List myList
- The list box that contains the data from which to choose. We
default the list to show 10 rows of data.
PickList
public PickList(Frame daddy,
String title)
- Constructs a PickList object
- Parameters:
- daddy - The parent frame who owns the PickList
- title - The title of the PickList
init
public abstract void init()
- You must override this in your derived class. This should fill the
picklist with data.
action
public boolean action(Event event,
Object arg)
- The ACTION_EVENT handler for the picklist. Basically just listens for
button presses and notifies the owner of such a click
- Overrides:
- action in class Component
handleEvent
public boolean handleEvent(Event event)
- Handles some events for the picklist
- Parameters:
- event - The event
- Overrides:
- handleEvent in class CenterDialog
All Packages Class Hierarchy This Package Previous Next Index