Package chemaxon.marvin.space.monitor
Class LocalLocationControl
java.lang.Object
chemaxon.marvin.space.monitor.Control
chemaxon.marvin.space.monitor.LocalLocationControl
This control is to change the location say translate a
GraphicComponent
in its local coordinate system.- Since:
- Marvin 4.0.2
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLocalLocationControl
(Monitor monitor) Creates a new instance of LocalLocationControl -
Method Summary
Modifier and TypeMethodDescriptionvoid
control
(int z) Changes the location say translates the component of the control in its local coordinate system.void
control
(int x, int y) Changes the location say translates the component of the control in its local coordinate system.byte[]
getColor()
Returns the color of the control.Methods inherited from class chemaxon.marvin.space.monitor.Control
getCenter, projectVector, setCenter, setComponent
-
Constructor Details
-
LocalLocationControl
Creates a new instance of LocalLocationControl
-
-
Method Details
-
getColor
public byte[] getColor()Returns the color of the control. -
control
public void control(int x, int y) Changes the location say translates the component of the control in its local coordinate system. -
control
public void control(int z) Changes the location say translates the component of the control in its local coordinate system.
-