Class GlobalLocationControl

java.lang.Object
chemaxon.marvin.space.monitor.Control
chemaxon.marvin.space.monitor.GlobalLocationControl

@PublicAPI public class GlobalLocationControl extends Control
This control is to change the location say translate a GraphicComponent in the global coordinate system.
Since:
Marvin 4.0.2
  • Constructor Details

    • GlobalLocationControl

      public GlobalLocationControl(Monitor monitor)
      Creates a new instance of GlobalLocationControl
  • Method Details

    • getColor

      public byte[] getColor()
      Returns the color of the control.
      Specified by:
      getColor in class Control
    • control

      public void control(int x, int y)
      Changes the location say translates the component of the control in the global coordinate system.
      Specified by:
      control in class Control
    • control

      public void control(int z)
      Changes the location say translates the component of the control in the global coordinate system.
      Specified by:
      control in class Control