Java java.awt ComponentOrientation fields, constructors, methods, implement or subclass

Example usage for Java java.awt ComponentOrientation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt ComponentOrientation.

The text is from its open source code.

Field

ComponentOrientationLEFT_TO_RIGHT
Items run left to right and lines flow top to bottom Examples: English, French.
ComponentOrientationRIGHT_TO_LEFT
Items run right to left and lines flow top to bottom Examples: Arabic, Hebrew.

Method

ComponentOrientationgetOrientation(Locale locale)
Returns the orientation that is appropriate for the given locale.
ComponentOrientationgetOrientation(ResourceBundle bdl)
Returns the orientation appropriate for the given ResourceBundle's localization.
booleanisHorizontal()
Are lines horizontal?
booleanisLeftToRight()
HorizontalLines: Do items run left-to-right?
Vertical Lines: Do lines run left-to-right?
This will return true for horizontal, left-to-right writing systems such as Roman.