FileDocCategorySizeDatePackage
SwingConstants.javaAPI DocJava SE 5 API3781Fri Aug 26 14:57:58 BST 2005javax.swing

SwingConstants

public interface SwingConstants
A collection of constants generally used for positioning and orienting components on the screen.
version
1.16 12/19/03
author
Jeff Dinkins
author
Ralph Kar (orientation support)

Fields Summary
public static final int
CENTER
The central position in an area. Used for both compass-direction constants (NORTH, etc.) and box-orientation constants (TOP, etc.).
public static final int
TOP
Box-orientation constant used to specify the top of a box.
public static final int
LEFT
Box-orientation constant used to specify the left side of a box.
public static final int
BOTTOM
Box-orientation constant used to specify the bottom of a box.
public static final int
RIGHT
Box-orientation constant used to specify the right side of a box.
public static final int
NORTH
Compass-direction North (up).
public static final int
NORTH_EAST
Compass-direction north-east (upper right).
public static final int
EAST
Compass-direction east (right).
public static final int
SOUTH_EAST
Compass-direction south-east (lower right).
public static final int
SOUTH
Compass-direction south (down).
public static final int
SOUTH_WEST
Compass-direction south-west (lower left).
public static final int
WEST
Compass-direction west (left).
public static final int
NORTH_WEST
Compass-direction north west (upper left).
public static final int
HORIZONTAL
Horizontal orientation. Used for scrollbars and sliders.
public static final int
VERTICAL
Vertical orientation. Used for scrollbars and sliders.
public static final int
LEADING
Identifies the leading edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels.
public static final int
TRAILING
Identifies the trailing edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels.
public static final int
NEXT
Identifies the next direction in a sequence.
public static final int
PREVIOUS
Identifies the previous direction in a sequence.
Constructors Summary
Methods Summary