-
- All Known Implementing Classes:
- AbstractButton, AsyncBoxView, BasicArrowButton, BasicComboBoxRenderer, BasicComboBoxRenderer.UIResource, BasicInternalFrameUI.BorderListener, BasicScrollBarUI, BasicTabbedPaneUI, BasicToolBarUI, BlockView, BoxView, ComponentView, CompositeView, DefaultListCellRenderer, DefaultListCellRenderer.UIResource, DefaultTableCellRenderer, DefaultTableCellRenderer.UIResource, DefaultTreeCellEditor.DefaultTextField, DefaultTreeCellRenderer, FieldView, FlowView, FormView, GlyphView, IconView, ImageView, InlineView, JButton, JCheckBox, JCheckBoxMenuItem, JFormattedTextField, JLabel, JMenu, JMenuItem, JPasswordField, JPopupMenu.Separator, JProgressBar, JRadioButton, JRadioButtonMenuItem, JSeparator, JSlider, JTabbedPane, JTextField, JToggleButton, JToolBar, JToolBar.Separator, LabelView, ListView, MetalBorders.ToolBarBorder, MetalComboBoxButton, MetalFileChooserUI.FileRenderer, MetalFileChooserUI.FilterComboBoxRenderer, MetalScrollBarUI, MetalScrollButton, MetalTabbedPaneUI, MetalToolBarUI, ObjectView, ParagraphView, ParagraphView, PasswordView, PlainView, SwingUtilities, SynthScrollBarUI, SynthTabbedPaneUI, SynthToolBarUI, TableView, TableView.TableCell, TableView.TableRow, View, WrappedPlainView, ZoneView
public interface SwingConstants
A collection of constants generally used for positioning and orienting components on the screen.
-
-
Field Summary
Fields Modifier and Type Field and 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 Detail
-
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 Values
-
TOP
static final int TOP
Box-orientation constant used to specify the top of a box.- See Also:
- Constant Field Values
-
LEFT
static final int LEFT
Box-orientation constant used to specify the left side of a box.- See Also:
- Constant Field Values
-
BOTTOM
static final int BOTTOM
Box-orientation constant used to specify the bottom of a box.- See Also:
- Constant Field Values
-
RIGHT
static final int RIGHT
Box-orientation constant used to specify the right side of a box.- See Also:
- Constant Field Values
-
NORTH
static final int NORTH
Compass-direction North (up).- See Also:
- Constant Field Values
-
NORTH_EAST
static final int NORTH_EAST
Compass-direction north-east (upper right).- See Also:
- Constant Field Values
-
EAST
static final int EAST
Compass-direction east (right).- See Also:
- Constant Field Values
-
SOUTH_EAST
static final int SOUTH_EAST
Compass-direction south-east (lower right).- See Also:
- Constant Field Values
-
SOUTH
static final int SOUTH
Compass-direction south (down).- See Also:
- Constant Field Values
-
SOUTH_WEST
static final int SOUTH_WEST
Compass-direction south-west (lower left).- See Also:
- Constant Field Values
-
WEST
static final int WEST
Compass-direction west (left).- See Also:
- Constant Field Values
-
NORTH_WEST
static final int NORTH_WEST
Compass-direction north west (upper left).- See Also:
- Constant Field Values
-
HORIZONTAL
static final int HORIZONTAL
Horizontal orientation. Used for scrollbars and sliders.- See Also:
- Constant Field Values
-
VERTICAL
static final int VERTICAL
Vertical orientation. Used for scrollbars and sliders.- See Also:
- Constant Field Values
-
LEADING
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 Values
-
TRAILING
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 Values
-
NEXT
static final int NEXT
Identifies the next direction in a sequence.- Since:
- 1.4
- See Also:
- Constant Field Values
-
PREVIOUS
static final int PREVIOUS
Identifies the previous direction in a sequence.- Since:
- 1.4
- See Also:
- Constant Field Values
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/11/2024 21:38:05 Cette version de la page est en cache (à la date du 21/11/2024 21:38:05) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la dernère version de la page.Document créé le 29/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/swing/swingconstants.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.