Uses of Class
java.awt.ComponentOrientation
Packages that use 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
Fields in java.awt declared as ComponentOrientationModifier and TypeFieldDescriptionstatic ComponentOrientationComponentOrientation.LEFT_TO_RIGHTItems run left to right and lines flow top to bottom Examples: English, French.static ComponentOrientationComponentOrientation.RIGHT_TO_LEFTItems run right to left and lines flow top to bottom Examples: Arabic, Hebrew.static ComponentOrientationComponentOrientation.UNKNOWNIndicates that a component's orientation has not been set.Methods in java.awt that return ComponentOrientationModifier and TypeMethodDescriptionComponent.getComponentOrientation()Retrieves the language-sensitive orientation that is to be used to order the elements or text within this component.static ComponentOrientationComponentOrientation.getOrientation(Locale locale)Returns the orientation that is appropriate for the given locale.static ComponentOrientationComponentOrientation.getOrientation(ResourceBundle bdl)Deprecated.Methods in java.awt with parameters of type ComponentOrientationModifier and TypeMethodDescriptionvoidComponent.applyComponentOrientation(ComponentOrientation orientation)Sets theComponentOrientationproperty of this component and all components contained within it.voidContainer.applyComponentOrientation(ComponentOrientation o)Sets theComponentOrientationproperty of this container and all components contained within it.voidComponent.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
Methods in javax.swing with parameters of type ComponentOrientationModifier and TypeMethodDescriptionvoidSets theComponentOrientationproperty of this menu and all components contained within it.voidJScrollPane.setComponentOrientation(ComponentOrientation co)Sets the orientation for the vertical and horizontal scrollbars as determined by theComponentOrientationargument.
getOrientation(java.util.Locale).