|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for objects that can be either horizontally or vertically oriented.
Nested Class Summary |
Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
Field Summary | |
static int |
HORIZONTAL
A constant representing a horizontal orientation. |
static int |
VERTICAL
A constant representing a vertical orientation. |
Fields inherited from interface org.eclipse.draw2d.PositionConstants |
BOTTOM, CENTER, EAST, EAST_WEST, LEFT, LEFT_CENTER_RIGHT, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_SOUTH, NORTH_WEST, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TOP_MIDDLE_BOTTOM, WEST |
Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
Method Summary | |
void |
setDirection(int direction)
Sets the direction the orientable figure will face. |
void |
setOrientation(int orientation)
Sets the orientation. |
Field Detail |
public static final int HORIZONTAL
public static final int VERTICAL
Method Detail |
public void setOrientation(int orientation)
HORIZONTAL
or VERTICAL
.
orientation
- The orientationpublic void setDirection(int direction)
PositionConstants
.
direction
- The direction
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |