@PublicAPI public abstract class Control extends java.lang.Object
GraphicComponent
that changes the coordinates, and not just the view.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Control()
Creates a new instance of Control
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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()