JavaTM Platform
Standard Ed. 6

クラス
java.awt.ComponentOrientation の使用

ComponentOrientation を使用しているパッケージ
java.awt ユーザーインタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。 
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.text 編集可能なテキストコンポーネントと編集不能なテキストコンポーネントを処理するクラスとインタフェースを提供します。 
 

java.awt での ComponentOrientation の使用
 

ComponentOrientation として宣言されている java.awt のフィールド
static ComponentOrientation ComponentOrientation.LEFT_TO_RIGHT
          アイテムは左から右に配置され、行は上から下に配置されます。
static ComponentOrientation ComponentOrientation.RIGHT_TO_LEFT
          アイテムは右から左に配置され、行は上から下に配置されます。
static ComponentOrientation ComponentOrientation.UNKNOWN
          コンポーネントの配置が設定されていないことを示します。
 

ComponentOrientation を返す java.awt のメソッド
 ComponentOrientation Component.getComponentOrientation()
          このコンポーネント内の要素またはテキストを整列するために使用する、言語に依存する方向を取得します。
static ComponentOrientation ComponentOrientation.getOrientation(Locale locale)
          措定されたロケールに対して適切な配置方向を返します。
static ComponentOrientation ComponentOrientation.getOrientation(ResourceBundle bdl)
          推奨されていません。 J2SE 1.4 からは getOrientation(java.util.Locale) を使用します。
 

ComponentOrientation 型のパラメータを持つ java.awt のメソッド
 void Container.applyComponentOrientation(ComponentOrientation o)
          このコンテナと含まれるすべてのコンポーネントの ComponentOrientation プロパティーを設定します。
 void Component.applyComponentOrientation(ComponentOrientation orientation)
          このコンポーネントと含まれるすべてのコンポーネントの ComponentOrientation プロパティーを設定します。
 void Component.setComponentOrientation(ComponentOrientation o)
          このコンポーネント内の要素またはテキストを整列するために使用する、言語に依存する方向を設定します。
 

javax.swing での ComponentOrientation の使用
 

ComponentOrientation 型のパラメータを持つ javax.swing のメソッド
 void JMenu.applyComponentOrientation(ComponentOrientation o)
          このメニューおよびこのメニューに含まれるすべてのコンポーネントの ComponentOrientation プロパティーを設定します。
 void JMenu.setComponentOrientation(ComponentOrientation o)
           
 void JScrollPane.setComponentOrientation(ComponentOrientation co)
          垂直および水平スクロールバーの方向を、ComponentOrientation 引数で指定されたものに設定します。
 

javax.swing.text での ComponentOrientation の使用
 

ComponentOrientation 型のパラメータを持つ javax.swing.text のメソッド
 void JTextComponent.setComponentOrientation(ComponentOrientation o)
           
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。