Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
public interface: SwingConstants [javadoc | source] A collection of constants generally used for positioning and orienting components on the screen.
Field 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.
    since: 1.4 -
 
public static final  int PREVIOUS    Identifies the previous direction in a sequence.
    since: 1.4 -