public class PlotController extends java.lang.Object implements 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.
|
Component |
getComponent()
Gets the component controlled by this PlotController.
|
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 ComponentControllerx - 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 ComponentControllerx - 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 ComponentControllerx - 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 ComponentControllergraphics - An IGraphics instance.public ComponentAnimation getRunningAnimation()
getRunningAnimation in interface ComponentControllerpublic Component getComponent()
getComponent in interface ComponentController