Uses of Class
java.awt.ComponentOrientation
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of ComponentOrientation in java.awt
Modifier and TypeFieldDescriptionstatic final ComponentOrientation
ComponentOrientation.LEFT_TO_RIGHT
Items run left to right and lines flow top to bottom Examples: English, French.static final ComponentOrientation
ComponentOrientation.RIGHT_TO_LEFT
Items run right to left and lines flow top to bottom Examples: Arabic, Hebrew.static final ComponentOrientation
ComponentOrientation.UNKNOWN
Indicates that a component's orientation has not been set.Modifier and TypeMethodDescriptionComponent.getComponentOrientation()
Retrieves the language-sensitive orientation that is to be used to order the elements or text within this component.static ComponentOrientation
ComponentOrientation.getOrientation
(Locale locale) Returns the orientation that is appropriate for the given locale.static ComponentOrientation
ComponentOrientation.getOrientation
(ResourceBundle bdl) Deprecated.Modifier and TypeMethodDescriptionvoid
Component.applyComponentOrientation
(ComponentOrientation orientation) Sets theComponentOrientation
property of this component and all components contained within it.void
Container.applyComponentOrientation
(ComponentOrientation o) Sets theComponentOrientation
property of this container and all components contained within it.void
Component.setComponentOrientation
(ComponentOrientation o) Sets the language-sensitive orientation that is to be used to order the elements or text within this component. -
Uses of ComponentOrientation in javax.swing
Modifier and TypeMethodDescriptionvoid
Sets theComponentOrientation
property of this menu and all components contained within it.void
Sets the orientation for this menu and its associated popup menu determined by theComponentOrientation
argument.void
JScrollPane.setComponentOrientation
(ComponentOrientation co) Sets the orientation for the vertical and horizontal scrollbars as determined by theComponentOrientation
argument.
getOrientation(java.util.Locale)
.