Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Navigator Class Reference

Inheritance diagram for Navigator::

ViewerInspectionListener List of all members.

Public Methods

 Navigator (NavigatorUser u, double zoomVal, double minVal, double maxVal, double[] values, int scrollType)
 Construct a Navigator. More...

int getViewerID ()
 Get the ID of the currently active viewer. More...

void updateStatus (CanvasViewer viewer)
 Update the GUI to reflect the given status. More...

void actionPerformed (ActionEvent e)
 Implementation of ActionListener. More...

void adjustmentValueChanged (AdjustmentEvent e)
 Implementation of AdjustmentListener. More...

void stateChanged (ChangeEvent e)
 Implementation of ChangeListener. More...

void objectSelected (ViewerEvent e)
 Implementation of ViewerInspectionListener. More...

void viewerSelected (ViewerEvent e)
 Implementation of ViewerInspectionListener (ignored). More...

void viewerEntered (ViewerEvent e)
 Method invoked when the mouse enters the viewer. More...

void viewerExited (ViewerEvent e)
 Method invoked when the mouse leaves the viewer. More...

void objectEntered (ViewerEvent e)
 Method invoked when the mouse passes over a CanvasObject for the first time. More...

void objectProbed (ViewerEvent e)
 Method invoked when the mouse passes over a CanvasObject it had already entered. More...


Constructor & Destructor Documentation

Navigator::Navigator (  NavigatorUser    u,
double    zoomVal,
double    minVal,
double    maxVal,
double    values[],
int    scrollType
)  [inline]
 

Construct a Navigator.

scrollType indicates whether the GUI uses a ScrollBar (scrollType == 1) or a Slider (scrollType == 2).


Member Function Documentation

int Navigator::getViewerID (    )  [inline]
 

Get the ID of the currently active viewer.

void Navigator::updateStatus (  CanvasViewer    viewer )  [inline]
 

Update the GUI to reflect the given status.

Will not call the _user (it is assumed that the _user does it) except to ask for the viewer IDs via handleNavigatorViewerIDs.

void Navigator::actionPerformed (  ActionEvent    e )  [inline]
 

Implementation of ActionListener.

void Navigator::adjustmentValueChanged (  AdjustmentEvent    e )  [inline]
 

Implementation of AdjustmentListener.

void Navigator::stateChanged (  ChangeEvent    e )  [inline]
 

Implementation of ChangeListener.

void Navigator::objectSelected (  ViewerEvent    e )  [inline]
 

Implementation of ViewerInspectionListener.

Reimplemented from ViewerInspectionListener.

void Navigator::viewerSelected (  ViewerEvent    e )  [inline]
 

Implementation of ViewerInspectionListener (ignored).

Reimplemented from ViewerInspectionListener.

void Navigator::viewerEntered (  ViewerEvent    e )  [inline]
 

Method invoked when the mouse enters the viewer.

Reimplemented from ViewerInspectionListener.

void Navigator::viewerExited (  ViewerEvent    e )  [inline]
 

Method invoked when the mouse leaves the viewer.

Reimplemented from ViewerInspectionListener.

void Navigator::objectEntered (  ViewerEvent    e )  [inline]
 

Method invoked when the mouse passes over a CanvasObject for the first time.

Reimplemented from ViewerInspectionListener.

void Navigator::objectProbed (  ViewerEvent    e )  [inline]
 

Method invoked when the mouse passes over a CanvasObject it had already entered.

Reimplemented from ViewerInspectionListener.


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:26 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001