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

Zoomer Class Reference

List of all members.

Public Methods

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

double getZoomFactor ()
 Get the current zoom factor. More...

void updateStatus (double newZoom)
 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...


Constructor & Destructor Documentation

Zoomer::Zoomer ZoomerUser    u,
double    zoomVal,
double    minVal,
double    maxVal,
double    values[],
int    scrollType
[inline]
 

Construct a Zoomer.

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


Member Function Documentation

double Zoomer::getZoomFactor   [inline]
 

Get the current zoom factor.

void Zoomer::updateStatus double    newZoom [inline]
 

Update the GUI to reflect the given status.

Will not call the _user (it is assumed that the _user does it).

void Zoomer::actionPerformed ActionEvent    e [inline]
 

Implementation of ActionListener.

void Zoomer::adjustmentValueChanged AdjustmentEvent    e [inline]
 

Implementation of AdjustmentListener.

void Zoomer::stateChanged ChangeEvent    e [inline]
 

Implementation of ChangeListener.


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