Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.awt.ComponentOrientation

Packages that use ComponentOrientation
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
javax.swing | 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 ComponentOrientation
`static ComponentOrientation` | `ComponentOrientation.LEFT_TO_RIGHT` Items run left to right and lines flow top to bottom Examples: English, French.
`static ComponentOrientation` | `ComponentOrientation.RIGHT_TO_LEFT` Items run right to left and lines flow top to bottom Examples: Arabic, Hebrew.
`static ComponentOrientation` | `ComponentOrientation.UNKNOWN` Indicates that a component's orientation has not been set.

Methods in java.awt that return ComponentOrientation
`ComponentOrientation` | `Component.getComponentOrientation()` Retrieve the language-sensitive orientation that is to be used to order the elements or text within this component.
`static ComponentOrientation` | `ComponentOrientation.getOrientation(Locale locale)` Return the orientation that is appropriate for the given locale
`static ComponentOrientation` | `ComponentOrientation.getOrientation(ResourceBundle bdl)` Return the orientation appropriate for the given ResourceBundle's localization.

Methods in java.awt with parameters of type ComponentOrientation
`void` | `Component.setComponentOrientation(ComponentOrientation o)` Set 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 ComponentOrientation
`void` | `JScrollPane.setComponentOrientation(ComponentOrientation co)` Sets the orientation for the vertical and horizontal scrollbars as determined by the `ComponentOrientation` argument.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.