public class PlotController
extends java.lang.Object
implements com.mindfusion.charting.components.ComponentController
Plot
components.Modifier and Type | Field and Description |
---|---|
protected RenderContext |
renderContext |
Constructor and Description |
---|
PlotController(RenderContext renderContext)
Initializes a new instance of the
PlotController class. |
Modifier and Type | Method and Description |
---|---|
void |
drawInteraction(java.awt.Graphics graphics)
Implements ComponentController.drawInteraction.
|
com.mindfusion.charting.components.Component |
getComponent()
Gets the component controlled by this PlotController.
|
com.mindfusion.charting.components.ComponentAnimation |
getRunningAnimation()
For internal use.
|
void |
onMouseDown(double x,
double y)
Implements ComponentController.onMouseDown.
|
void |
onMouseMove(double x,
double y)
Implements ComponentController.onMouseMove.
|
void |
onMouseUp(double x,
double y)
Implements ComponentController.onMouseUp.
|
protected RenderContext renderContext
public PlotController(RenderContext renderContext)
PlotController
class.renderContext
- A RenderContext
instance.public void onMouseDown(double x, double y)
onMouseDown
in interface com.mindfusion.charting.components.ComponentController
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
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
x
- A double value specifying the horizontal position of mouse pointer.y
- A double value specifying the vertical position of mouse pointer.public void drawInteraction(java.awt.Graphics graphics)
drawInteraction
in interface com.mindfusion.charting.components.ComponentController
graphics
- An IGraphics instance.public com.mindfusion.charting.components.ComponentAnimation getRunningAnimation()
getRunningAnimation
in interface com.mindfusion.charting.components.ComponentController
public com.mindfusion.charting.components.Component getComponent()
getComponent
in interface com.mindfusion.charting.components.ComponentController