Package chemaxon.marvin.space.monitor
Class GlobalOrientationControl
java.lang.Object
chemaxon.marvin.space.monitor.Control
chemaxon.marvin.space.monitor.GlobalOrientationControl
This control is to change the orientation say rotate a
GraphicComponent
in the global coordinate system.- Since:
- Marvin 4.0.2
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalOrientationControl
(Monitor monitor) Creates a new instance of GlobalOrientationControl -
Method Summary
Modifier and TypeMethodDescriptionvoid
control
(int z) Changes the orientation that is rotates the component of the control in the global coordinate system.void
control
(int x, int y) Changes the orientation say rotates 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
-
GlobalOrientationControl
Creates a new instance of GlobalOrientationControl
-
-
Method Details
-
getColor
public byte[] getColor()Returns the color of the control. -
control
public void control(int x, int y) Changes the orientation say rotates the component of the control in the global coordinate system. -
control
public void control(int z) Changes the orientation that is rotates the component of the control in the global coordinate system.
-