JavaTM Platform
Standard Ed. 6

クラス
java.awt.Component の使用

Component を使用しているパッケージ
java.applet アプレットの作成、およびアプレットとアプレットコンテキストとの通信に使用するクラスの作成に必要なクラスを提供します。 
java.awt ユーザーインタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。 
java.awt.dnd ドラッグ&ドロップ操作は、多くのグラフィカルユーザーインタフェースシステムで見られる直接的な操作ジェスチャーで、GUI の表現要素に論理的に関連した 2 つのエンティティー間で情報を変換する機構を提供します。 
java.awt.event AWT コンポーネントによってトリガーされるさまざまな種類のイベントを処理するインタフェースとクラスを提供します。 
java.awt.im インプットメソッドフレームワークのためのクラスおよびインタフェースを提供します。 
java.beans Beans (JavaBeansTM アーキテクチャーに基づいたコンポーネント) の開発に関連するクラスが含まれています。 
java.beans.beancontext Bean コンテキストに関連するクラスおよびインタフェースを提供します。 
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.border Swing コンポーネントの周囲に各種ボーダーを描画するためのクラスおよびインタフェースを提供します。 
javax.swing.colorchooser このパッケージには、JColorChooser コンポーネントによって使われるクラスおよびインタフェースが含まれています。 
javax.swing.event Swing コンポーネントによってトリガーされるイベントを提供します。 
javax.swing.plaf 1 つのインタフェースおよび多くの abstract クラスを提供しており、Swing は、プラグイン可能な Look & Feel 機能を実現するためにこれらのクラスを利用します。 
javax.swing.plaf.basic 基本 Look & Feel に従って構築されたユーザーインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal デフォルトの Look & Feel である Java Look & Feel (コード名は Metal) に従って作成されたユーザーインタフェースオブジェクトを提供します。 
javax.swing.plaf.synth Synth は、すべてのペイントが委譲されるスキン設定可能な Look & Feel です。 
javax.swing.table javax.swing.JTable を処理するためのクラスおよびインタフェースを提供します。 
javax.swing.text 編集可能なテキストコンポーネントと編集不能なテキストコンポーネントを処理するクラスとインタフェースを提供します。 
javax.swing.text.html HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。 
javax.swing.tree javax.swing.JTree を処理するためのクラスとインタフェースを提供します。 
 

java.applet での Component の使用
 

java.applet での Component のサブクラス
 class Applet
          アプレットとは、単独で動作することはなく、ほかのアプリケーションの中に組み込まれた形で実行される小さなプログラムです。
 

java.awt での Component の使用
 

java.awt での Component のサブクラス
 class Button
          このクラスはラベル付きボタンを生成します。
 class Canvas
          Canvas コンポーネントは、アプリケーションが描画したり、ユーザーからの入力イベントをトラップしたりすることができる空白の矩形の画面領域を表します。
 class Checkbox
          チェックボックスは、「オン」 (true) または「オフ」 (false) のどちらかの状態をとることができるグラフィカルコンポーネントです。
 class Choice
          Choice クラスは選択範囲のポップアップメニューを表します。
 class Container
          総称 Abstract Window Toolkit (AWT) コンテナオブジェクトは、ほかの AWT コンポーネントを含むことができるコンポーネントです。
 class Dialog
          Dialog は、タイトルおよびボーダーを持つトップレベルのウィンドウであり、通常はユーザーからの入力を受け付けるために使用されます。
 class FileDialog
          FileDialog クラスは、ユーザーがファイルを選択できるダイアログウィンドウを表示します。
 class Frame
          Frame は、タイトルとボーダーを持つトップレベルウィンドウです。
 class Label
          Label オブジェクトは、コンテナ内にテキストを配置するためのコンポーネントです。
 class List
          List コンポーネントは、テキスト項目のスクロールリストをユーザーに対して表示します。
 class Panel
          Panel はもっともシンプルなコンテナクラスです。
 class Scrollbar
          Scrollbar クラスは、よく使用されるユーザーインタフェースオブジェクトであるスクロールバーを実現します。
 class ScrollPane
          1 つの子コンポーネントに対して、自動水平または垂直スクロールあるいはその両方を実装するコンテナクラスです。
 class TextArea
          TextArea オブジェクトは、テキストを表示する複数行領域です。
 class TextComponent
          TextComponent クラスは、テキストの編集を可能にするすべてのコンポーネントのスーパークラスです。
 class TextField
          TextField オブジェクトは、1 行のテキストの編集を行えるようにするテキストコンポーネントです。
 class Window
          Window オブジェクトはボーダーおよびメニューバーを持たないトップレベルウィンドウです。
 

Component 型の型パラメータを持つ java.awt のフィールド
protected  Hashtable<Component,GridBagConstraints> GridBagLayout.comptable
          このハッシュテーブルは、コンポーネントとコンポーネントのグリッドバッグ制約との関連性を維持します。
 

Component を返す java.awt のメソッド
 Component Container.add(Component comp)
          指定されたコンポーネントをこのコンテナの最後に追加します。
 Component Container.add(Component comp, int index)
          指定されたコンポーネントを、このコンテナの指定された位置に追加します。
 Component Container.add(String name, Component comp)
          指定されたコンポーネントをこのコンテナに追加します。
 Component Container.findComponentAt(int x, int y)
          指定された点を格納する可視の子コンポーネントを検索します。
 Component Container.findComponentAt(Point p)
          指定された点を格納する可視の子コンポーネントを検索します。
 Component Container.getComponent(int n)
          コンテナ内の n 番目のコンポーネントを返します。
 Component ContainerOrderFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          aComponent のあとでフォーカスを受け取る Component を返します。
abstract  Component FocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          aComponent のあとでフォーカスを受け取る Component を返します。
 Component Container.getComponentAt(int x, int y)
          x、y 座標を含むコンポーネントを探します。
 Component Component.getComponentAt(int x, int y)
          このコンポーネントまたはその直接のサブコンポーネントが位置 (xy) を含んでいるかどうかを判定します。
 Component Container.getComponentAt(Point p)
          指定された点を含むコンポーネントを返します。
 Component Component.getComponentAt(Point p)
          指定された点を含むコンポーネントまたはサブコンポーネントを返します。
 Component ContainerOrderFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
abstract  Component FocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
 Component[] Container.getComponents()
          コンテナ内のすべてのコンポーネントを返します。
 Component ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container aContainer)
          フォーカスするデフォルトの Component を返します。
abstract  Component FocusTraversalPolicy.getDefaultComponent(Container aContainer)
          フォーカスするデフォルトの Component を返します。
 Component ContainerOrderFocusTraversalPolicy.getFirstComponent(Container aContainer)
          トラバーサルサイクルの最初の Component を返します。
abstract  Component FocusTraversalPolicy.getFirstComponent(Container aContainer)
          トラバーサルサイクルの最初の Component を返します。
 Component Window.getFocusOwner()
          この Window がフォーカスされている場合は、この Window の子 Component を返します。
 Component KeyboardFocusManager.getFocusOwner()
          フォーカスの所有者が呼び出し側と同じコンテキストにある場合、フォーカスの所有者を返します。
protected  Component KeyboardFocusManager.getGlobalFocusOwner()
          呼び出し側スレッドがフォーカスの所有者と異なるコンテキストにある場合でも、フォーカスの所有者を返します。
protected  Component KeyboardFocusManager.getGlobalPermanentFocusOwner()
          パーマネントフォーカスの所有者が呼び出し側スレッドと異なるコンテキストにある場合でも、パーマネントフォーカスの所有者を返します。
 Component FocusTraversalPolicy.getInitialComponent(Window window)
          ウィンドウが最初に表示されたときにフォーカスが設定されるコンポーネントを返します。
 Component ContainerOrderFocusTraversalPolicy.getLastComponent(Container aContainer)
          トラバーサルサイクルの最後の Component を返します。
abstract  Component FocusTraversalPolicy.getLastComponent(Container aContainer)
          トラバーサルサイクルの最後の Component を返します。
 Component BorderLayout.getLayoutComponent(Container target, Object constraints)
          目的の Container のコンポーネント方向に基づいて、指定された制約の場所に対応するコンポーネントを返します。
 Component BorderLayout.getLayoutComponent(Object constraints)
          指定された制約で追加されたコンポーネントを取得します。
 Component Window.getMostRecentFocusOwner()
          この Window がフォーカスされるときに、フォーカスを受け取るこの Window の子 Component を返します。
 Component KeyboardFocusManager.getPermanentFocusOwner()
          パーマネントフォーカスの所有者が呼び出し側スレッドと同じコンテキストにある場合、パーマネントフォーカスの所有者を返します。
 Component Container.locate(int x, int y)
          推奨されていません。 JDK Version 1.1 以降は、 getComponentAt(int, int) に置き換えられました。
 Component Component.locate(int x, int y)
          推奨されていません。 JDK Version 1.1 以降は、 getComponentAt(int, int) に置き換えられました。
 

Component 型のパラメータを持つ java.awt のメソッド
protected  boolean DefaultFocusTraversalPolicy.accept(Component aComponent)
          Component が新しいフォーカスオーナとして適切かどうかを判定します。
protected  boolean ContainerOrderFocusTraversalPolicy.accept(Component aComponent)
          Component が新しいフォーカスオーナとして適切かどうかを判定します。
 Component Container.add(Component comp)
          指定されたコンポーネントをこのコンテナの最後に追加します。
 Component Container.add(Component comp, int index)
          指定されたコンポーネントを、このコンテナの指定された位置に追加します。
 void Container.add(Component comp, Object constraints)
          指定されたコンポーネントをこのコンテナの最後に追加します。
 void Container.add(Component comp, Object constraints, int index)
          指定されたコンポーネントを、指定されたインデックスと指定された制約で、コンテナへ追加します。
 Component Container.add(String name, Component comp)
          指定されたコンポーネントをこのコンテナに追加します。
protected  void Container.addImpl(Component comp, Object constraints, int index)
          指定されたコンポーネントを、指定されたインデックスで、コンテナへ追加します。
protected  void ScrollPane.addImpl(Component comp, Object constraints, int index)
          指定されたコンポーネントを、このスクロールペインコンテナに追加します。
 void BorderLayout.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
 void LayoutManager2.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
 void CardLayout.addLayoutComponent(Component comp, Object constraints)
          このカードレイアウト内部の名前テーブルに、指定されたコンポーネントを追加します。
 void GridBagLayout.addLayoutComponent(Component comp, Object constraints)
          指定された constraints オブジェクトを使用して、指定されたコンポーネントをレイアウトに追加します。
 void LayoutManager.addLayoutComponent(String name, Component comp)
          レイアウトマネージャーがコンポーネントごとの文字列を使用する場合、レイアウトにコンポーネントの comp を追加し、name によって指定された文字列に関連付けます。
 void BorderLayout.addLayoutComponent(String name, Component comp)
          推奨されていません。 addLayoutComponent(Component, Object) に置き換えられました。
 void FlowLayout.addLayoutComponent(String name, Component comp)
          指定されたコンポーネントをレイアウトに追加します。
 void CardLayout.addLayoutComponent(String name, Component comp)
          推奨されていません。 addLayoutComponent(Component, Object) に 置き換えられました。
 void GridLayout.addLayoutComponent(String name, Component comp)
          指定された名前で、指定されたコンポーネントをレイアウトに追加します。
 void GridBagLayout.addLayoutComponent(String name, Component comp)
          このレイアウトマネージャーはコンポーネントごとの文字列を使用しないため、何もしません。
protected  java.awt.peer.LightweightPeer Toolkit.createComponent(Component target)
          コンポーネントまたはコンテナのピアを作成します。
<T extends DragGestureRecognizer>
T
Toolkit.createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
          要求された abstract クラス DragGestureRecognizer の、プラットフォームに依存する具象サブクラスを作成し、指定された DragSource、Component、および DragGestureListener に関連付けます。
protected abstract  void KeyboardFocusManager.dequeueKeyEvents(long after, Component untilFocused)
          遅延した KeyEvents のディスパッチを取り消すよう KeyboardFocusManager に通知するために AWT によって呼び出されます。
protected  void DefaultKeyboardFocusManager.dequeueKeyEvents(long after, Component untilFocused)
          同じタイムスタンプとコンポーネントで enqueueKeyEvents が呼び出されたため、待ち行列のすべての KeyEvents を、通常のディスパッチの現在のフォーカス所有者に開放します。
protected abstract  void KeyboardFocusManager.discardKeyEvents(Component comp)
          遅延した KeyEvents のディスパッチを取り消すよう KeyboardFocusManager に通知するために AWT によって呼び出されます。
protected  void DefaultKeyboardFocusManager.discardKeyEvents(Component comp)
          特定のコンポーネント、またはその下位コンポーネントを指定した enqueueKeyEvents 呼び出しが複数回行われているため、待ち行列のすべての KeyEvents を破棄します。
protected abstract  void KeyboardFocusManager.enqueueKeyEvents(long after, Component untilFocused)
          指定された Component がフォーカスの所有者になるまで、KeyEvents のディスパッチを遅延させる必要があることを KeyboardFocusManager に通知するために AWT によって呼び出されます。
protected  void DefaultKeyboardFocusManager.enqueueKeyEvents(long after, Component untilFocused)
          指定されたコンポーネントがフォーカス所有者となるまで、KeyEvents のディスパッチを遅らせます。
abstract  void KeyboardFocusManager.focusNextComponent(Component aComponent)
          通常 FocusTraversalPolicy に基づいて、aComponent のあとで Component をフォーカスします。
 void DefaultKeyboardFocusManager.focusNextComponent(Component aComponent)
          通常 FocusTraversalPolicy に基づいて、aComponent のあとで Component をフォーカスします。
abstract  void KeyboardFocusManager.focusPreviousComponent(Component aComponent)
          通常 FocusTraversalPolicy に基づいて、aComponent の前に Component をフォーカスします。
 void DefaultKeyboardFocusManager.focusPreviousComponent(Component aComponent)
          通常 FocusTraversalPolicy に基づいて、aComponent の前に Component をフォーカスします。
 Component ContainerOrderFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          aComponent のあとでフォーカスを受け取る Component を返します。
abstract  Component FocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          aComponent のあとでフォーカスを受け取る Component を返します。
 Component ContainerOrderFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
abstract  Component FocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
 int Container.getComponentZOrder(Component comp)
          コンテナ内のコンポーネントの Z 軸順インデックスを返します。
 Object BorderLayout.getConstraints(Component comp)
          指定されたコンポーネントの制約を取得します。
 GridBagConstraints GridBagLayout.getConstraints(Component comp)
          指定されたコンポーネントの制約を返します。
protected static Container Toolkit.getNativeContainer(Component c)
          ネイティブピアに、ネイティブコンポーネントを与えてネイティブコンテナを照会する能力を与えます (直接の親は軽量である可能性がある)。
 boolean Container.isAncestorOf(Component c)
          コンポーネントがこのコンテナのコンポーネント階層に格納されているかどうかを判定します。
protected  GridBagConstraints GridBagLayout.lookupConstraints(Component comp)
          指定されたコンポーネントの制約を返します。
abstract  void KeyboardFocusManager.processKeyEvent(Component focusedComponent, KeyEvent e)
          KeyEvent が指定された focusedComponent に対してフォーカストラバーサルキーを示す場合にのみ、このメソッドはフォーカストラバーサル操作を初期化します。
 void DefaultKeyboardFocusManager.processKeyEvent(Component focusedComponent, KeyEvent e)
          KeyEvent が指定された focusedComponent に対してフォーカストラバーサルキーを示す場合にのみ、このメソッドはフォーカストラバーサル操作を初期化します。
 void KeyboardFocusManager.redispatchEvent(Component target, AWTEvent e)
          AWT イベントディスパッチャーに対して KeyboardFocusManager、またはインストールされた任意の KeyEventDispatchers が再度イベントを再帰的にディスパッチすることを要求しないような方法で AWTEvent を再ディスパッチします。
 void Container.remove(Component comp)
          コンテナから、指定されたコンポーネントを削除します。
 void LayoutManager.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void BorderLayout.removeLayoutComponent(Component comp)
          このボーダレイアウトから、指定されたコンポーネントを削除します。
 void FlowLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void CardLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void GridLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void GridBagLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをこのレイアウトから削除します。
 void Container.setComponentZOrder(Component comp, int index)
          指定されたコンポーネントを、コンテナの指定された Z 軸順のインデックスに移動します。
 void GridBagLayout.setConstraints(Component comp, GridBagConstraints constraints)
          このレイアウトの指定されたコンポーネントに対して制約を設定します。
protected  void KeyboardFocusManager.setGlobalFocusOwner(Component focusOwner)
          フォーカスの所有者を設定します。
protected  void KeyboardFocusManager.setGlobalPermanentFocusOwner(Component permanentFocusOwner)
          パーマネントフォーカスの所有者を設定します。
 void Window.setLocationRelativeTo(Component c)
          指定されたコンポーネントを基準にしてウィンドウの位置を設定します。
 void PopupMenu.show(Component origin, int x, int y)
          元のコンポーネントからの相対位置 x, y にポップアップメニューを表示します。
abstract  void KeyboardFocusManager.upFocusCycle(Component aComponent)
          フォーカスを 1 つ上のフォーカストラバーサルサイクルに移動します。
 void DefaultKeyboardFocusManager.upFocusCycle(Component aComponent)
          フォーカスを 1 つ上のフォーカストラバーサルサイクルに移動します。
 

Component 型のパラメータを持つ java.awt のコンストラクタ
MediaTracker(Component comp)
          指定されたコンポーネントのイメージを監視するメディアトラッカーを作成します。
 

java.awt.dnd での Component の使用
 

Component として宣言されている java.awt.dnd のフィールド
protected  Component DragGestureRecognizer.component
          DragGestureRecognizer に関連した Component です。
 

Component を返す java.awt.dnd のメソッド
 Component DropTarget.getComponent()
          この DropTarget に関連付けられた Component を取得します。
 Component DropTargetContext.getComponent()
          このメソッドは、この DropTargetContext に関連した Component を返します。
 Component DragSourceContext.getComponent()
          DragSourceContext に関連した Component を返します。
 Component DragGestureRecognizer.getComponent()
          このメソッドは、ドラッグ開始ジェスチャーを DragGestureRecognizer に「監視」される Component を返します。
 Component DragGestureEvent.getComponent()
          DragGestureEvent に関連した Component を返します。
 

Component 型のパラメータを持つ java.awt.dnd のメソッド
 DragGestureRecognizer DragSource.createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
          この DragSourceDragGestureRecognizer のデフォルト抽象サブクラスを実装する新しい DragSourceRecognizer を作成し、新しく作成されたオブジェクトに、指定された Component および DragGestureListener を設定します。
<T extends DragGestureRecognizer>
T
DragSource.createDragGestureRecognizer(Class<T> recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
          DragGestureRecognizer の指定された抽象サブクラスを実装する新しい DragGestureRecognizer を作成し、新しく作成されたオブジェクトに、指定された Component および DragGestureListener を設定します。
protected  DropTarget.DropTargetAutoScroller DropTarget.createDropTargetAutoScroller(Component c, Point p)
          組み込み自動スクローラを作成します。
 void DropTarget.setComponent(Component c)
          注:このインタフェースは、DropTarget と Component の安全な関連付けを次の 2 つの方法のどちらかで可能にする必要があります。
 void DragGestureRecognizer.setComponent(Component c)
          DragGestureRecognizer が関連付けられる Component を設定します。
 

Component 型のパラメータを持つ java.awt.dnd のコンストラクタ
DragGestureRecognizer(DragSource ds, Component c)
          このドラッグ&ドロップ操作に使用する DragSource、この DragGestureRecognizer がドラッグ開始ジェスチャーを「監視」できる Component を指定して新しい DragGestureRecognizer を構築します。
DragGestureRecognizer(DragSource ds, Component c, int sa)
          このドラッグ&ドロップ操作に使用する DragSource、この DragGestureRecognizer がドラッグ開始ジェスチャーを「監視」できる Component、このドラッグ&ドロップ操作をサポートするアクションを指定して新しい DragGestureRecognizer を構築します。
DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          このドラッグ&ドロップ操作に使用する DragSource、この DragGestureRecognizer がドラッグ開始ジェスチャーを「監視」できる Component、このドラッグ&ドロップ操作をサポートするアクション、および DragGestureListener を指定して新しい DragGestureRecognizer を構築して、ドラッグ開始ジェスチャーを検出したことを一度通知します。
DropTarget.DropTargetAutoScroller(Component c, Point p)
          DropTargetAutoScroller を構築します。
DropTarget(Component c, DropTargetListener dtl)
          関連付ける Component、イベント処理を扱う DropTargetListener で、DropTarget を作成します。
DropTarget(Component c, int ops, DropTargetListener dtl)
          関連付ける Component、サポートするデフォルトの許容アクションを表す int、イベント処理を扱う DropTargetListener で、DropTarget を作成します。
DropTarget(Component c, int ops, DropTargetListener dtl, boolean act)
          関連付ける Component、サポートするデフォルトの許容アクションを表す int、イベント処理を扱う DropTargetListenerDropTarget が現在ドロップを受け入れるかどうかを示す boolean から、DropTarget を作成します。
DropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm)
          関連付ける Component、サポートするデフォルトの許容アクションを表す int、イベント処理を扱う DropTargetListenerDropTarget が現在ドロップを受け入れるかどうかを示す boolean、そして使用する FlavorMap (またはデフォルトの FlavorMap の場合は null) から、新しい DropTarget を作成します。
MouseDragGestureRecognizer(DragSource ds, Component c)
          Component c の DragSource、および監視する Component を指定して、新しい MouseDragGestureRecognizer を構築します。
MouseDragGestureRecognizer(DragSource ds, Component c, int act)
          Component c の DragSource、監視する Component、およびこのドラッグ操作に許可されたアクションを指定して、新しい MouseDragGestureRecognizer を構築します。
MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          Component c の DragSource、監視する Component、このドラッグ操作に許可されたアクション、およびドラッグジェスチャーが検出されたときに通知する DragGestureListener を指定して、新しい MouseDragGestureRecognizer を構築します。
 

java.awt.event での Component の使用
 

Component を返す java.awt.event のメソッド
 Component HierarchyEvent.getChanged()
          変更された階層の最上位 Component を返します。
 Component ContainerEvent.getChild()
          イベントによって影響を受けたコンポーネントを返します。
 Component ComponentEvent.getComponent()
          イベントの発生元を返します。
 Component HierarchyEvent.getComponent()
          イベントの発生元を返します。
 Component FocusEvent.getOppositeComponent()
          このフォーカス変更に関係するもう一方の Component を返します。
 

Component 型のパラメータを持つ java.awt.event のコンストラクタ
ComponentEvent(Component source, int id)
          ComponentEvent オブジェクトを構築します。
ContainerEvent(Component source, int id, Component child)
          ContainerEvent オブジェクトを構築します。
FocusEvent(Component source, int id)
          FocusEvent オブジェクトを構築し、フォーカスの変更がパーマネントかどうかを判定します。
FocusEvent(Component source, int id, boolean temporary)
          FocusEvent オブジェクトを構築し、変更がテンポラリかどうかを判定します。
FocusEvent(Component source, int id, boolean temporary, Component opposite)
          指定されたテンポラリの状態で、反対の Component を持つ FocusEvent オブジェクトを構築します。
HierarchyEvent(Component source, int id, Component changed, Container changedParent)
          HierarchyEvent オブジェクトを構築して、Component 階層の変更を識別します。
HierarchyEvent(Component source, int id, Component changed, Container changedParent, long changeFlags)
          HierarchyEvent オブジェクトを構築して、Component 階層の変更を識別します。
InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          InputMethodEvent を構築します。
InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          InputMethodEvent を構築します。
InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)
          InputMethodEvent を構築します。
KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
          推奨されていません。 JDK1.1 以降
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
          KeyEvent オブジェクトを構築します。
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation)
           
MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger)
          指定された発生元のコンポーネント、タイプ、修飾子、座標、クリックカウントで、MouseEvent オブジェクトを構築します。
MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)
          指定された発生元のコンポーネント、タイプ、修飾子、座標、クリックカウントで、MouseEvent オブジェクトを構築します。
MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int button)
          指定された発生元のコンポーネント、タイプ、修飾子、座標、絶対座標、クリックカウントで、MouseEvent オブジェクトを構築します。
MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation)
          指定された発生元のコンポーネント、型、修飾子、座標、スクロールのタイプ、スクロールの量、およびホイール回転で、MouseWheelEvent オブジェクトを構築します。
MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation)
          指定された発生元のコンポーネント、型、修飾子、座標、絶対座標、スクロールのタイプ、スクロールの量、およびホイール回転で、MouseWheelEvent オブジェクトを構築します。
PaintEvent(Component source, int id, Rectangle updateRect)
          指定された発生元のコンポーネントと型で、PaintEvent オブジェクトを構築します。
 

java.awt.im での Component の使用
 

Component 型のパラメータを持つ java.awt.im のメソッド
 void InputContext.removeNotify(Component client)
          包含関係の階層からクライアントコンポーネントが削除されたか、またはコンポーネントでインプットメソッドがサポートされなくなったことを入力コンテキストに通知します。
 

java.beans での Component の使用
 

Component を返す java.beans のメソッド
 Component PropertyEditorSupport.getCustomEditor()
          PropertyEditor は、プロパティー値を編集する完全なカスタムコンポーネントを提供することができます。
 Component PropertyEditor.getCustomEditor()
          PropertyEditor は、プロパティー値を編集する完全なカスタムコンポーネントを提供することができます。
 

java.beans.beancontext での Component の使用
 

Component を返す java.beans.beancontext のメソッド
 Component BeanContextChildComponentProxy.getComponent()
          この BeanContextChild に関連した java.awt.Component を取得します。
 

javax.swing での Component の使用
 

javax.swing での Component のサブクラス
 class AbstractButton
          ボタンおよびメニュー項目の共通動作を定義します。
 class Box
          BoxLayout オブジェクトをレイアウトマネージャーとして使う軽量なコンテナです。
static class Box.Filler
          配置に含まれるがビューを持たない軽量コンポーネントの実装です。
 class CellRendererPane
          このクラスは、セルレンダリングとそれを使うコンポーネントの間に挿入されます。
 class DefaultListCellRenderer
          リスト内の項目を描画します。
static class DefaultListCellRenderer.UIResource
          UIResource を実装する DefaultListCellRenderer のサブクラスです。
 class JApplet
          JFC/Swing コンポーネントアーキテクチャーのサポートを追加する java.applet.Applet の拡張バージョンです。
 class JButton
          「プッシュ」ボタンの実装です。
 class JCheckBox
          チェックボックス、つまり選択あるいは選択解除できる項目の実装で、その状態を表示します。
 class JCheckBoxMenuItem
          選択または選択解除できるメニュー項目です。
 class JColorChooser
          JColorChooser は、ユーザーが色を選択および操作できるよう設計されたコントロールの区画を提供します。
 class JComboBox
          ボタン、または編集可能フィールドとドロップダウンリストを組み合わせたコンポーネントです。
 class JComponent
          トップレベルのコンテナを除くすべての Swing コンポーネントの基底クラスです。
 class JDesktopPane
          マルチドキュメントインタフェースまたは仮想デスクトップを生成するコンテナです。
 class JDialog
          ダイアログウィンドウを作成するためのメインクラスです。
 class JEditorPane
          さまざまな種類のコンテンツを編集するためのテキストコンポーネントです。
 class JFileChooser
          JFileChooser はユーザーがファイルを選択する単純な機構を提供します。
 class JFormattedTextField
          JFormattedTextField は、JTextField を拡張して、任意の値をフォーマットしたり、ユーザーがテキストを編集したあとでの特定のオブジェクトを取得したりする機能を追加します。
 class JFrame
          JFC/Swing コンポーネントアーキテクチャーのサポートを強化する java.awt.Frame の拡張バージョンです。
 class JInternalFrame
          ネイティブなフレームに、ドラッグ、クローズ、アイコン化、サイズ変更、タイトル表示、およびメニューバーのサポートなど、多くの機能を提供する軽量オブジェクトです。
static class JInternalFrame.JDesktopIcon
          このコンポーネントは JInternalFrame のアイコン化したバージョンを表します。
 class JLabel
          短いテキスト文字列やイメージの表示領域です。
 class JLayeredPane
          JLayeredPane は、JFC/Swing コンテナに深さを追加し、必要であればコンポーネントどうしが互いにオーバーラップできるようにします。
 class JList
          オブジェクトのリストを表示し、ユーザーが 1 つまたは複数のオブジェクトを選択できるようにするコンポーネントです。
 class JMenu
          メニューの実装であり、ユーザーが JMenuBar で項目を選択すると表示される JMenuItem を保持するポップアップウィンドウです。
 class JMenuBar
          メニューバーの実装です。
 class JMenuItem
          メニューの項目の実装です。
 class JOptionPane
          JOptionPane によって、ユーザーに値の入力を求めたり情報を提示したりする標準のダイアログボックスを簡単に表示することができます。
 class JPanel
          JPanel は、汎用の軽量コンテナです。
 class JPasswordField
          JPasswordField は、1 行のテキストの編集を可能にする、軽量コンポーネントです。
 class JPopupMenu
          ポップアップメニューの実装です。
static class JPopupMenu.Separator
          ポップアップメニュー固有のセパレータです。
 class JProgressBar
          一部のタスクの進捗状況を視覚的に表示するコンポーネントです。
 class JRadioButton
          ラジオボタンの実装です。
 class JRadioButtonMenuItem
          ラジオボタンメニュー項目の実装です。
 class JRootPane
          JFrameJDialogJWindowJApplet、および JInternalFrame が内部で使用する軽量コンテナです。
 class JScrollBar
          スクロールバーの実装です。
 class JScrollPane
          軽量コンポーネントのスクロール可能なビューを提供します。
protected  class JScrollPane.ScrollBar
          デフォルトでは、JScrollPane は、このクラスのインスタンスであるスクロールバーを作成します。
 class JSeparator
          JSeparator は、区切り線を実装するための汎用的なコンポーネントを提供します。
 class JSlider
          ユーザーが指定された区間内でノブをスライドすることによりグラフィカルに値を選択できるようにするコンポーネントです。
 class JSpinner
          ユーザーが、順序付けられたシーケンスから数またはオブジェクトを選択できるようにする単一行の入力フィールドです。
static class JSpinner.DateEditor
          モデルが SpinnerDateModelJSpinner 用のエディタです。
static class JSpinner.DefaultEditor
          特殊なエディタ用の簡単な基底クラスです。
static class JSpinner.ListEditor
          モデルが SpinnerListModelJSpinner 用のエディタです。
static class JSpinner.NumberEditor
          モデルが SpinnerNumberModelJSpinner 用のエディタです。
 class JSplitPane
          JSplitPane は 2 つの Component を分割するのに使います (2 つだけに分割)。
 class JTabbedPane
          指定されたタイトルやアイコンを持つタブをクリックすることにより、ユーザーがコンポーネントのグループを切り替えられるようにするコンポーネントです。
 class JTable
          JTable は、セルの通常の 2 次元テーブル形式を表示し、編集するために使用します。
 class JTextArea
          JTextArea は、プレーンテキストを表示する複数行の領域です。
 class JTextField
          JTextField は、1 行のテキストの編集を可能にする軽量コンポーネントです。
 class JTextPane
          グラフィックで表現される属性でマークアップできるテキストコンポーネントです。
 class JToggleButton
          二状態ボタンの実装です。
 class JToolBar
          JToolBar は、一般的に使用される Action またはコントロールを表示するのに役立つコンポーネントを提供します。
static class JToolBar.Separator
          ツールバー独自のセパレータです。
 class JToolTip
          Component の「ヒント」を表示するために使います。
 class JTree
           階層データのセットをアウトラインで表示するコントロールです。
 class JViewport
          基本となる情報を見るために使用する「ビューポート (窓)」です。
 class JWindow
          JWindow は、ユーザーのデスクトップ上のどこにでも表示できるコンテナです。
 

Component として宣言されている javax.swing のフィールド
protected static Component ImageIcon.component
           
protected  Component JTable.editorComp
          編集時であれば、編集を処理している Component です。
protected  Component JRootPane.glassPane
          メニューバーとコンテンツ区画にオーバーレイするガラス区画です。
protected  Component JLabel.labelFor
           
protected  Component JSplitPane.leftComponent
          左または上のコンポーネントです。
protected  Component JScrollPane.lowerLeft
          左下隅に表示するコンポーネントです。
protected  Component ScrollPaneLayout.lowerLeft
          左下隅に表示するコンポーネントです。
protected  Component JScrollPane.lowerRight
          右下隅に表示するコンポーネントです。
protected  Component ScrollPaneLayout.lowerRight
          右下隅に表示するコンポーネントです。
protected  Component JSplitPane.rightComponent
          右または下のコンポーネントです。
protected  Component JScrollPane.upperLeft
          左上隅に表示するコンポーネントです。
protected  Component ScrollPaneLayout.upperLeft
          左上隅に表示するコンポーネントです。
protected  Component JScrollPane.upperRight
          右上隅に表示するコンポーネントです。
protected  Component ScrollPaneLayout.upperRight
          右上隅に表示するコンポーネントです。
 

Component を返す javax.swing のメソッド
 Component JMenu.add(Component c)
          このメニューの最後にコンポーネントを追加します。
 Component JTabbedPane.add(Component component)
          タブタイトルをデフォルトでコンポーネントの名前に設定して component を追加します。
 Component JMenu.add(Component c, int index)
          指定されたコンポーネントを、このコンテナの指定された位置に追加します。
 Component JTabbedPane.add(Component component, int index)
          タブタイトル (デフォルトではコンポーネントの名前) を指定して、指定したタブインデックス位置に component を追加します。
 Component JTabbedPane.add(String title, Component component)
          指定されたタブタイトルの component を追加します。
protected  Component ScrollPaneLayout.addSingletonComponent(Component oldC, Component newC)
          既存のコンポーネントを削除します。
 Component MenuSelectionManager.componentForPoint(Component source, Point sourcePoint)
          sourcePoint を含んでいる、現在選択されているパスのコンポーネントを返します。
protected  Component JRootPane.createGlassPane()
          デフォルトの glassPane を作成するためにコンストラクタのメソッドによって呼び出されます。
static Component Box.createGlue()
          不可視の「接着剤」コンポーネントを作成します。
static Component Box.createHorizontalGlue()
          水平方向の接着剤コンポーネントを作成します。
static Component Box.createHorizontalStrut(int width)
          不可視の固定幅コンポーネントを生成します。
static Component Box.createRigidArea(Dimension d)
          常に指定されたサイズである、不可視コンポーネントを生成します。
static Component Box.createVerticalGlue()
          垂直方向の接着剤コンポーネントを作成します。
static Component Box.createVerticalStrut(int height)
          不可視の、高さが固定されたコンポーネントを作成します。
static Component SwingUtilities.findFocusOwner(Component c)
          推奨されていません。 1.4 以降、KeyboardFocusManager.getFocusOwner() に置き換えられました。
 Component JSplitPane.getBottomComponent()
          ディバイダの下または右のコンポーネントを返します。
 Component JMenu.getComponent()
          この MenuElement をペイントするのに使われる java.awt.Component を返します。
 Component MenuElement.getComponent()
          受け取り側要素をペイントするための java.awt.Component を返します。
 Component JMenuItem.getComponent()
          該当のオブジェクトをペイントするための java.awt.Component を返します。
 Component JMenuBar.getComponent()
          MenuElement として実装されます。
 Component JPopupMenu.getComponent()
          この JPopupMenu コンポーネントを返します。
 Component TransferHandler.TransferSupport.getComponent()
          この転送のターゲットコンポーネントを返します。
 Component DefaultCellEditor.getComponent()
          エディタコンポーネントへの参照を返します。
 Component Renderer.getComponent()
          値を描画するために使用されるコンポーネントを返します。
 Component LayoutFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          aComponent のあとでフォーカスを受け取る Component を返します。
 Component SortingFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          Component のあとでフォーカスを受け取る Component を返します。
 Component DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent)
           
 Component JTabbedPane.getComponentAt(int index)
          index のコンポーネントを返します。
 Component JToolBar.getComponentAtIndex(int i)
          指定されたインデックスの要素を返します。
 Component JMenuBar.getComponentAtIndex(int i)
          推奨されていません。 getComponent(int i) に置き換えられました。
 Component JPopupMenu.getComponentAtIndex(int i)
          推奨されていません。 Container.getComponent(int) で置き換えられました。
 Component LayoutFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
 Component SortingFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
 Component DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent)
           
 Component[] JLayeredPane.getComponentsInLayer(int layer)
          指定されたレイヤーのコンポーネントの配列を返します。
 Component JScrollPane.getCorner(String key)
          指定されたコーナーにあるコンポーネントを返します。
 Component ScrollPaneLayout.getCorner(String key)
          指定されたコーナーにある Component を返します。
protected  Component JTable.AccessibleJTable.AccessibleJTableCell.getCurrentComponent()
          テーブルセルレンダリングコンポーネントを取得します。
static Component SwingUtilities.getDeepestComponentAt(Component parent, int x, int y)
          位置 xy を内包する parent を親として持つ、最下位の可視コンポーネントを返します。
 Component SortingFocusTraversalPolicy.getDefaultComponent(Container aContainer)
          フォーカスするデフォルトの Component を返します。
 Component ComboBoxEditor.getEditorComponent()
          エディタのツリー階層に追加するコンポーネントを返します。
 Component JTable.getEditorComponent()
          編集セッションを処理しているコンポーネントを返します。
 Component LayoutFocusTraversalPolicy.getFirstComponent(Container aContainer)
          トラバーサルサイクルの最初の Component を返します。
 Component SortingFocusTraversalPolicy.getFirstComponent(Container aContainer)
          トラバーサルサイクルの最初の Component を返します。
 Component DefaultFocusManager.getFirstComponent(Container aContainer)
           
 Component JInternalFrame.getFocusOwner()
          この JInternalFrame がアクティブである場合、フォーカスを持つ子を返します。
 Component JFrame.getGlassPane()
          このフレームの glassPane オブジェクトを返します。
 Component RootPaneContainer.getGlassPane()
          glassPane を返します。
 Component JRootPane.getGlassPane()
          この JRootPane の現在のガラス区画を返します。
 Component JInternalFrame.getGlassPane()
          この内部フレームのガラス区画を返します。
 Component JDialog.getGlassPane()
          このダイアログの glassPane オブジェクトを返します。
 Component JWindow.getGlassPane()
          このウィンドウの glassPane Component を返します。
 Component JApplet.getGlassPane()
          アプレットの glassPane オブジェクトを返します。
 Component InternalFrameFocusTraversalPolicy.getInitialComponent(JInternalFrame frame)
          JinternalFrame が最初に選択されたときにフォーカスを受け取る Component を返します。
 Component JPopupMenu.getInvoker()
          ポップアップメニューの呼び出しコンポーネントを返します。
 Component JLabel.getLabelFor()
          このラベルが割り当てられているコンポーネントを返します。
 Component LayoutFocusTraversalPolicy.getLastComponent(Container aContainer)
          トラバーサルサイクルの最後の Component を返します。
 Component SortingFocusTraversalPolicy.getLastComponent(Container aContainer)
          トラバーサルサイクルの最後の Component を返します。
 Component DefaultFocusManager.getLastComponent(Container aContainer)
           
 Component JSplitPane.getLeftComponent()
          ディバイダの左 (上) にあるコンポーネントを返します。
 Component ListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
          指定された値を表示するように設定されたコンポーネントを返します。
 Component DefaultListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 Component JMenu.getMenuComponent(int n)
          n の位置にあるコンポーネントを返します。
 Component[] JMenu.getMenuComponents()
          メニューのサブコンポーネントの Component の配列を返します。
 Component JInternalFrame.getMostRecentFocusOwner()
          この JInternalFrame が選択されたときにフォーカスを受け取る、この JInternalFrame の子コンポーネントを返します。
 Component JComponent.getNextFocusableComponent()
          推奨されていません。 JDK Version 1.4 以降は、FocusTraversalPolicy に置き換えられました。
 Component JSplitPane.getRightComponent()
          ディバイダの右 (または下) のコンポーネントを返します。
static Component SwingUtilities.getRoot(Component c)
          現在のコンポーネントツリーのルートコンポーネントを返します。
 Component JTabbedPane.getSelectedComponent()
          タブ区画で現在選択されているコンポーネントを返します。
 Component JTabbedPane.getTabComponentAt(int index)
          index のタブコンポーネントを返します。
 Component DefaultCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
          TableCellEditor インタフェースを実装します。
 Component JSplitPane.getTopComponent()
          ディバイダの上または左のコンポーネントを返します。
 Component DefaultCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          TreeCellEditor インタフェースを実装します。
 Component JViewport.getView()
          JViewport の 1 つの子または null を返します。
 Component JTable.prepareEditor(TableCellEditor editor, int row, int column)
          rowcolumn の位置にあるセルの値および選択状態をデータモデルに照会して、エディタを準備します。
 Component JTable.prepareRenderer(TableCellRenderer renderer, int row, int column)
          rowcolumn の位置にあるセルの値および選択状態をデータモデルに照会して、レンダリングを準備します。
 

Component 型の引数を持つ型を返す javax.swing のメソッド
protected  Comparator<? super Component> SortingFocusTraversalPolicy.getComparator()
          フォーカストラバーサルサイクルで Components をソートするために使う Comparator を返します。
protected  Hashtable<Component,Integer> JLayeredPane.getComponentToLayer()
          コンポーネントをレイヤーにマッピングするハッシュテーブルを返します。
 

Component 型のパラメータを持つ javax.swing のメソッド
protected  boolean LayoutFocusTraversalPolicy.accept(Component aComponent)
          指定された Component が新しいフォーカス所有者として適切かどうかを判定します。
protected  boolean SortingFocusTraversalPolicy.accept(Component aComponent)
          Component が新しいフォーカス所有者として適切かどうかを判定します。
 Component JMenu.add(Component c)
          このメニューの最後にコンポーネントを追加します。
 Component JTabbedPane.add(Component component)
          タブタイトルをデフォルトでコンポーネントの名前に設定して component を追加します。
 Component JMenu.add(Component c, int index)
          指定されたコンポーネントを、このコンテナの指定された位置に追加します。
 Component JTabbedPane.add(Component component, int index)
          タブタイトル (デフォルトではコンポーネントの名前) を指定して、指定したタブインデックス位置に component を追加します。
 void JTabbedPane.add(Component component, Object constraints)
          タブ区画に component を追加します。
 void JTabbedPane.add(Component component, Object constraints, int index)
          指定したタブのインデックスに component を追加します。
 Component JTabbedPane.add(String title, Component component)
          指定されたタブタイトルの component を追加します。
 GroupLayout.SequentialGroup GroupLayout.SequentialGroup.addComponent(boolean useAsBaseline, Component component)
          この GroupComponent を追加します。
 GroupLayout.SequentialGroup GroupLayout.SequentialGroup.addComponent(boolean useAsBaseline, Component component, int min, int pref, int max)
          指定のサイズで、この GroupComponent を追加します。
 GroupLayout.Group GroupLayout.Group.addComponent(Component component)
          この GroupComponent を追加します。
 GroupLayout.SequentialGroup GroupLayout.SequentialGroup.addComponent(Component component)
          この GroupComponent を追加します。
 GroupLayout.ParallelGroup GroupLayout.ParallelGroup.addComponent(Component component)
          この GroupComponent を追加します。
 GroupLayout.ParallelGroup GroupLayout.ParallelGroup.addComponent(Component component, GroupLayout.Alignment alignment)
          指定の配置方法で、この ParallelGroupComponent を追加します。
 GroupLayout.ParallelGroup GroupLayout.ParallelGroup.addComponent(Component component, GroupLayout.Alignment alignment, int min, int pref, int max)
          指定の配置方法とサイズで、この ParallelGroupComponent を追加します。
 GroupLayout.Group GroupLayout.Group.addComponent(Component component, int min, int pref, int max)
          指定のサイズで、この GroupComponent を追加します。
 GroupLayout.SequentialGroup GroupLayout.SequentialGroup.addComponent(Component component, int min, int pref, int max)
          指定のサイズで、この GroupComponent を追加します。
 GroupLayout.ParallelGroup GroupLayout.ParallelGroup.addComponent(Component component, int min, int pref, int max)
          指定のサイズで、この GroupComponent を追加します。
protected  void JFrame.addImpl(Component comp, Object constraints, int index)
          指定された子 Component を追加します。
protected  void JRootPane.addImpl(Component comp, Object constraints, int index)
          ガラスコンポーネントの位置が 0 の子に対して強制するためにオーバーライドされます。
protected  void JLayeredPane.addImpl(Component comp, Object constraints, int index)
           
protected  void JInternalFrame.addImpl(Component comp, Object constraints, int index)
          指定された子 Component を追加します。
protected  void AbstractButton.addImpl(Component comp, Object constraints, int index)
          指定されたコンポーネントをこのコンテナのインデックスで指定された位置に追加します。
protected  void JDialog.addImpl(Component comp, Object constraints, int index)
          指定された子 Component を追加します。
protected  void JToolBar.addImpl(Component comp, Object constraints, int index)
          JButton が追加されると、初期状態では使用不可に設定されます。
protected  void JSplitPane.addImpl(Component comp, Object constraints, int index)
          この分割区画に指定したコンポーネントを追加します。
protected  void CellRendererPane.addImpl(Component x, Object constraints, int index)
          指定したコンポーネントがすでにこの子として設定済の場合、処理は不要です。
protected  void JViewport.addImpl(Component child, Object constraints, int index)
          JViewport の 1 つの軽量な子を設定します。
protected  void JWindow.addImpl(Component comp, Object constraints, int index)
          指定された子 Component を追加します。
protected  void JApplet.addImpl(Component comp, Object constraints, int index)
          指定された子 Component を追加します。
protected  void JDesktopPane.addImpl(Component comp, Object constraints, int index)
          指定されたコンポーネントを、指定されたインデックスで、コンテナへ追加します。
 void JRootPane.RootLayout.addLayoutComponent(Component comp, Object constraints)
           
 void BoxLayout.addLayoutComponent(Component comp, Object constraints)
          このクラスでは使用しません。
 void SpringLayout.addLayoutComponent(Component component, Object constraints)
          constraintsSpringLayout.Constraints のインスタンスである場合は、指定されたコンポーネントに制約を関連付けます。
 void OverlayLayout.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
 void GroupLayout.addLayoutComponent(Component component, Object constraints)
          親コンテナに Component が追加されたことを示す通知です。
 void JRootPane.RootLayout.addLayoutComponent(String name, Component comp)
           
 void BoxLayout.addLayoutComponent(String name, Component comp)
          このクラスでは使用しません。
 void ScrollPaneLayout.addLayoutComponent(String s, Component c)
          指定されたコンポーネントをレイアウトに追加します。
 void ViewportLayout.addLayoutComponent(String name, Component c)
          指定されたコンポーネントをレイアウトに追加します。
 void SpringLayout.addLayoutComponent(String name, Component c)
          このレイアウトマネージャーはコンポーネントごとの文字列を使用しないため、何もしません。
 void OverlayLayout.addLayoutComponent(String name, Component comp)
          指定されたコンポーネントをレイアウトに追加します。
 void JSpinner.DefaultEditor.addLayoutComponent(String name, Component child)
          この LayoutManager メソッドは何も処理を行いません。
 void GroupLayout.addLayoutComponent(String name, Component component)
          親コンテナに Component が追加されたことを示す通知です。
protected  Component ScrollPaneLayout.addSingletonComponent(Component oldC, Component newC)
          既存のコンポーネントを削除します。
 void JTabbedPane.addTab(String title, Component component)
          title で表される (アイコンなし) component を追加します。
 void JTabbedPane.addTab(String title, Icon icon, Component component)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) で表される component を追加します。
 void JTabbedPane.addTab(String title, Icon icon, Component component, String tip)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) によって表される component および tip を追加します。
 boolean DefaultFocusManager.compareTabOrder(Component a, Component b)
           
 Component MenuSelectionManager.componentForPoint(Component source, Point sourcePoint)
          sourcePoint を含んでいる、現在選択されているパスのコンポーネントを返します。
static MouseEvent SwingUtilities.convertMouseEvent(Component source, MouseEvent sourceEvent, Component destination)
          その x と y メンバーが destination の座標体系に変換済みの場合を除いて、sourceEvent と同様の MouseEvent を返します。
static Point SwingUtilities.convertPoint(Component source, int x, int y, Component destination)
          source 座標体系の点 (x,y)destination 座標体系に変換します。
static Point SwingUtilities.convertPoint(Component source, Point aPoint, Component destination)
          source 座標体系の aPointdestination 座標体系に変換します。
static void SwingUtilities.convertPointFromScreen(Point p, Component c)
          ポイントを画面座標からコンポーネントの座標体系に変換します。
static void SwingUtilities.convertPointToScreen(Point p, Component c)
          ポイントをコンポーネントの座標体系から画面座標に変換します。
static Rectangle SwingUtilities.convertRectangle(Component source, Rectangle aRectangle, Component destination)
          source 座標体系の aRectangledestination 座標体系に変換します。
protected  JDialog JFileChooser.createDialog(Component parent)
          parent のフレームにある parent の中央に配置された this をラップする JDialog を新しく生成して、返します。
 JDialog JOptionPane.createDialog(Component parentComponent, String title)
          parentComponent のフレーム内の parentComponent の中央に this をラップして新しい JDialog を生成して返します。
static JDialog JColorChooser.createDialog(Component c, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)
          [OK]、[Cancel]、および [Reset] ボタンとともに、指定された ColorChooser 区画を持つ新しいダイアログを生成し、それを返します。
 JInternalFrame JOptionPane.createInternalFrame(Component parentComponent, String title)
          JInternalFrame のインスタンスを生成して返します。
static RepaintManager RepaintManager.currentManager(Component c)
          Component を指定して、呼び出し側スレッドの RepaintManager を返します。
static Component SwingUtilities.findFocusOwner(Component c)
          推奨されていません。 1.4 以降、KeyboardFocusManager.getFocusOwner() に置き換えられました。
static Accessible SwingUtilities.getAccessibleAt(Component c, Point p)
          ローカル座標の PointAccessible の子が保持されている場合はそれを返します。
static Accessible SwingUtilities.getAccessibleChild(Component c, int i)
          オブジェクトの n 番目のアクセシビリティー対応の子を返します。
static int SwingUtilities.getAccessibleChildrenCount(Component c)
          オブジェクト内のアクセシビリティー対応の子の数を返します。
static int SwingUtilities.getAccessibleIndexInParent(Component c)
          ユーザー補助の親でのこのオブジェクトのインデックスを返します。
static AccessibleStateSet SwingUtilities.getAccessibleStateSet(Component c)
          このオブジェクトの状態を取得します。
static Container SwingUtilities.getAncestorNamed(String name, Component comp)
          コンポーネント階層で comp の上位を検索するための簡易メソッドであり、見つかった name の最初のオブジェクトを返します。
static Container SwingUtilities.getAncestorOfClass(Class<?> c, Component comp)
          コンポーネント階層で comp の上位を検索するための簡易メソッドであり、見つかった c クラスの最初のオブジェクトを返します。
 Component LayoutFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          aComponent のあとでフォーカスを受け取る Component を返します。
 Component SortingFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
          Component のあとでフォーカスを受け取る Component を返します。
 Component DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent)
           
 Component LayoutFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
 Component SortingFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取る Component を返します。
 Component DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent)
           
 int JToolBar.getComponentIndex(Component c)
          指定されたコンポーネントのインデックスを返します。
 int JMenuBar.getComponentIndex(Component c)
          指定されたコンポーネントのインデックスを返します。
 int JPopupMenu.getComponentIndex(Component c)
          指定されたコンポーネントのインデックスを返します。
 Spring SpringLayout.getConstraint(String edgeName, Component c)
          コンポーネントの指定されたエッジと親の上端または左端との間の距離を制御するスプリングを返します。
 SpringLayout.Constraints SpringLayout.getConstraints(Component c)
          指定されたコンポーネントの制約を返します。
static Component SwingUtilities.getDeepestComponentAt(Component parent, int x, int y)
          位置 xy を内包する parent を親として持つ、最下位の可視コンポーネントを返します。
static JDesktopPane JOptionPane.getDesktopPaneForComponent(Component parentComponent)
          指定されたコンポーネントのデスクトップ区画を返します。
static Frame JOptionPane.getFrameForComponent(Component parentComponent)
          指定されたコンポーネントの Frame を返します。
 int JLayeredPane.getIndexOf(Component c)
          指定された Component のインデックスを返します。
 int JLayeredPane.getLayer(Component c)
          指定された Component のレイヤー属性を返します。
static JLayeredPane JLayeredPane.getLayeredPaneAbove(Component c)
          指定されたコンポーネントを含む最初の JLayeredPane を返す簡易メソッドです。
static Rectangle SwingUtilities.getLocalBounds(Component aComponent)
          aComponent コンポーネントの矩形 (0,0,bounds.width,bounds.height) を返します。
 Image RepaintManager.getOffscreenBuffer(Component c, int proposedWidth, int proposedHeight)
          ダブルバッファーとしてコンポーネント c とともに使用されるオフスクリーンバッファーを返します。
 Popup PopupFactory.getPopup(Component owner, Component contents, int x, int y)
          コンポーネント contents を含むコンポーネント ownerPopup を作成します。
 int JLayeredPane.getPosition(Component c)
          レイヤー内でのコンポーネントの相対位置を返します。
static Component SwingUtilities.getRoot(Component c)
          現在のコンポーネントツリーのルートコンポーネントを返します。
static JRootPane SwingUtilities.getRootPane(Component c)
          c が下位 JRootPane オブジェクトの場合は、その上位 JRootPane オブジェクトを返します。
 Image RepaintManager.getVolatileOffscreenBuffer(Component c, int proposedWidth, int proposedHeight)
          ダブルバッファーとして指定のコンポーネント c とともに使用される volatile のオフスクリーンバッファーを返します。
static Window SwingUtilities.getWindowAncestor(Component c)
          c の上位の最初の Window か、cWindow 内に含まれていない場合は null を返します。
static Spring Spring.height(Component c)
          minimumpreferredmaximum、および value の各プロパティーが、それぞれ指定されたコンポーネントの minimumSizepreferredSizemaximumSize、および size の各プロパティーの高さで定義されているスプリングを返します。
 int JTabbedPane.indexOfComponent(Component component)
          指定されたコンポーネントのタブのインデックスを返します。
 int JTabbedPane.indexOfTabComponent(Component tabComponent)
          指定されたタブコンポーネントのタブのインデックスを返します。
 void JPopupMenu.insert(Component component, int index)
          指定されたコンポーネントを、メニューの指定された位置に挿入します。
 void JTextPane.insertComponent(Component c)
          現在選択されているコンテンツの置換後の内容としてドキュメントにコンポーネントを挿入します。
 void JTabbedPane.insertTab(String title, Icon icon, Component component, String tip, int index)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) で表される componentindex の位置に挿入します。
 boolean MenuSelectionManager.isComponentPartOfCurrentMenu(Component c)
          c が現在使用されているメニューの一部である場合に true を返します。
static boolean SwingUtilities.isDescendingFrom(Component a, Component b)
          コンポーネント a がコンポーネント b の下位にある場合、true を返します。
static boolean JComponent.isLightweightComponent(Component c)
          このコンポーネントが軽量の場合、つまりネイティブのウィンドウシステムピアを持たない場合に true を返します。
 boolean JMenu.isMenuComponent(Component c)
          指定されたコンポーネントがサブメニュー階層内にある場合に true を返します。
 void GroupLayout.linkSize(Component... components)
          指定のコンポーネントを、適切なサイズ、最小サイズ、または最大サイズを考慮せず、同じサイズに設定します。
 void GroupLayout.linkSize(int axis, Component... components)
          指定のコンポーネントを、適切なサイズ、最小サイズ、または最大サイズを考慮せず、同じサイズに設定し、指定の軸に沿って配置します。
 void JLayeredPane.moveToBack(Component c)
          コンポーネントを現在のレイヤーで一番下 (位置 -1) に移動します。
 void JLayeredPane.moveToFront(Component c)
          コンポーネントを現在のレイヤーで一番上 (位置 0) に移動します。
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
          指定された Graphics で、コンポーネントをペイントします。
 void CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
          this.paintComponent(g, c, p, x, y, w, h, false) を呼び出します。
 void CellRendererPane.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate)
          セルレンダリングコンポーネント c をグラフィックスオブジェクト g にペイントします。
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r)
          指定された Graphics で、コンポーネントをペイントします。
 void CellRendererPane.paintComponent(Graphics g, Component c, Container p, Rectangle r)
          矩形の x、y、幅、高さの各フィールドを使って this.paintComponent() を呼び出します。
 void Icon.paintIcon(Component c, Graphics g, int x, int y)
          指定された位置にアイコンを描画します。
 void ImageIcon.paintIcon(Component c, Graphics g, int x, int y)
          アイコンをペイントします。
 void LookAndFeel.provideErrorFeedback(Component component)
          フォーカスを持つ、編集不可能な JTextField に貼り付けを行うなど、ユーザーが無効な操作をしようとしたときに呼び出されます。
 void SpringLayout.putConstraint(String e1, Component c1, int pad, String e2, Component c2)
          コンポーネント c1 のエッジ e1 をコンポーネント c2 のエッジ e2 にリンクします。
 void SpringLayout.putConstraint(String e1, Component c1, Spring s, String e2, Component c2)
          コンポーネント c1 のエッジ e1 をコンポーネント c2 のエッジ e2 にリンクします。
 void JFrame.remove(Component comp)
          指定されたコンポーネントをコンテナから削除します。
 void JMenu.remove(Component c)
          このメニューからコンポーネント c を削除します。
 void JInternalFrame.remove(Component comp)
          指定されたコンポーネントをコンテナから削除します。
 void JDialog.remove(Component comp)
          指定されたコンポーネントをコンテナから削除します。
 void JSplitPane.remove(Component component)
          子コンポーネント component を区画から削除します。
 void JViewport.remove(Component child)
          Viewport の 1 つの軽量な子を削除します。
 void JWindow.remove(Component comp)
          指定されたコンポーネントをコンテナから削除します。
 void JTabbedPane.remove(Component component)
          指定された ComponentJTabbedPane から削除します。
 void JApplet.remove(Component comp)
          指定されたコンポーネントをコンテナから削除します。
 void JRootPane.RootLayout.removeLayoutComponent(Component comp)
           
 void BoxLayout.removeLayoutComponent(Component comp)
          このクラスでは使用しません。
 void ScrollPaneLayout.removeLayoutComponent(Component c)
          指定されたコンポーネントをレイアウトから削除します。
 void ViewportLayout.removeLayoutComponent(Component c)
          指定されたコンポーネントをレイアウトから削除します。
 void SpringLayout.removeLayoutComponent(Component c)
          指定されたコンポーネントに関連付けれられた制約を削除します。
 void OverlayLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void JSpinner.DefaultEditor.removeLayoutComponent(Component child)
          この LayoutManager メソッドは何も処理を行いません。
 void GroupLayout.removeLayoutComponent(Component component)
          親コンテナから Component が削除されたことを示す通知です。
 void GroupLayout.replace(Component existingComponent, Component newComponent)
          既存のコンポーネントを新しいコンポーネントで置き換えます。
 void JSplitPane.setBottomComponent(Component comp)
          コンポーネントをディバイダの下または右に設定します。
 void JScrollPane.setColumnHeaderView(Component view)
          必要に応じて列ヘッダーのビューポートを作成し、ビューを設定してから、列ヘッダーのビューポートをスクロール区画に追加します。
 void JTabbedPane.setComponentAt(int index, Component component)
          index のコンポーネントを component に設定します。
 void JDesktopPane.setComponentZOrder(Component comp, int index)
          指定されたコンポーネントを、コンテナの指定された Z 軸順のインデックスに移動します。
 void JScrollPane.setCorner(String key, Component corner)
          スクロール区画のコーナーに表示される子を追加します (スペースがある場合)。
 void JFrame.setGlassPane(Component glassPane)
          glassPane プロパティーを設定します。
 void RootPaneContainer.setGlassPane(Component glassPane)
          glassPane は常に rootPane の最初の子で、rootPane のレイアウトマネージャーによって、常に rootPane と同じ大きさであることが保証されます。
 void JRootPane.setGlassPane(Component glass)
          指定した Component がこのルート区画のガラス区画になるように設定します。
 void JInternalFrame.setGlassPane(Component glass)
          この JInternalFrameglassPane プロパティーを設定します。
 void JDialog.setGlassPane(Component glassPane)
          glassPane プロパティーを設定します。
 void JWindow.setGlassPane(Component glassPane)
          glassPane プロパティーを設定します。
 void JApplet.setGlassPane(Component glassPane)
          glassPane プロパティーを設定します。
 void GroupLayout.setHonorsVisibility(Component component, Boolean honorsVisibility)
          サイズおよび配置の設定の際、コンポーネントの可視設定を考慮するかどうかを設定します。
 void JPopupMenu.setInvoker(Component invoker)
          ポップアップメニューの呼び出しコンポーネント、すなわち、ポップアップメニュー項目が表示されるコンポーネントを設定します。
 void JLabel.setLabelFor(Component c)
          このラベルが割り当てられているコンポーネントを設定します。
 void JLayeredPane.setLayer(Component c, int layer)
          指定されたコンポーネントのレイヤー属性を設定し、レイヤー内で一番下のコンポーネントとします。
 void JLayeredPane.setLayer(Component c, int layer, int position)
          指定されたコンポーネントのレイヤー属性と、レイヤー内でのコンポーネントの位置を指定します。
 void JSplitPane.setLeftComponent(Component comp)
          コンポーネントをディバイダの左 (上) に設定します。
 void JComponent.setNextFocusableComponent(Component aComponent)
          推奨されていません。 JDK Version 1.4 以降は、FocusTraversalPolicy に置き換えられました。
 void JLayeredPane.setPosition(Component c, int position)
          コンポーネントを現在のレイヤーの position に移動します。
 void JSplitPane.setRightComponent(Component comp)
          ディバイダの右 (または下) のコンポーネントを設定します。
 void JScrollPane.setRowHeaderView(Component view)
          必要に応じて行ヘッダーのビューポートを作成し、ビューを設定してから、行ヘッダーのビューポートをスクロール区画に追加します。
 void JMenuBar.setSelected(Component sel)
          現在選択されているコンポーネントを設定します。
 void JPopupMenu.setSelected(Component sel)
          現在選択されるコンポーネントを設定します。
 void JTabbedPane.setSelectedComponent(Component c)
          タブ区画の選択コンポーネントを設定します。
 void JTabbedPane.setTabComponentAt(int index, Component component)
          指定されたタブのタイトルを描画するコンポーネントを設定します。
 void JSplitPane.setTopComponent(Component comp)
          コンポーネントをディバイダの上または左に設定します。
 void JViewport.setView(Component view)
          JViewport の 1 つの軽量な子 (view) を設定します。
 void JScrollPane.setViewportView(Component view)
          必要に応じてビューポートを作成してから、ビューを設定します。
 void JPopupMenu.show(Component invoker, int x, int y)
          呼び出しコンポーネント内の x、y 座標で指定された位置に、ポップアップメニューを表示します。
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message)
          オプションが YesNo、および Cancel でタイトルが Select an Option の、ダイアログを表示します。
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message, String title, int optionType)
          optionType パラメータで選択項目数が決まるダイアログを表示します。
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType)
          optionType パラメータで選択項目数が決まるダイアログを表示します。
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)
          指定されたアイコンを持つダイアログを表示します。
 int JFileChooser.showDialog(Component parent, String approveButtonText)
          カスタムアプルーブボタンとともにカスタムファイルチューザを表示します。
static Color JColorChooser.showDialog(Component component, String title, Color initialColor)
          モーダルなカラーチューザダイアログを表示し、ダイアログが隠されるまでブロックします。
static String JOptionPane.showInputDialog(Component parentComponent, Object message)
          parentComponent を親として、ユーザーに入力を求めるクエスチョンメッセージダイアログを表示します。
static String JOptionPane.showInputDialog(Component parentComponent, Object message, Object initialSelectionValue)
          parentComponent を親として、ユーザーに入力を求めるクエスチョンメッセージダイアログを表示します。
static String JOptionPane.showInputDialog(Component parentComponent, Object message, String title, int messageType)
          parentComponent を親としてユーザーに入力を求めるダイアログを表示します。
static Object JOptionPane.showInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
          初期選択、指定可能な選択項目、およびそれ以外のすべてのオプションの指定が可能なブロッキングダイアログでユーザーに入力を求めます。
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message)
          オプションが YesNo、および Cancel でタイトルが Select an Option の、内部ダイアログパネルを表示します。
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType)
          optionType パラメータで選択項目数が決まる内部ダイアログパネルを表示します。
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType)
          optionType パラメータで選択項目数が決まる内部ダイアログパネルを表示します。
static int JOptionPane.showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)
          指定されたアイコンを持つ内部ダイアログパネルを表示します。
static String JOptionPane.showInternalInputDialog(Component parentComponent, Object message)
          parentComponent を親として、ユーザーに入力を求める内部クエスチョンメッセージダイアログを表示します。
static String JOptionPane.showInternalInputDialog(Component parentComponent, Object message, String title, int messageType)
          parentComponent を親として、ユーザーに入力を求める内部ダイアログを表示します。
static Object JOptionPane.showInternalInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
          初期選択、指定可能な選択項目、およびそれ以外のすべてのオプションの指定が可能なブロッキング内部ダイアログでユーザーに入力を求めます。
static void JOptionPane.showInternalMessageDialog(Component parentComponent, Object message)
          内部確認ダイアログパネルを表示します。
static void JOptionPane.showInternalMessageDialog(Component parentComponent, Object message, String title, int messageType)
          messageType パラメータで指定されたデフォルトアイコンを使用して、メッセージを表示するための内部ダイアログパネルを表示します。
static void JOptionPane.showInternalMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)
          すべてのパラメータを指定して、メッセージを表示するための内部ダイアログパネルを表示します。
static int JOptionPane.showInternalOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          指定されたアイコンを持つ内部ダイアログパネルを表示します。
static void JOptionPane.showMessageDialog(Component parentComponent, Object message)
          「Message」というタイトルの情報メッセージダイアログを表示します。
static void JOptionPane.showMessageDialog(Component parentComponent, Object message, String title, int messageType)
          messageType パラメータで指示されたデフォルトのアイコンを使用して、メッセージを表示するためのダイアログを表示します。
static void JOptionPane.showMessageDialog(Component parentComponent, Object message, String title, int messageType, Icon icon)
          すべてのパラメータを指定して、メッセージを表示するためのダイアログを表示します。
 int JFileChooser.showOpenDialog(Component parent)
          [Open File] ファイルチューザダイアログを表示します。
static int JOptionPane.showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          指定されたアイコンを持つダイアログを表示します。
 int JFileChooser.showSaveDialog(Component parent)
          [Save File] ファイルチューザダイアログを表示します。
static void SwingUtilities.updateComponentTreeUI(Component c)
          単純な Look & Feel の変更で、ツリー内の各ノードに updateUI() 処理を行うこと、つまり現在の Look & Feel でその UI プロパティーを初期化することを要求します。
static Spring Spring.width(Component c)
          minimumpreferredmaximum、および value の各プロパティーが、それぞれ指定されたコンポーネントの minimumSizepreferredSizemaximumSize、および size の各プロパティーの幅で定義されているスプリングを返します。
static Window SwingUtilities.windowForComponent(Component c)
          c の上位の最初の Window か、cWindow 内に含まれていない場合は null を返します。
 

Component 型の型引数を持つ javax.swing のメソッドパラメータ
protected  void SortingFocusTraversalPolicy.setComparator(Comparator<? super Component> comparator)
          フォーカストラバーサルサイクルで Components をソートするために使う Comparator を設定します。
 

Component 型のパラメータを持つ javax.swing のコンストラクタ
JScrollPane(Component view)
          指定されたコンポーネントのコンテンツを表示する JScrollPane を作成します。
JScrollPane(Component view, int vsbPolicy, int hsbPolicy)
          ビューの位置を 1 組のスクロールバーを使用して制御できるビューポート内にビューコンポーネントを表示する JScrollPane を作成します。
JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent)
          方向、再描画スタイル、コンポーネントを指定して新しい JSplitPane を作成します。
JSplitPane(int newOrientation, Component newLeftComponent, Component newRightComponent)
          方向と、連続した再描画を行わないコンポーネントを指定して新しい JSplitPane を作成します。
Popup(Component owner, Component contents, int x, int y)
          コンポーネント contents を含むコンポーネント ownerPopup を作成します。
ProgressMonitor(Component parentComponent, Object message, String note, int min, int max)
          進捗状況を示すグラフィックオブジェクトを構築します。
ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)
          入力ストリームの進捗を監視するオブジェクトを構築します。
SpringLayout.Constraints(Component c)
          コンポーネント c に適切なスプリング (xywidth、および height) を指定して、Constraints オブジェクトを作成します。
TransferHandler.TransferSupport(Component component, Transferable transferable)
          指定のコンポーネントおよび Transferable に対して、isDrop() の値を false に設定して TransferSupport を作成します。
 

Component 型の型引数を持つ javax.swing のコンストラクタパラメータ
SortingFocusTraversalPolicy(Comparator<? super Component> comparator)
          指定された Comparator で SortingFocusTraversalPolicy を構築します。
 

javax.swing.border での Component の使用
 

Component 型のパラメータを持つ javax.swing.border のメソッド
 int AbstractBorder.getBaseline(Component c, int width, int height)
          ベースラインを返します。
 int TitledBorder.getBaseline(Component c, int width, int height)
          ベースラインを返します。
 Component.BaselineResizeBehavior AbstractBorder.getBaselineResizeBehavior(Component c)
          サイズの変化に合わせてコンポーネントのベースラインがどのように変化するかを示す列挙を返します。
 Component.BaselineResizeBehavior TitledBorder.getBaselineResizeBehavior(Component c)
          サイズの変化に合わせてボーダーのベースラインがどのように変化するかを示す列挙を返します。
 Insets Border.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets EmptyBorder.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets AbstractBorder.getBorderInsets(Component c)
          このデフォルト実装は、topleftbottom、および right の各フィールドが 0 に設定されているとき、新しい Insets インスタンスを返します。
 Insets CompoundBorder.getBorderInsets(Component c)
          外側ボーダーのインセットを内側ボーダーのインセットに加算して、複合ボーダーのインセットの値を返します。
 Insets MatteBorder.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets LineBorder.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets EtchedBorder.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets BevelBorder.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets TitledBorder.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets SoftBevelBorder.getBorderInsets(Component c)
          ボーダーのインセットの値を返します。
 Insets EmptyBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
 Insets AbstractBorder.getBorderInsets(Component c, Insets insets)
          インセットパラメータを、この Border の現在のインセットで初期化し直します。
 Insets CompoundBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
 Insets MatteBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
 Insets LineBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
 Insets EtchedBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
 Insets BevelBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
 Insets TitledBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
 Insets SoftBevelBorder.getBorderInsets(Component c, Insets insets)
          insets パラメータを、この Border の現在の Insets で初期化し直します。
protected  Font TitledBorder.getFont(Component c)
           
 Color EtchedBorder.getHighlightColor(Component c)
          指定されたコンポーネントに描画されたときにエッチングボーダーのハイライトのカラーを返します。
 Color BevelBorder.getHighlightInnerColor(Component c)
          指定されたコンポーネントに描画されたときに斜影ボーダーの内側ハイライトのカラーを返します。
 Color BevelBorder.getHighlightOuterColor(Component c)
          指定されたコンポーネントに描画されたときに斜影ボーダーの外側ハイライトのカラーを返します。
static Rectangle AbstractBorder.getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
          ボーダーのインセットから引数の値を減算して矩形を返します。
 Rectangle AbstractBorder.getInteriorRectangle(Component c, int x, int y, int width, int height)
          静的メソッドを呼び出す簡易メソッドです。
 Dimension TitledBorder.getMinimumSize(Component c)
          ボーダーとタイトルの全体を表示する場合にボーダーが必要とする、スペースの最小値を返します。
 Color EtchedBorder.getShadowColor(Component c)
          指定されたコンポーネントに描画されたときにエッチングボーダーの陰影のカラーを返します。
 Color BevelBorder.getShadowInnerColor(Component c)
          指定されたコンポーネントに描画されたときに斜影ボーダーの内側陰影のカラーを返します。
 Color BevelBorder.getShadowOuterColor(Component c)
          指定されたコンポーネントに描画されたときに斜影ボーダーの外側陰影のカラーを返します。
 void Border.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
 void EmptyBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          デフォルトでは、描画を行いません。
 void AbstractBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          このデフォルト実装では、ペイントを行いません。
 void CompoundBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          複合ボーダーをペイントします。
 void MatteBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          飾り縁ボーダーをペイントします。
 void LineBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
 void EtchedBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
 void BevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
 void TitledBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
 void SoftBevelBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。
protected  void BevelBorder.paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height)
           
protected  void BevelBorder.paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height)
           
 

javax.swing.colorchooser での Component の使用
 

javax.swing.colorchooser での Component のサブクラス
 class AbstractColorChooserPanel
          カラーチューザの抽象スーパークラスです。
 

javax.swing.event での Component の使用
 

Component 型のパラメータを持つ javax.swing.event のコンストラクタ
MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m)
          MenuDragMouseEvent オブジェクトを構築します。
MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m)
          MenuDragMouseEvent オブジェクトを構築します。
MenuKeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, MenuElement[] p, MenuSelectionManager m)
          MenuKeyEvent オブジェクトを構築します。
 

javax.swing.plaf での Component の使用
 

Component 型のパラメータを持つ javax.swing.plaf のメソッド
 Insets BorderUIResource.getBorderInsets(Component c)
           
 void BorderUIResource.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 void IconUIResource.paintIcon(Component c, Graphics g, int x, int y)
           
 

javax.swing.plaf.basic での Component の使用
 

javax.swing.plaf.basic での Component のサブクラス
 class BasicArrowButton
          基本方向のいずれかにスケーリングされる矢印を描画する JButton オブジェクトです。
 class BasicComboBoxRenderer
          ComboBox のレンダリングです。
static class BasicComboBoxRenderer.UIResource
          UIResource を実装する BasicComboBoxRenderer のサブクラスです。
 class BasicComboPopup
          ComboPopup インタフェースの基本的な実装です。
 class BasicInternalFrameTitlePane
          基本のタイトルバーを管理するクラスです。
 class BasicInternalFrameTitlePane.SystemMenuBar
          このクラスは、「protected」内部クラスとして扱うことをお勧めします。
 class BasicSplitPaneDivider
          BasicSplitPaneUI で使われるディバイダです。
protected  class BasicToolBarUI.DragWindow
           
 

Component として宣言されている javax.swing.plaf.basic のフィールド
protected  Component[] BasicSplitPaneUI.BasicHorizontalLayoutManager.components
           
protected  Component BasicTreeUI.MouseInputHandler.destination
          すべてのイベントを受け取る送信先です。
protected  Component BasicTreeUI.editingComponent
          これは編集時に、実際の編集を行う Component になります。
protected  Component BasicComboBoxUI.editor
           
protected  Component BasicSplitPaneDivider.hiddenDivider
          非連続レイアウトモードに使われるディバイダです。
protected  Component BasicOptionPaneUI.initialFocusComponent
          selectInitialValue を使ってメッセージが送られたときに、フォーカスを受け取るコンポーネントです。
protected  Component BasicSplitPaneUI.nonContinuousLayoutDivider
          非連続レイアウトが使われているときのディバイダの陰影のインスタンスです。
protected  Component BasicTreeUI.MouseInputHandler.source
          イベントをもたらすソースです。
 Component BasicMenuUI.ChangeHandler.wasFocused
           
 

Component を返す javax.swing.plaf.basic のメソッド
protected  Component BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider()
          デフォルトの非連続レイアウトのディバイダを返します。
protected  Component BasicSpinnerUI.createNextButton()
          スピナーモデルの値を spinner.getNextValue から返されるオブジェクトで置き換えるコンポーネントを作成します。
protected  Component BasicSpinnerUI.createPreviousButton()
          スピナーモデルの値を spinner.getPreviousValueから返されるオブジェクトで置き換えるコンポーネントを作成します。
 Component BasicComboBoxEditor.getEditorComponent()
           
protected  Component BasicSliderUI.getHighestValueLabel()
          ラベルテーブルの最小のスライダ値に対応するラベルを返します。
 Component BasicComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
protected  Component BasicSliderUI.getLowestValueLabel()
          ラベルテーブルの最大のスライダ値に対応するラベルを返します。
 Component BasicSplitPaneUI.getNonContinuousLayoutDivider()
          splitPane が非連続レイアウトに設定されているときに使用するディバイダを返します。
protected  Component BasicTabbedPaneUI.getVisibleComponent()
           
 

Component 型のパラメータを持つ javax.swing.plaf.basic のメソッド
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
 void BasicScrollBarUI.addLayoutComponent(String name, Component child)
           
 void BasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String name, Component comp)
           
 void BasicTabbedPaneUI.TabbedPaneLayout.addLayoutComponent(String name, Component comp)
           
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(String place, Component component)
          コンポーネントを place に追加します。
 void BasicSplitPaneDivider.DividerLayout.addLayoutComponent(String string, Component c)
           
 void BasicOptionPaneUI.ButtonAreaLayout.addLayoutComponent(String string, Component comp)
           
 void BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name, Component c)
           
 void BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name, Component c)
           
 boolean BasicToolBarUI.canDock(Component c, Point p)
           
protected  void BasicTreeUI.drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
           
 Insets BasicBorders.ButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.ToggleButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.RadioButtonBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.MenuBarBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.MarginBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.FieldBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.SplitPaneBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.ButtonBorder.getBorderInsets(Component c, Insets insets)
           
 Insets BasicBorders.ToggleButtonBorder.getBorderInsets(Component c, Insets insets)
           
 Insets BasicBorders.RadioButtonBorder.getBorderInsets(Component c, Insets insets)
           
 Insets BasicBorders.MenuBarBorder.getBorderInsets(Component c, Insets insets)
           
 Insets BasicBorders.MarginBorder.getBorderInsets(Component c, Insets insets)
           
 Insets BasicBorders.FieldBorder.getBorderInsets(Component c, Insets insets)
           
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getPreferredSizeOfComponent(Component c)
          渡されたコンポーネントの適切なサイズの幅を返します。
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getSizeOfComponent(Component c)
          渡されたコンポーネントの幅を返します。
protected  void BasicSpinnerUI.installNextButtonListeners(Component c)
          ユーザーのジェスチャーに応じて JSpinner を更新するために、必要なリスナーを「次へ」ボタン c にインストールします。
protected  void BasicSpinnerUI.installPreviousButtonListeners(Component c)
          ユーザーのジェスチャーに応じて JSpinner を更新するために、必要なリスナーを「戻る」ボタン c にインストールします。
 void BasicBorders.RolloverButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void BasicBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 void BasicBorders.ToggleButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 void BasicBorders.RadioButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 void BasicBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 void BasicBorders.FieldBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 void BasicBorders.SplitPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
protected  void BasicSliderUI.paintHorizontalLabel(Graphics g, int value, Component label)
          ラベルテーブルの各ラベルに対して呼び出されます。
protected  void BasicSliderUI.paintVerticalLabel(Graphics g, int value, Component label)
          ラベルテーブルの各ラベルに対して呼び出されます。
 void BasicScrollBarUI.removeLayoutComponent(Component child)
           
 void BasicComboBoxUI.ComboBoxLayoutManager.removeLayoutComponent(Component comp)
           
 void BasicTabbedPaneUI.TabbedPaneLayout.removeLayoutComponent(Component comp)
           
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.removeLayoutComponent(Component component)
          指定されたコンポーネントを削除します。
 void BasicSplitPaneDivider.DividerLayout.removeLayoutComponent(Component c)
           
 void BasicOptionPaneUI.ButtonAreaLayout.removeLayoutComponent(Component c)
           
 void BasicInternalFrameUI.InternalFrameLayout.removeLayoutComponent(Component c)
           
 void BasicInternalFrameTitlePane.TitlePaneLayout.removeLayoutComponent(Component c)
           
protected  void BasicToolBarUI.setBorderToNonRollover(Component c)
          createNonRolloverBorder が作成した非ロールオーバーボーダーを持つように、コンポーネントのボーダーを設定します。
protected  void BasicToolBarUI.setBorderToNormal(Component c)
          コンポーネントのボーダーが通常のボーダーを持つように設定します。
protected  void BasicToolBarUI.setBorderToRollover(Component c)
          createRolloverBorder が作成したロールオーバーボーダーを持つように、コンポーネントのボーダーを設定します。
protected  void BasicSplitPaneUI.BasicHorizontalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          x 位置を location、y 位置を insets.top に配置することにより、コンポーネント c の幅を size に設定し、その高さを containersize.height から上インセットと下インセットを減算した値に設定します。
protected  void BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider)
          splitPane が非連続レイアウトに設定されているときに使用されるディバイダを設定します。
protected  void BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider, boolean rememberSizes)
          使用するディバイダを設定します。
protected  void BasicTabbedPaneUI.setVisibleComponent(Component component)
           
 

Component 型のパラメータを持つ javax.swing.plaf.basic のコンストラクタ
BasicTreeUI.MouseInputHandler(Component source, Component destination, MouseEvent event)
           
 

javax.swing.plaf.metal での Component の使用
 

javax.swing.plaf.metal での Component のサブクラス
 class MetalComboBoxButton
          MetalComboBoxUI を補助する JButton サブクラスです。
 class MetalComboBoxUI.MetalComboPopup
          推奨されていません。 Java 2 プラットフォーム v1.4 以降使われていません。
protected  class MetalFileChooserUI.FileRenderer
           
 class MetalFileChooserUI.FilterComboBoxRenderer
          各種のサイズおよびスタイルを描画します。
 class MetalInternalFrameTitlePane
          JLF 仕様のタイトルバーを管理するクラスです。
 class MetalScrollButton
          Metal スクロールバー矢印に使用する JButton オブジェクトです。
 

Component を返す javax.swing.plaf.metal のメソッド
 Component MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 

Component 型のパラメータを持つ javax.swing.plaf.metal のメソッド
protected  void MetalCheckBoxIcon.drawCheck(Component c, Graphics g, int x, int y)
           
 Insets MetalBorders.Flush3DBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ButtonBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.InternalFrameBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.PaletteBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.OptionDialogBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.MenuBarBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.MenuItemBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.PopupMenuBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ToolBarBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.ScrollPaneBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.TableHeaderBorder.getBorderInsets(Component c)
           
 Insets MetalBorders.Flush3DBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.ButtonBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.InternalFrameBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.PaletteBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.OptionDialogBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.MenuBarBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.MenuItemBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.PopupMenuBorder.getBorderInsets(Component c, Insets newInsets)
           
 Insets MetalBorders.ToolBarBorder.getBorderInsets(Component c, Insets newInsets)
           
 void MetalBorders.Flush3DBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.InternalFrameBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.PaletteBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.OptionDialogBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.MenuItemBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.PopupMenuBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.RolloverButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.ToolBarBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.TextFieldBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.ScrollPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.ToggleButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalBorders.TableHeaderBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 void MetalIconFactory.PaletteCloseIcon.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.FolderIcon16.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.FileIcon16.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.TreeControlIcon.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalComboBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
          水平線をペイントします。
 void MetalCheckBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
           
 void MetalIconFactory.TreeControlIcon.paintMe(Component c, Graphics g, int x, int y)
           
 void MetalLookAndFeel.provideErrorFeedback(Component component)
          フォーカスを持つ、編集不可能な JTextField に貼り付けを行うなど、ユーザーが無効な操作をしようとしたときに呼び出されます。
protected  void MetalToolBarUI.setBorderToNonRollover(Component c)
           
 

javax.swing.plaf.synth での Component の使用
 

Component 型のパラメータを持つ javax.swing.plaf.synth のメソッド
static void SynthLookAndFeel.updateStyles(Component c)
          c に関連付けられたスタイルとそのすべての子を更新します。
 

javax.swing.table での Component の使用
 

javax.swing.table での Component のサブクラス
 class DefaultTableCellRenderer
          JTable で各セルを描画 (表示) するための標準クラスです。
static class DefaultTableCellRenderer.UIResource
          UIResource を実装する DefaultTableCellRenderer のサブクラスです。
 class JTableHeader
          JTable のヘッダーを管理するオブジェクトです。
 

Component を返す javax.swing.table のメソッド
 Component TableCellEditor.getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
          エディタの初期値 value を設定します。
 Component TableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
          セルを描画するのに使用されるコンポーネントを返します。
 Component DefaultTableCellRenderer.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
          デフォルトのテーブルセルレンダリングを返します。
 

javax.swing.text での Component の使用
 

javax.swing.text での Component のサブクラス
 class JTextComponent
          JTextComponent は、Swing テキストコンポーネントの基底クラスです。
 

Component を返す javax.swing.text のメソッド
protected  Component ComponentView.createComponent()
          このビューに関連したコンポーネントを作成します。
 Component ComponentView.getComponent()
          ビューに関連したコンポーネントを取得します。
static Component StyleConstants.getComponent(AttributeSet a)
          属性リストからコンポーネントの設定を返します。
 

Component 型のパラメータを持つ javax.swing.text のメソッド
protected  void PlainView.damageLineRange(int line0, int line1, Shape a, Component host)
          指定された行範囲を再ペイントします。
static void StyleConstants.setComponent(MutableAttributeSet a, Component c)
          コンポーネント属性を設定します。
 

javax.swing.text.html での Component の使用
 

Component を返す javax.swing.text.html のメソッド
protected  Component ObjectView.createComponent()
          コンポーネントを作成します。
protected  Component FormView.createComponent()
          コンポーネントを作成します。
 

javax.swing.tree での Component の使用
 

javax.swing.tree での Component のサブクラス
 class DefaultTreeCellEditor.DefaultTextField
          エディタが提供されない場合に使用する TextField です。
 class DefaultTreeCellEditor.EditorContainer
          editingComponent を配置するコンテナです。
 class DefaultTreeCellRenderer
          ツリーのエントリを表示します。
 

Component として宣言されている javax.swing.tree のフィールド
protected  Component DefaultTreeCellEditor.editingComponent
          editingContainer から取得され、編集で使用されるコンポーネントです。
 

Component を返す javax.swing.tree のメソッド
 Component TreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          エディタの初期値 value を設定します。
 Component DefaultTreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          エディタを設定します。
 Component DefaultTreeCellRenderer.getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
          コンポーネントに渡される内容に基づいてレンダリングを設定します。
 Component TreeCellRenderer.getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
          現在のツリーセルの値を value に設定します。
 


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 も参照してください。