public interface SwingConstants
| Modifier and Type | Field | Description | 
|---|---|---|
| static int | BOTTOM | Box-orientation constant used to specify the bottom of a box. | 
| static int | CENTER | The central position in an area. | 
| static int | EAST | Compass-direction east (right). | 
| static int | HORIZONTAL | Horizontal orientation. | 
| static int | LEADING | Identifies the leading edge of text for use with left-to-right
 and right-to-left languages. | 
| static int | LEFT | Box-orientation constant used to specify the left side of a box. | 
| static int | NEXT | Identifies the next direction in a sequence. | 
| static int | NORTH | Compass-direction North (up). | 
| static int | NORTH_EAST | Compass-direction north-east (upper right). | 
| static int | NORTH_WEST | Compass-direction north west (upper left). | 
| static int | PREVIOUS | Identifies the previous direction in a sequence. | 
| static int | RIGHT | Box-orientation constant used to specify the right side of a box. | 
| static int | SOUTH | Compass-direction south (down). | 
| static int | SOUTH_EAST | Compass-direction south-east (lower right). | 
| static int | SOUTH_WEST | Compass-direction south-west (lower left). | 
| static int | TOP | Box-orientation constant used to specify the top of a box. | 
| static int | TRAILING | Identifies the trailing edge of text for use with left-to-right
 and right-to-left languages. | 
| static int | VERTICAL | Vertical orientation. | 
| static int | WEST | Compass-direction west (left). | 
static final int CENTER
static final int TOP
static final int LEFT
static final int BOTTOM
static final int RIGHT
static final int NORTH
static final int NORTH_EAST
static final int EAST
static final int SOUTH_EAST
static final int SOUTH
static final int SOUTH_WEST
static final int WEST
static final int NORTH_WEST
static final int HORIZONTAL
static final int VERTICAL
static final int LEADING
static final int TRAILING
static final int NEXT
static final int PREVIOUS
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.