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... | |
|
||||||||||||||||||||||||||||
|
Construct a Zoomer. scrollType indicates whether the GUI uses a ScrollBar (scrollType == 1) or a Slider (scrollType == 2). |
|
|
Get the current zoom factor.
|
|
|
Update the GUI to reflect the given status. Will not call the _user (it is assumed that the _user does it). |
|
|
Implementation of ActionListener.
|
|
|
Implementation of AdjustmentListener.
|
|
|
Implementation of ChangeListener.
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001