|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Orientable
Interface for specifiying that an object has an orientation.
| Field Summary | |
|---|---|
static Point2D.Float[] |
DIRECTION
Table containing the direction vectors of the orientations. |
static String[] |
NAME
Table containing the name of the orientations. |
static short |
ORIENTATION_CENTER
Orientation towards center. |
static short |
ORIENTATION_EAST
Orientation towards east. |
static short |
ORIENTATION_INVALID
Constant for an invalid orienation. |
static short |
ORIENTATION_NORTH
Orientation towards north. |
static short |
ORIENTATION_SOUTH
Orientation towards south. |
static short |
ORIENTATION_WEST
Orientation towards west. |
static float |
SQRT2
Sqrt(2). |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Method Summary | |
|---|---|
short |
getOrientation()
Returns the orientation manages by this interface. |
void |
setOrientation(short orientation)
Sets the orientation of this interface. |
| Field Detail |
|---|
static final short ORIENTATION_INVALID
static final short ORIENTATION_CENTER
static final short ORIENTATION_NORTH
static final short ORIENTATION_SOUTH
static final short ORIENTATION_EAST
static final short ORIENTATION_WEST
static final float SQRT2
static final String[] NAME
static final Point2D.Float[] DIRECTION
| Method Detail |
|---|
short getOrientation()
void setOrientation(short orientation)
orientation - the orientation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||