Java Platform 1.2
Beta 4

Interface com.sun.java.swing.SwingConstants

All Known Implementing Classes:
AbstractButton, JCheckBoxMenuItem, JSeparator, JToolBar, SwingUtilities, JTextField, JLabel, JSlider, JTabbedPane, JProgressBar, View

public abstract interface SwingConstants
A collection of constants generally used for positioning and orienting components on the screen.


Field Summary
static int BOTTOM
           
static int CENTER
          The central position in an area.
static int EAST
           
static int HORIZONTAL
          These constants specify a horizontal or vertical orientation.
static int LEFT
           
static int NORTH
          Compass-direction constants used to specify a position.
static int NORTH_EAST
           
static int NORTH_WEST
           
static int RIGHT
           
static int SOUTH
           
static int SOUTH_EAST
           
static int SOUTH_WEST
           
static int TOP
          Box-orientation constants used to specify a position.
static int VERTICAL
           
static int WEST
           
 

Field Detail

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

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.