-
- 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 SwingConstantsA collection of constants generally used for positioning and orienting components on the screen.
-
-
Field Summary
Fields Modifier and Type Field and Description static intBOTTOMBox-orientation constant used to specify the bottom of a box.static intCENTERThe central position in an area.static intEASTCompass-direction east (right).static intHORIZONTALHorizontal orientation.static intLEADINGIdentifies the leading edge of text for use with left-to-right and right-to-left languages.static intLEFTBox-orientation constant used to specify the left side of a box.static intNEXTIdentifies the next direction in a sequence.static intNORTHCompass-direction North (up).static intNORTH_EASTCompass-direction north-east (upper right).static intNORTH_WESTCompass-direction north west (upper left).static intPREVIOUSIdentifies the previous direction in a sequence.static intRIGHTBox-orientation constant used to specify the right side of a box.static intSOUTHCompass-direction south (down).static intSOUTH_EASTCompass-direction south-east (lower right).static intSOUTH_WESTCompass-direction south-west (lower left).static intTOPBox-orientation constant used to specify the top of a box.static intTRAILINGIdentifies the trailing edge of text for use with left-to-right and right-to-left languages.static intVERTICALVertical orientation.static intWESTCompass-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
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/swing/SwingConstants.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.