Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.viewer.Wheel Class Reference
Inheritance diagram for rene.viewer.Wheel:
Inheritance graph
[legend]
Collaboration diagram for rene.viewer.Wheel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Wheel (WheelListener v)
void mouseWheelMoved (MouseWheelEvent e)

Package Attributes

WheelListener V

Detailed Description

Definition at line 6 of file Wheel.java.


Constructor & Destructor Documentation

Definition at line 9 of file Wheel.java.

       {      V=v;
       }

Member Function Documentation

void rene.viewer.Wheel.mouseWheelMoved ( MouseWheelEvent  e) [inline]

Definition at line 12 of file Wheel.java.

       {      if (e.getScrollType()==MouseWheelEvent.WHEEL_BLOCK_SCROLL)
              {      if (e.getWheelRotation()>0)
                            V.pageUp();
                     else
                            V.pageDown();
              }
              else
              {      int n=e.getScrollAmount();
                     if (e.getWheelRotation()>0) V.up(n);
                     else V.down(n);
              }
       }

Here is the call graph for this function:


Member Data Documentation

Definition at line 8 of file Wheel.java.


The documentation for this class was generated from the following file: