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
implements ActionListener
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.7 $ $Date: 1997/09/01 12:24:44 $
Author:
Louis Salvail
See Also:
PrefFieldNegotiable

Constructor Index

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

Method Index

 o actionPerformed(ActionEvent)
Execute the action corresponding to one of the buttons and being pressed.

Constructors

 o NegotiablePanel
 public NegotiablePanel(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 actionPerformed
 public void actionPerformed(ActionEvent event)
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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index