public interface PositionConstants
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. |
Modifier and Type | Field and Description |
---|---|
static int |
ALWAYS_LEFT
Used to signify left alignment regardless of orientation (i.e., LTR or
RTL)
|
static int |
ALWAYS_RIGHT
Used to signify right alignment regardless of orientation (i.e., LTR or
RTL)
|
static int |
BOTTOM
Bottom
|
static int |
CENTER
Center (Horizontal)
|
static int |
EAST
East
|
static int |
EAST_WEST
|
static int |
HORIZONTAL
A constant indicating horizontal direction
|
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
|
static int |
NORTH_SOUTH
|
static int |
NORTH_WEST
|
static int |
NSEW
North-South-East-West: a bit-wise OR of all 4 directions.
|
static int |
RIGHT
Right
|
static int |
SOUTH
South
|
static int |
SOUTH_EAST
|
static int |
SOUTH_WEST
|
static int |
TOP
Top
|
static int |
TOP_MIDDLE_BOTTOM
Bit-wise OR of TOP, MIDDLE, and BOTTOM
|
static int |
VERTICAL
A constant indicating vertical direction
|
static int |
WEST
West
|
static final int NONE
static final int LEFT
static final int CENTER
static final int RIGHT
static final int LEFT_CENTER_RIGHT
static final int ALWAYS_LEFT
static final int ALWAYS_RIGHT
static final int TOP
static final int MIDDLE
static final int BOTTOM
static final int TOP_MIDDLE_BOTTOM
static final int NORTH
static final int SOUTH
static final int WEST
static final int EAST
static final int HORIZONTAL
static final int VERTICAL
static final int NORTH_EAST
static final int NORTH_WEST
static final int SOUTH_EAST
static final int SOUTH_WEST
static final int NORTH_SOUTH
static final int EAST_WEST
static final int NSEW
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.