HorizontalPanEventHandler Class Reference

List of all members.

Public Member Functions

 HorizontalPanEventHandler ()
void setAutopan (boolean autopan)
boolean getAutopan ()
void setMinAutopanSpeed (double minAutopanSpeed)
 Set the minAutoPan speed in pixels per second.
void setMaxAutopanSpeed (double maxAutopanSpeed)
 Set the maxAutoPan speed in pixes per second.

Protected Member Functions

void drag (PInputEvent e)
void pan (PInputEvent e)
void dragActivityStep (PInputEvent aEvent)
 Do auto panning even when the mouse is not moving.
double validatePanningSpeed (double delta)
String paramString ()
 Returns a string representing the state of this node.

Detailed Description

A custom pan event handler...

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 26 of file HorizontalPanEventHandler.java.


Member Function Documentation

String paramString (  )  [protected]

Returns a string representing the state of this node.

This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.

Returns:
a string representation of this node's state

Definition at line 149 of file HorizontalPanEventHandler.java.

void setMaxAutopanSpeed ( double  maxAutopanSpeed  ) 

Set the maxAutoPan speed in pixes per second.

Parameters:
maxAutopanSpeed 

Definition at line 81 of file HorizontalPanEventHandler.java.

void setMinAutopanSpeed ( double  minAutopanSpeed  ) 

Set the minAutoPan speed in pixels per second.

Parameters:
minAutopanSpeed 

Definition at line 72 of file HorizontalPanEventHandler.java.


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:40 2007 for R3 Paper Toolkit by  doxygen 1.4.7