public class RotationController extends PlotController
renderContext| Constructor and Description |
|---|
RotationController(RenderContext renderContext)
Initializes a new instance of the
RotationController class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnableAnimation()
Gets whether to enable rotation inertia.
|
com.mindfusion.charting.RotationController.Animation |
getRunningAnimation()
For internal use.
|
void |
onMouseDown(double x,
double y)
PlotController.onMouseDown override.
|
void |
onMouseMove(double x,
double y)
PlotController.onMouseMove override.
|
void |
onMouseUp(double x,
double y)
PlotController.onMouseUp override.
|
void |
setEnableAnimation(boolean value)
Sets whether to enable rotation inertia.
|
drawInteraction, getComponentpublic RotationController(RenderContext renderContext)
RotationController class.renderContext - A RenderContext instance.public void onMouseDown(double x,
double y)
onMouseDown in interface ComponentControlleronMouseDown in class PlotControllerx - A double value specifying the horizontal position of mouse pointer.y - A double value specifying the vertical position of mouse pointer.public void onMouseMove(double x,
double y)
onMouseMove in interface ComponentControlleronMouseMove in class PlotControllerx - A double value specifying the horizontal position of mouse pointer.y - A double value specifying the vertical position of mouse pointer.public void onMouseUp(double x,
double y)
onMouseUp in interface ComponentControlleronMouseUp in class PlotControllerx - A double value specifying the horizontal position of mouse pointer.y - A double value specifying the vertical position of mouse pointer.public com.mindfusion.charting.RotationController.Animation getRunningAnimation()
getRunningAnimation in interface ComponentControllergetRunningAnimation in class PlotControllerpublic boolean getEnableAnimation()
public void setEnableAnimation(boolean value)