chemaxon.marvin.space.monitor
Class GlobalLocationControl

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

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
Version:
MarvinSpace 1.0
Author:
Judit Papp

Field Summary
 
Fields inherited from class chemaxon.marvin.space.monitor.Control
ambient, center, component, DEFAULT_SIZE, diffuse, monitor, shininess, size, specular, x, y
 
Constructor Summary
GlobalLocationControl(Monitor monitor)
          Creates a new instance of GlobalLocationControl
 
Method Summary
 void 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalLocationControl

public GlobalLocationControl(Monitor monitor)
Creates a new instance of GlobalLocationControl

Method Detail

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