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, getComponent
public RotationController(RenderContext renderContext)
RotationController
class.renderContext
- A RenderContext instance.public void onMouseDown(double x, double y)
onMouseDown
in interface com.mindfusion.charting.components.ComponentController
onMouseDown
in class PlotController
x
- 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 com.mindfusion.charting.components.ComponentController
onMouseMove
in class PlotController
x
- 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 com.mindfusion.charting.components.ComponentController
onMouseUp
in class PlotController
x
- 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 com.mindfusion.charting.components.ComponentController
getRunningAnimation
in class PlotController
public boolean getEnableAnimation()
public void setEnableAnimation(boolean value)