Package chemaxon.marvin.space.monitor
Class GlobalLocationControl
java.lang.Object
chemaxon.marvin.space.monitor.Control
chemaxon.marvin.space.monitor.GlobalLocationControl
This control is to change the location say translate a
GraphicComponent
in the global coordinate system.- Since:
- Marvin 4.0.2
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGlobalLocationControl
(Monitor monitor) Creates a new instance of GlobalLocationControl -
Method Summary
Modifier and TypeMethodDescriptionvoid
control
(int z) Changes the location say translates the component of the control in the global coordinate system.void
control
(int x, int y) Changes the location say translates the component of the control in the global 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
-
GlobalLocationControl
Creates a new instance of GlobalLocationControl
-
-
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 the global coordinate system. -
control
public void control(int z) Changes the location say translates the component of the control in the global coordinate system.
-