All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.DepValid.DisplayValids

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----IMSWG.IW.DepValid.DisplayValids

public class DisplayValids
extends Panel
This class is to support the Display of the Valids.


Constructor Index

 o DisplayValids(DisplaySelection)
Sets a local copy of DisplaySelection.

Method Index

 o action(Event, Object)
If the "all" button is pressed the action is handled by the selectAll method of DisplaySelection; if the "none" button is pressed, the action is handled by the selectNone method of DisplaySelection.
 o display()
Uses valids.selectedList and valids.validsList to display the valids.
 o handleEvent(Event)
If an item is selected or deselected the action is handled by the select method of DisplaySelection.
 o update()
Clears the validsList and redisplays first the selectedList and then the validsList.

Constructors

 o DisplayValids
 public DisplayValids(DisplaySelection displaySelection)
Sets a local copy of DisplaySelection.

Methods

 o display
 public Panel display()
Uses valids.selectedList and valids.validsList to display the valids. It also sets the display of the "all" and "none" buttons. It makes the selectedList items "selected" and removes the selectedList items from the validsList.

See Also:
Valids
 o update
 public void update()
Clears the validsList and redisplays first the selectedList and then the validsList. It makes the selectedList items "selected" and removes the selectedList items from the validsList.

See Also:
Valids
 o handleEvent
 public boolean handleEvent(Event event)
If an item is selected or deselected the action is handled by the select method of DisplaySelection.

Overrides:
handleEvent in class Component
See Also:
select
 o action
 public boolean action(Event e,
                       Object arg)
If the "all" button is pressed the action is handled by the selectAll method of DisplaySelection; if the "none" button is pressed, the action is handled by the selectNone method of DisplaySelection.

Overrides:
action in class Component
See Also:
selectAll, selectNone

All Packages  Class Hierarchy  This Package  Previous  Next  Index