This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing
interface SwingConstants

All Known Implementing Classes:
AbstractButton, JButton, JMenuItem, JToggleButton, BasicArrowButton, MetalComboBoxButton, JCheckBoxMenuItem, JMenu, JRadioButtonMenuItem, JCheckBox, JRadioButton, MetalScrollButton, BasicArrowButton, BasicInternalFrameUI.BorderListener, BasicScrollBarUI, MetalScrollBarUI, BasicTabbedPaneUI, MetalTabbedPaneUI, BasicToolBarUI, MetalToolBarUI, JCheckBoxMenuItem, JLabel, BasicComboBoxRenderer, DefaultListCellRenderer, DefaultTableCellRenderer, DefaultTreeCellRenderer, BasicComboBoxRenderer.UIResource, DefaultListCellRenderer.UIResource, MetalFileChooserUI.FileRenderer, MetalFileChooserUI.FilterComboBoxRenderer, DefaultTableCellRenderer.UIResource, JProgressBar, JSeparator, JPopupMenu.Separator, JToolBar.Separator, JSlider, JTabbedPane, JTextField, DefaultTreeCellEditor.DefaultTextField, JFormattedTextField, JPasswordField, JToolBar, MetalBorders.ToolBarBorder, SwingUtilities, View, AsyncBoxView, ComponentView, CompositeView, GlyphView, IconView, ImageView, PlainView, FormView, ObjectView, BoxView, LabelView, FieldView, BlockView, FlowView, TableView, TableView.TableCell, TableView.TableRow, WrappedPlainView, ZoneView, InlineView, PasswordView, ListView, ParagraphView, ParagraphView

public interface SwingConstants

A collection of constants generally used for positioning and orienting components on the screen.


Field Summary
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).
 

Field Detail

BOTTOM

public static final int BOTTOM
Box-orientation constant used to specify the bottom of a box.

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.).

EAST

public static final int EAST
Compass-direction east (right).

HORIZONTAL

public static final int HORIZONTAL
Horizontal orientation. Used for scrollbars and sliders.

LEADING

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.

LEFT

public static final int LEFT
Box-orientation constant used to specify the left side of a box.

NEXT

public static final int NEXT
Identifies the next direction in a sequence.

NORTH

public static final int NORTH
Compass-direction North (up).

NORTH_EAST

public static final int NORTH_EAST
Compass-direction north-east (upper right).

NORTH_WEST

public static final int NORTH_WEST
Compass-direction north west (upper left).

PREVIOUS

public static final int PREVIOUS
Identifies the previous direction in a sequence.

RIGHT

public static final int RIGHT
Box-orientation constant used to specify the right side of a box.

SOUTH

public static final int SOUTH
Compass-direction south (down).

SOUTH_EAST

public static final int SOUTH_EAST
Compass-direction south-east (lower right).

SOUTH_WEST

public static final int SOUTH_WEST
Compass-direction south-west (lower left).

TOP

public static final int TOP
Box-orientation constant used to specify the top of a box.

TRAILING

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.

VERTICAL

public static final int VERTICAL
Vertical orientation. Used for scrollbars and sliders.

WEST

public static final int WEST
Compass-direction west (left).


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.