SwingConstants (Java SE 15 & JDK 15) (original) (raw)
All Known Implementing Classes:
[AbstractButton](AbstractButton.html "class in javax.swing")
, [AsyncBoxView](text/AsyncBoxView.html "class in javax.swing.text")
, [BasicArrowButton](plaf/basic/BasicArrowButton.html "class in javax.swing.plaf.basic")
, [BasicComboBoxRenderer](plaf/basic/BasicComboBoxRenderer.html "class in javax.swing.plaf.basic")
, [BasicComboBoxRenderer.UIResource](plaf/basic/BasicComboBoxRenderer.UIResource.html "class in javax.swing.plaf.basic")
, [BasicInternalFrameUI.BorderListener](plaf/basic/BasicInternalFrameUI.BorderListener.html "class in javax.swing.plaf.basic")
, [BasicScrollBarUI](plaf/basic/BasicScrollBarUI.html "class in javax.swing.plaf.basic")
, [BasicTabbedPaneUI](plaf/basic/BasicTabbedPaneUI.html "class in javax.swing.plaf.basic")
, [BasicToolBarUI](plaf/basic/BasicToolBarUI.html "class in javax.swing.plaf.basic")
, [BlockView](text/html/BlockView.html "class in javax.swing.text.html")
, [BoxView](text/BoxView.html "class in javax.swing.text")
, [ComponentView](text/ComponentView.html "class in javax.swing.text")
, [CompositeView](text/CompositeView.html "class in javax.swing.text")
, [DefaultListCellRenderer](DefaultListCellRenderer.html "class in javax.swing")
, [DefaultListCellRenderer.UIResource](DefaultListCellRenderer.UIResource.html "class in javax.swing")
, [DefaultTableCellRenderer](table/DefaultTableCellRenderer.html "class in javax.swing.table")
, [DefaultTableCellRenderer.UIResource](table/DefaultTableCellRenderer.UIResource.html "class in javax.swing.table")
, [DefaultTreeCellEditor.DefaultTextField](tree/DefaultTreeCellEditor.DefaultTextField.html "class in javax.swing.tree")
, [DefaultTreeCellRenderer](tree/DefaultTreeCellRenderer.html "class in javax.swing.tree")
, [FieldView](text/FieldView.html "class in javax.swing.text")
, [FlowView](text/FlowView.html "class in javax.swing.text")
, [FormView](text/html/FormView.html "class in javax.swing.text.html")
, [GlyphView](text/GlyphView.html "class in javax.swing.text")
, [IconView](text/IconView.html "class in javax.swing.text")
, [ImageView](text/html/ImageView.html "class in javax.swing.text.html")
, [InlineView](text/html/InlineView.html "class in javax.swing.text.html")
, [JButton](JButton.html "class in javax.swing")
, [JCheckBox](JCheckBox.html "class in javax.swing")
, [JCheckBoxMenuItem](JCheckBoxMenuItem.html "class in javax.swing")
, [JFormattedTextField](JFormattedTextField.html "class in javax.swing")
, [JLabel](JLabel.html "class in javax.swing")
, [JMenu](JMenu.html "class in javax.swing")
, [JMenuItem](JMenuItem.html "class in javax.swing")
, [JPasswordField](JPasswordField.html "class in javax.swing")
, [JPopupMenu.Separator](JPopupMenu.Separator.html "class in javax.swing")
, [JProgressBar](JProgressBar.html "class in javax.swing")
, [JRadioButton](JRadioButton.html "class in javax.swing")
, [JRadioButtonMenuItem](JRadioButtonMenuItem.html "class in javax.swing")
, [JSeparator](JSeparator.html "class in javax.swing")
, [JSlider](JSlider.html "class in javax.swing")
, [JTabbedPane](JTabbedPane.html "class in javax.swing")
, [JTextField](JTextField.html "class in javax.swing")
, [JToggleButton](JToggleButton.html "class in javax.swing")
, [JToolBar](JToolBar.html "class in javax.swing")
, [JToolBar.Separator](JToolBar.Separator.html "class in javax.swing")
, [LabelView](text/LabelView.html "class in javax.swing.text")
, [ListView](text/html/ListView.html "class in javax.swing.text.html")
, [MetalBorders.ToolBarBorder](plaf/metal/MetalBorders.ToolBarBorder.html "class in javax.swing.plaf.metal")
, [MetalComboBoxButton](plaf/metal/MetalComboBoxButton.html "class in javax.swing.plaf.metal")
, [MetalFileChooserUI.FileRenderer](plaf/metal/MetalFileChooserUI.FileRenderer.html "class in javax.swing.plaf.metal")
, [MetalFileChooserUI.FilterComboBoxRenderer](plaf/metal/MetalFileChooserUI.FilterComboBoxRenderer.html "class in javax.swing.plaf.metal")
, [MetalScrollBarUI](plaf/metal/MetalScrollBarUI.html "class in javax.swing.plaf.metal")
, [MetalScrollButton](plaf/metal/MetalScrollButton.html "class in javax.swing.plaf.metal")
, [MetalTabbedPaneUI](plaf/metal/MetalTabbedPaneUI.html "class in javax.swing.plaf.metal")
, [MetalToolBarUI](plaf/metal/MetalToolBarUI.html "class in javax.swing.plaf.metal")
, [ObjectView](text/html/ObjectView.html "class in javax.swing.text.html")
, [ParagraphView](text/html/ParagraphView.html "class in javax.swing.text.html")
, [ParagraphView](text/ParagraphView.html "class in javax.swing.text")
, [PasswordView](text/PasswordView.html "class in javax.swing.text")
, [PlainView](text/PlainView.html "class in javax.swing.text")
, [SwingUtilities](SwingUtilities.html "class in javax.swing")
, [SynthScrollBarUI](plaf/synth/SynthScrollBarUI.html "class in javax.swing.plaf.synth")
, [SynthTabbedPaneUI](plaf/synth/SynthTabbedPaneUI.html "class in javax.swing.plaf.synth")
, [SynthToolBarUI](plaf/synth/SynthToolBarUI.html "class in javax.swing.plaf.synth")
, [TableView](text/TableView.html "class in javax.swing.text")
, [TableView.TableCell](text/TableView.TableCell.html "class in javax.swing.text")
, [TableView.TableRow](text/TableView.TableRow.html "class in javax.swing.text")
, [View](text/View.html "class in javax.swing.text")
, [WrappedPlainView](text/WrappedPlainView.html "class in javax.swing.text")
, [ZoneView](text/ZoneView.html "class in javax.swing.text")
public interface SwingConstants
A collection of constants generally used for positioning and orienting components on the screen.
Since:
1.2
Field Summary
Fields
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). |
Field Details
CENTER
static final int CENTER
The central position in an area. Used for both compass-direction constants (NORTH, etc.) and box-orientation constants (TOP, etc.).
See Also:
Constant Field ValuesTOP
static final int TOP
Box-orientation constant used to specify the top of a box.
See Also:
Constant Field ValuesLEFT
static final int LEFT
Box-orientation constant used to specify the left side of a box.
See Also:
Constant Field ValuesBOTTOM
static final int BOTTOM
Box-orientation constant used to specify the bottom of a box.
See Also:
Constant Field ValuesRIGHT
static final int RIGHT
Box-orientation constant used to specify the right side of a box.
See Also:
Constant Field ValuesNORTH
static final int NORTH
Compass-direction North (up).
See Also:
Constant Field ValuesNORTH_EAST
static final int NORTH_EAST
Compass-direction north-east (upper right).
See Also:
Constant Field ValuesEAST
static final int EAST
Compass-direction east (right).
See Also:
Constant Field ValuesSOUTH_EAST
static final int SOUTH_EAST
Compass-direction south-east (lower right).
See Also:
Constant Field ValuesSOUTH
static final int SOUTH
Compass-direction south (down).
See Also:
Constant Field ValuesSOUTH_WEST
static final int SOUTH_WEST
Compass-direction south-west (lower left).
See Also:
Constant Field ValuesWEST
static final int WEST
Compass-direction west (left).
See Also:
Constant Field ValuesNORTH_WEST
static final int NORTH_WEST
Compass-direction north west (upper left).
See Also:
Constant Field ValuesHORIZONTAL
static final int HORIZONTAL
Horizontal orientation. Used for scrollbars and sliders.
See Also:
Constant Field ValuesVERTICAL
static final int VERTICAL
Vertical orientation. Used for scrollbars and sliders.
See Also:
Constant Field ValuesLEADING
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.
See Also:
Constant Field ValuesTRAILING
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.
See Also:
Constant Field ValuesNEXT
static final int NEXT
Identifies the next direction in a sequence.
Since:
1.4
See Also:
Constant Field ValuesPREVIOUS
static final int PREVIOUS
Identifies the previous direction in a sequence.
Since:
1.4
See Also:
Constant Field Values