All Packages Class Hierarchy This Package Previous Next Index
Interface com.sun.java.swing.SwingConstants
- public interface SwingConstants
A collection of constants generally used for positioning and orienting
components on the screen.
-
BOTTOM
-
-
CENTER
-
The central position in an area.
-
EAST
-
-
HORIZONTAL
- These constants specify a horizontal or
vertical orientation.
-
LEFT
-
-
NORTH
-
Compass-direction constants used to specify a position.
-
NORTH_EAST
-
-
NORTH_WEST
-
-
RIGHT
-
-
SOUTH
-
-
SOUTH_EAST
-
-
SOUTH_WEST
-
-
TOP
-
Box-orientation constants used to specify a position.
-
VERTICAL
-
-
WEST
-
CENTER
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.).
TOP
public static final int TOP
- Box-orientation constants used to specify a position.
LEFT
public static final int LEFT
BOTTOM
public static final int BOTTOM
RIGHT
public static final int RIGHT
NORTH
public static final int NORTH
- Compass-direction constants used to specify a position.
NORTH_EAST
public static final int NORTH_EAST
EAST
public static final int EAST
SOUTH_EAST
public static final int SOUTH_EAST
SOUTH
public static final int SOUTH
SOUTH_WEST
public static final int SOUTH_WEST
WEST
public static final int WEST
NORTH_WEST
public static final int NORTH_WEST
HORIZONTAL
public static final int HORIZONTAL
- These constants specify a horizontal or
vertical orientation. For example, they are
used by scrollbars and sliders.
VERTICAL
public static final int VERTICAL
All Packages Class Hierarchy This Package Previous Next Index