Class semper.preferences.NegotiablePanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.preferences.NegotiablePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----semper.preferences.PrefPanel
                                   |
                                   +----semper.preferences.NegotiablePanel

public class NegotiablePanel
extends PrefPanel
This class is used to contain the component of a PrefFieldNegotiable. Such a panel will contain the two lists and two buttons of a negotiable field. Implements the list manipulation for such a PrefField.
Version:
$Revision: 1.5 $ $Date: 1997/01/17 19:53:03 $
Author:
Louis Salvail
See Also:
PrefFieldNegotiable

Constructor Index

 o NegotiablePanel(UnList, PrList, PrefField)
Creates a panel with two lists.

Method Index

 o action(Event, Object)
Execute the action corresponding to one of the buttons and being pressed.

Constructors

 o NegotiablePanel
  public NegotiablePanel(UnList unusedlist,
                         PrList prioritylist,
                         PrefField owner)
Creates a panel with two lists.
Parameters:
unusedlist - is the list of unused items.
prioritylist - is the list of selected items in priority order.
owner - is the owner field of that panel.
Returns:
the new panel containing the two lists.

Methods

 o action
  public boolean action(Event e,
                        Object o)
Execute the action corresponding to one of the buttons and being pressed.
Parameters:
e - is the event description.
o - the object corresponding to the event.
Returns:
true iff the event is either the move button or the remove button.
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index