クラスjava.awt.ComponentOrientation
の使用
- 
ComponentOrientationを使用するパッケージ パッケージ 説明 java.awt ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
- 
- 
java.awtでのComponentOrientationの使用ComponentOrientationとして宣言されているjava.awtのフィールド 修飾子と型 フィールド 説明 static ComponentOrientationComponentOrientation. LEFT_TO_RIGHTアイテムは左から右に配置され、行は上から下に配置されます。英語、フランス語などがこれに該当します。static ComponentOrientationComponentOrientation. RIGHT_TO_LEFTアイテムは右から左に配置され、行は上から下に配置されます。アラビア語、ヘブライ語などがこれに該当します。static ComponentOrientationComponentOrientation. UNKNOWNコンポーネントの配置が設定されていないことを示します。ComponentOrientationを返すjava.awtのメソッド 修飾子と型 メソッド 説明 ComponentOrientationComponent. getComponentOrientation()このコンポーネント内の要素またはテキストを整列するために使用する、言語に依存する方向を取得します。static ComponentOrientationComponentOrientation. getOrientation(Locale locale)措定されたロケールに対して適切な配置方向を返します。static ComponentOrientationComponentOrientation. getOrientation(ResourceBundle bdl)非推奨。J2SE 1.4から、getOrientation(java.util.Locale)を使用します。ComponentOrientation型のパラメータを持つjava.awtのメソッド 修飾子と型 メソッド 説明 voidComponent. applyComponentOrientation(ComponentOrientation orientation)このコンポーネントと、その中に含まれているすべてのコンポーネントのComponentOrientationプロパティを設定します。voidContainer. applyComponentOrientation(ComponentOrientation o)このコンテナと、その中に含まれているすべてのコンポーネントのComponentOrientationプロパティを設定します。voidComponent. setComponentOrientation(ComponentOrientation o)このコンポーネント内の要素またはテキストを整列するために使用する、言語に依存する方向を設定します。
- 
javax.swingでのComponentOrientationの使用ComponentOrientation型のパラメータを持つjavax.swingのメソッド 修飾子と型 メソッド 説明 voidJMenu. applyComponentOrientation(ComponentOrientation o)このメニューおよびこのメニューに含まれるすべてのコンポーネントのComponentOrientationプロパティを設定します。voidJScrollPane. setComponentOrientation(ComponentOrientation co)垂直および水平スクロール・バーの方向を、ComponentOrientation引数で指定された方向に設定します。
 
-