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.

Variable Index

 o buttonBar
The button panel
 o myList
The list box that contains the data from which to choose.

Constructor Index

 o PickList(Frame, String)
Constructs a PickList object

Method Index

 o action(Event, Object)
The ACTION_EVENT handler for the picklist.
 o handleEvent(Event)
Handles some events for the picklist
 o init()
You must override this in your derived class.

Variables

 o buttonBar
  protected OkCancelButtonBar buttonBar
The button panel
 o 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.

Constructors

 o 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

Methods

 o init
  public abstract void init()
You must override this in your derived class. This should fill the picklist with data.
 o 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
 o 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