gov.lanl.Pids
Class PidsSelectionNotifier
java.lang.Object
|
+--gov.lanl.Pids.PidsSelectionNotifier
- public class PidsSelectionNotifier
- extends java.lang.Object
When an instance of the class PidsSelectionObserver receives a notification
from a PIDS selection dialog window, it passes it on to all of its
registered observers.
Currently, the class PidsSelectionNotifier distinguishes between
three types of events:
INACTIVE_PIDS_SELECTION_CHANGED - the PIDS selection in the PIDS
selection frame changed
ACTIVE_PIDS_SELECTION_CHANGED - the PIDS selection in the PIDS
client panel changed
INACTIVE_PIDS_SELECTION_FINALIZED- the user finished selecting PIDS
in the PIDS selection frame
- Version:
- $Id: PidsSelectionNotifier.java,v 1.2 2002/06/08 17:38:35 dwforslund Exp $
- Author:
- Torsten Staab $Author: dwforslund $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INACTIVE_PIDS_SELECTION_CHANGED
public static final int INACTIVE_PIDS_SELECTION_CHANGED
- See Also:
- Constant Field Values
ACTIVE_PIDS_SELECTION_CHANGED
public static final int ACTIVE_PIDS_SELECTION_CHANGED
- See Also:
- Constant Field Values
INACTIVE_PIDS_SELECTION_FINALIZED
public static final int INACTIVE_PIDS_SELECTION_FINALIZED
- See Also:
- Constant Field Values
PidsSelectionNotifier
public PidsSelectionNotifier()
addObserver
public void addObserver(PidsSelectionObserver observer)
- adds a new observer to this object
- Parameters:
observer - the PIDS selection observer to be added
removeObserver
public void removeObserver(PidsSelectionObserver observer)
- removes an observer from this object
- Parameters:
observer - the PIDS selection observer to be removed
notifyPidsSelectionObserver
public void notifyPidsSelectionObserver(int event,
java.util.Vector pidsSelectionVector)
- This method is called when this object needs to pass on a
notification to its registered observers.
- Parameters:
event - describes the type of event, such as
INACTIVE_PIDS_SELECTION_CHANGED - the PIDS selection in the PIDS
selection frame changed
ACTIVE_PIDS_SELECTION_CHANGED - the PIDS selection in the PIDS
client panel changed
INACTIVE_PIDS_SELECTION_FINALIZED- the user finished selecting PIDS
in the PIDS selection framepidsSelectionVector - a vector that contains the current PIDS selection in
form of String objects
Copyright © 2000 University of California. All Rights Reserved.