Public Methods | |
| FrameNavigator (FrameNavigatorUser u, int curFrame, int minFrame, int maxFrame, int scrollType) | |
| Construct a FrameNavigator. More... | |
| double | getCurrentFrame () |
| Get the current frame. More... | |
| void | setUser (FrameNavigatorUser u) |
| void | updateStatus (int newFrame) |
| Update the GUI to reflect the given status. More... | |
| void | updateStatus (int curFrame, int minFrame, int maxFrame) |
| 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... | |
Static Public Attributes | |
| final int | SCROLL_BAR = 1 |
| final int | SLIDER = 2 |
|
||||||||||||||||||||||||
|
Construct a FrameNavigator. scrollType indicates whether the GUI uses a ScrollBar (scrollType == 1) or a Slider (scrollType == 2). |
|
|
Get the current frame.
|
|
|
|
|
|
Update the GUI to reflect the given status. Will not call the _user (it is assumed that the _user does it). |
|
||||||||||||||||
|
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