|
Eclipse Draw2d 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Orientable
An interface for objects that can be either horizontally or vertically oriented.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface 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 |
---|
ALWAYS_LEFT, ALWAYS_RIGHT, BOTTOM, CENTER, EAST, EAST_WEST, LEFT, LEFT_CENTER_RIGHT, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_SOUTH, NORTH_WEST, NSEW, 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 |
---|
static final int HORIZONTAL
static final int VERTICAL
Method Detail |
---|
void setOrientation(int orientation)
HORIZONTAL
or
VERTICAL
.
orientation
- The orientationvoid setDirection(int direction)
PositionConstants
.
direction
- The direction
|
Eclipse Draw2d 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |