Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ComponentOrientation |
Component.getComponentOrientation()
Retrieves the language-sensitive orientation that is to be used to order
the elements or text within this component.
|
static ComponentOrientation |
ComponentOrientation.getOrientation(java.util.Locale locale)
Returns the orientation that is appropriate for the given locale.
|
static ComponentOrientation |
ComponentOrientation.getOrientation(java.util.ResourceBundle bdl)
Deprecated. As of J2SE 1.4, use
getOrientation(java.util.Locale) . |
Modifier and Type | Method and Description |
---|---|
void |
Container.applyComponentOrientation(ComponentOrientation o)
Sets the
ComponentOrientation property of this container
and all components contained within it. |
void |
Component.applyComponentOrientation(ComponentOrientation orientation)
Sets the
ComponentOrientation property of this component
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.
|