|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Constants representing cardinal directions and relative positions. Some of these constants can be grouped as follows:
LEFT, CENTER, RIGHT | Used to describe horizontal position. |
TOP, MIDDLE, BOTTOM | Used to describe vertical position. |
NORTH, SOUTH, EAST, WEST | Used to describe the four positions relative to an object's center point.
May also be used when describing which direction an object is facing. NOTE: If you have a use for all four of these possibilities, do not use TOP, BOTTOM, RIGHT, LEFT in place of NORTH, SOUTH, EAST, WEST. |
Field Summary | |
static int |
BOTTOM
Bottom |
static int |
CENTER
Center (Horizontal) |
static int |
EAST
East |
static int |
EAST_WEST
East-West: a bit-wise OR of EAST and WEST |
static int |
LEFT
Left |
static int |
LEFT_CENTER_RIGHT
Bit-wise OR of LEFT, CENTER, and RIGHT |
static int |
MIDDLE
Middle (Vertical) |
static int |
NONE
None |
static int |
NORTH
North |
static int |
NORTH_EAST
North-East: a bit-wise OR of NORTH and EAST |
static int |
NORTH_SOUTH
North-South: a bit-wise OR of NORTH and SOUTH |
static int |
NORTH_WEST
North-West: a bit-wise OR of NORTH and WEST |
static int |
RIGHT
Right |
static int |
SOUTH
South |
static int |
SOUTH_EAST
South-East: a bit-wise OR of SOUTH and EAST |
static int |
SOUTH_WEST
South-West: a bit-wise OR of SOUTH and WEST |
static int |
TOP
Top |
static int |
TOP_MIDDLE_BOTTOM
Bit-wise OR of TOP, MIDDLE, and BOTTOM |
static int |
WEST
West |
Field Detail |
public static final int NONE
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int LEFT_CENTER_RIGHT
public static final int TOP
public static final int MIDDLE
public static final int BOTTOM
public static final int TOP_MIDDLE_BOTTOM
public static final int NORTH
public static final int SOUTH
public static final int WEST
public static final int EAST
public static final int NORTH_EAST
NORTH
and EAST
public static final int NORTH_WEST
NORTH
and WEST
public static final int SOUTH_EAST
SOUTH
and EAST
public static final int SOUTH_WEST
SOUTH
and WEST
public static final int NORTH_SOUTH
NORTH
and SOUTH
public static final int EAST_WEST
EAST
and WEST
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |