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

FrameNavigator Class Reference

List of all members.

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

Constructor & Destructor Documentation

FrameNavigator::FrameNavigator (  FrameNavigatorUser    u,
int    curFrame,
int    minFrame,
int    maxFrame,
int    scrollType
)  [inline]
 

Construct a FrameNavigator.

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


Member Function Documentation

double FrameNavigator::getCurrentFrame (    )  [inline]
 

Get the current frame.

void FrameNavigator::setUser (  FrameNavigatorUser    u )  [inline]
 

void FrameNavigator::updateStatus (  int    newFrame )  [inline]
 

Update the GUI to reflect the given status.

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

void FrameNavigator::updateStatus (  int    curFrame,
int    minFrame,
int    maxFrame
)  [inline]
 

Update the GUI to reflect the given status.

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

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

Implementation of ActionListener.

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

Implementation of AdjustmentListener.

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

Implementation of ChangeListener.


Member Data Documentation

final int FrameNavigator::SCROLL_BAR = 1 [static]
 

final int FrameNavigator::SLIDER = 2 [static]
 


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