|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.marvin.space.monitor.Control
public abstract class Control
Transformation on a GraphicComponent that changes the coordinates, and not just the view.
| Field Summary | |
|---|---|
protected static float[] |
ambient
|
protected float[] |
center
|
protected GraphicComponent |
component
|
protected static int |
DEFAULT_SIZE
|
protected static float[] |
diffuse
|
protected Monitor |
monitor
|
protected static float |
shininess
|
protected int |
size
|
protected static float[] |
specular
|
protected double |
x
|
protected double |
y
|
| Constructor Summary | |
|---|---|
Control()
Creates a new instance of Control |
|
| Method Summary | |
|---|---|
abstract void |
control(int z)
Does control on z event. |
abstract void |
control(int x,
int y)
Does control on x-y events. |
float[] |
getCenter()
Returns the center of the transformation. |
abstract byte[] |
getColor()
Returns the color of the control. |
protected void |
projectVector(float[] vector3)
|
void |
setCenter(float[] center)
Sets the center of the transformation. |
void |
setComponent(GraphicComponent gc)
Sets the component to the transformation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int DEFAULT_SIZE
protected static float[] ambient
protected static float[] diffuse
protected static float[] specular
protected static float shininess
protected double x
protected double y
protected int size
protected float[] center
protected Monitor monitor
protected GraphicComponent component
| Constructor Detail |
|---|
public Control()
| Method Detail |
|---|
public float[] getCenter()
public void setCenter(float[] center)
public void setComponent(GraphicComponent gc)
public abstract void control(int x,
int y)
public abstract void control(int z)
protected void projectVector(float[] vector3)
public abstract byte[] getColor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||