| パッケージ | 説明 | 
|---|---|
| java.applet | アプレットの作成、およびアプレットとアプレット・コンテキストとの通信に使用するクラスの作成に必要なクラスを提供します。 | 
| java.awt | ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。 | 
| java.awt.dnd | ドラッグ&ドロップ操作は、多くのグラフィカル・ユーザー・インタフェース・システムで見られる直接的な操作ジェスチャで、GUIの表現要素に論理的に関連付けられた2つのエンティティ間で情報を変換するメカニズムを提供します。 | 
| java.awt.event | AWTコンポーネントによってトリガーされるさまざまな種類のイベントを処理するインタフェースとクラスを提供します。 | 
| java.awt.im | インプット・メソッド・フレームワークのためのクラスおよびインタフェースを提供します。 | 
| java.beans | JavaBeans(tm)アーキテクチャに基づいたコンポーネントであるBeanの開発に関連したクラスが含まれています。 | 
| java.beans.beancontext | Beanコンテキストに関連するクラスおよびインタフェースを提供します。 | 
| javax.swing | すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。 | 
| javax.swing.border | Swingコンポーネントの周囲に各種ボーダーを描画するためのクラスおよびインタフェースを提供します。 | 
| javax.swing.colorchooser | JColorChooserコンポーネントによって使用されるクラスとインタフェースが含まれています。 | 
| javax.swing.event | Swingコンポーネントによってトリガーされるイベントを提供します。 | 
| javax.swing.plaf | SwingがプラガブルなLook & Feel機能を提供するために使用する、1つのインタフェースおよび多くの抽象クラスを提供します。 | 
| 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を処理するためのクラスとインタフェースを提供します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | Appletアプレットは、単独で動作することはなく、ほかのアプリケーションの中に組み込まれた形で実行される小さなプログラムです。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | Buttonこのクラスはラベル付きボタンを生成します。 | 
| class  | CanvasCanvasコンポーネントは、アプリケーションが描画したり、アプリケーションがユーザーからの入力イベントをトラップしたりすることのできる画面の空白の矩形領域を表します。 | 
| class  | Checkboxチェックボックスは、「オン」( true)または「オフ」(false)のどちらかの状態になることができるグラフィカル・コンポーネントです。 | 
| class  | ChoiceChoiceクラスは、選択肢のポップアップ・メニューを提供します。 | 
| class  | ContainerジェネリックAbstract Window Toolkit (AWT)コンテナ・オブジェクトは、ほかのAWTコンポーネントを含むことができるコンポーネントです。 | 
| class  | DialogDialogは、通常はユーザーからの入力を受け付けるために使用される、タイトルおよびボーダーを持つトップ・レベルのウィンドウです。 | 
| class  | FileDialogFileDialogクラスは、ユーザーがファイルを選択できるダイアログ・ウィンドウを表示します。 | 
| class  | FrameFrameは、タイトルとボーダーを持つトップ・レベルのウィンドウです。 | 
| class  | LabelLabelオブジェクトは、コンテナ内にテキストを配置するためのコンポーネントです。 | 
| class  | ListListコンポーネントは、ユーザーにテキスト項目のスクロール・リストを提供します。 | 
| class  | PanelPanelは、もっとも単純なコンテナ・クラスです。 | 
| class  | ScrollbarScrollbarクラスは、なじみのあるユーザー・インタフェース・オブジェクトであるスクロール・バーを実現します。 | 
| class  | ScrollPane1つの子コンポーネントに対して、自動水平または垂直スクロールあるいはその両方を実装するコンテナ・クラスです。 | 
| class  | TextAreaTextAreaオブジェクトは、テキストを表示する複数行領域です。 | 
| class  | TextComponentTextComponentクラスは、一部のテキストの編集を可能にするすべてのコンポーネントのスーパー・クラスです。 | 
| class  | TextFieldTextFieldオブジェクトは、1行のテキストの編集を可能にするテキスト・コンポーネントです。 | 
| class  | WindowWindowオブジェクトは、ボーダーやメニュー・バーのないトップ・レベルのウィンドウです。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Hashtable<Component,GridBagConstraints> | GridBagLayout. comptableこのハッシュ表は、コンポーネントとコンポーネントのグリッド・バッグ制約との関連性を保持します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| 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)このコンポーネントまたはその直接のサブコンポーネントのいずれかに(x, y)位置が含まれているかどうかを判定し、該当する場合は含んでいるコンポーネントを返します。 | 
| 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を返します。そうでない場合はnullを返します。 | 
| Component | KeyboardFocusManager. getFocusOwner()フォーカスの所有者が呼出し側と同じコンテキストにある場合、フォーカスの所有者を返します。 | 
| protected Component | KeyboardFocusManager. getGlobalFocusOwner()呼出し側スレッドがフォーカスの所有者と異なるコンテキストにある場合でも、フォーカスの所有者を返します。 | 
| protected Component | KeyboardFocusManager. getGlobalPermanentFocusOwner()パーマネント・フォーカスの所有者が呼出し側スレッドと異なるコンテキストにある場合でも、パーマネント・フォーカス所有者を返します。 | 
| Component | FocusTraversalPolicy. getInitialComponent(Window window)ウィンドウがはじめて表示されたときにフォーカスを受信するべきComponentを返します。 | 
| 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)に置き換えられています。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected boolean | ContainerOrderFocusTraversalPolicy. accept(Component aComponent)Componentが新しいフォーカス所有者として適切かどうかを判定します。 | 
| protected boolean | DefaultFocusTraversalPolicy. 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 | ScrollPane. addImpl(Component comp, Object constraints, int index)指定されたコンポーネントを、このスクロール・ペイン・コンテナに追加します。 | 
| protected void | Container. addImpl(Component comp, Object constraints, int index)指定されたコンポーネントを、指定されたインデックスで、コンテナへ追加します。 | 
| void | GridBagLayout. addLayoutComponent(Component comp, Object constraints)指定された constraintsオブジェクトを使用して、指定されたコンポーネントをレイアウトに追加します。 | 
| void | LayoutManager2. addLayoutComponent(Component comp, Object constraints)指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。 | 
| void | BorderLayout. addLayoutComponent(Component comp, Object constraints)指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。 | 
| void | CardLayout. addLayoutComponent(Component comp, Object constraints)指定されたコンポーネントを、このカード・レイアウトの名前の内部表に追加します。 | 
| void | GridBagLayout. addLayoutComponent(String name, Component comp)このレイアウト・マネージャはコンポーネントごとの文字列を使用しないため、何もしません。 | 
| void | BorderLayout. addLayoutComponent(String name, Component comp)非推奨。 
 addLayoutComponent(Component, Object)に置き換えられています。 | 
| void | FlowLayout. addLayoutComponent(String name, Component comp)指定されたコンポーネントをレイアウトに追加します。 | 
| void | GridLayout. addLayoutComponent(String name, Component comp)指定された名前で、指定されたコンポーネントをレイアウトに追加します。 | 
| void | CardLayout. addLayoutComponent(String name, Component comp)非推奨。 
 addLayoutComponent(Component, Object)に置き換えられています。 | 
| void | LayoutManager. addLayoutComponent(String name, Component comp)レイアウト・マネージャがコンポーネントごとの文字列を使用する場合は、レイアウトにコンポーネント compを追加し、それをnameによって指定された文字列に関連付けます。 | 
| protected java.awt.peer.LightweightPeer | Toolkit. createComponent(Component target)コンポーネントまたはコンテナのピアを作成します。 | 
| <T extends DragGestureRecognizer> | Toolkit. createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)要求された抽象クラスDragGestureRecognizerの、プラットフォームに依存する具象サブクラスを作成し、指定されたDragSource、Component、およびDragGestureListenerに関連付けます。 | 
| protected void | DefaultKeyboardFocusManager. dequeueKeyEvents(long after, Component untilFocused)同じタイムスタンプとComponentを使用した enqueueKeyEventsの呼出しのためにキューに入れられたすべてのKeyEventを、現在のフォーカス所有者への通常のディスパッチのために解放します。 | 
| protected abstract void | KeyboardFocusManager. dequeueKeyEvents(long after, Component untilFocused)遅延したKeyEventsのディスパッチを取り消すようKeyboardFocusManagerに通知するためにAWTによって呼び出されます。 | 
| protected void | DefaultKeyboardFocusManager. discardKeyEvents(Component comp)指定されたComponent、またはそのいずれかの下位コンポーネントを使用した enqueueKeyEventsの1回以上の呼出しのためにキューに入れられたすべてのKeyEventを破棄します。 | 
| protected abstract void | KeyboardFocusManager. discardKeyEvents(Component comp)遅延したKeyEventsのディスパッチを取り消すようKeyboardFocusManagerに通知するためにAWTによって呼び出されます。 | 
| protected void | DefaultKeyboardFocusManager. enqueueKeyEvents(long after, Component untilFocused)指定されたコンポーネントがフォーカス所有者となるまで、KeyEventsのディスパッチを遅らせます。 | 
| protected abstract void | KeyboardFocusManager. enqueueKeyEvents(long after, Component untilFocused)指定されたComponentがフォーカスの所有者になるまで、KeyEventsのディスパッチを遅延させる必要があることをKeyboardFocusManagerに通知するためにAWTによって呼び出されます。 | 
| void | DefaultKeyboardFocusManager. focusNextComponent(Component aComponent)通常FocusTraversalPolicyに基づいて、aComponentのあとでComponentをフォーカスします。 | 
| abstract void | KeyboardFocusManager. focusNextComponent(Component aComponent)通常FocusTraversalPolicyに基づいて、aComponentのあとでComponentをフォーカスします。 | 
| void | DefaultKeyboardFocusManager. focusPreviousComponent(Component aComponent)通常FocusTraversalPolicyに基づいて、aComponentの前にComponentをフォーカスします。 | 
| abstract void | KeyboardFocusManager. 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軸順インデックスを返します。 | 
| GridBagConstraints | GridBagLayout. getConstraints(Component comp)指定されたコンポーネントの制約を返します。 | 
| Object | BorderLayout. getConstraints(Component comp)指定されたコンポーネントの制約を取得します。 | 
| protected static Container | Toolkit. getNativeContainer(Component c)ネイティブ・コンポーネントの場合に、ネイティブ・ピアがネイティブ・コンテナを照会することを許可します(直接の親が軽量の場合があります)。 | 
| boolean | Container. isAncestorOf(Component c)コンポーネントがこのコンテナのコンポーネント階層に含まれているかどうかを判定します。 | 
| protected GridBagConstraints | GridBagLayout. lookupConstraints(Component comp)指定されたコンポーネントの制約を返します。 | 
| void | DefaultKeyboardFocusManager. processKeyEvent(Component focusedComponent, KeyEvent e)KeyEventが指定されたfocusedComponentに対してフォーカス・トラバーサル・キーを示す場合にのみ、このメソッドはフォーカス・トラバーサル操作を初期化します。 | 
| abstract void | KeyboardFocusManager. processKeyEvent(Component focusedComponent, KeyEvent e)KeyEventが指定されたfocusedComponentに対してフォーカス・トラバーサル・キーを示す場合にのみ、このメソッドはフォーカス・トラバーサル操作を初期化します。 | 
| void | KeyboardFocusManager. redispatchEvent(Component target, AWTEvent e)AWTイベント・ディスパッチャに対してKeyboardFocusManager、またはインストールされた任意のKeyEventDispatchersが再度イベントを再帰的にディスパッチすることを要求しないような方法でAWTEventを再ディスパッチします。 | 
| void | Container. remove(Component comp)このコンテナから、指定されたコンポーネントを削除します。 | 
| void | GridBagLayout. removeLayoutComponent(Component comp)指定されたコンポーネントをこのレイアウトから削除します。 | 
| void | BorderLayout. removeLayoutComponent(Component comp)このボーダー・レイアウトから、指定されたコンポーネントを削除します。 | 
| void | FlowLayout. removeLayoutComponent(Component comp)指定されたコンポーネントをレイアウトから削除します。 | 
| void | GridLayout. removeLayoutComponent(Component comp)指定されたコンポーネントをレイアウトから削除します。 | 
| void | CardLayout. removeLayoutComponent(Component comp)指定されたコンポーネントをレイアウトから削除します。 | 
| void | LayoutManager. 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にポップアップ・メニューを表示します。 | 
| void | DefaultKeyboardFocusManager. upFocusCycle(Component aComponent)フォーカスを1つ上のフォーカス・トラバーサル・サイクルに移動します。 | 
| abstract void | KeyboardFocusManager. upFocusCycle(Component aComponent)フォーカスを1つ上のフォーカス・トラバーサル・サイクルに移動します。 | 
| コンストラクタと説明 | 
|---|
| MediaTracker(Component comp)指定されたコンポーネントのイメージを監視するメディア・トラッカを作成します。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Component | DragGestureRecognizer. componentこの DragGestureRecognizerに関連付けられているComponent。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Component | DragGestureEvent. getComponent()この DragGestureEventに関連付けられたComponentを返します。 | 
| Component | DropTarget. getComponent()この DropTargetに関連付けられているComponentを取得します。 | 
| Component | DragGestureRecognizer. getComponent()このメソッドは、 DragGestureRecognizerによってドラッグ開始ジェスチャを「監視」されるComponentを返します。 | 
| Component | DragSourceContext. getComponent()この DragSourceContextに関連付けられたComponentを返します。 | 
| Component | DropTargetContext. getComponent()このメソッドは、この DropTargetContextに関連付けられたComponentを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| DragGestureRecognizer | DragSource. createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)この DragSourceにDragGestureRecognizerのデフォルト抽象サブクラスを実装する新しいDragGestureRecognizerを作成し、指定されたComponentとDragGestureListenerを新しく作成されたオブジェクト上に設定します。 | 
| <T extends DragGestureRecognizer> | 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)注: このインタフェースは、  component.setDropTarget(droptarget); または droptarget.setComponent(component); の2つの方法のうちのどちらかでDropTargetとComponentとの安全な関連付けを許可するために必要です。 | 
| void | DragGestureRecognizer. setComponent(Component c)DragGestureRecognizerが関連付けられるComponentを設定します。registerListeners()およびunregisterListeners()は、必要に応じて副作用として呼び出されます。 | 
| コンストラクタと説明 | 
|---|
| 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(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、イベント処理を扱うDropTargetListener、およびDropTargetが現在ドロップを受け入れているかどうかを示すbooleanを使用して、DropTargetを作成します。 | 
| DropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm)自身を関連付ける Component、サポートするデフォルトの許容アクションを表すint、イベント処理を扱うDropTargetListener、DropTargetが現在ドロップを受け入れているかどうかを示すboolean、および使用するFlavorMap(または、デフォルトのFlavorMapの場合はnull)を使用して、新しいDropTargetを作成します。 | 
| DropTargetAutoScroller(Component c, Point p)DropTargetAutoScrollerを構築します | 
| MouseDragGestureRecognizer(DragSource ds, Component c)ComponentcのDragSource、および監視するComponentを使用して、新しいMouseDragGestureRecognizerを構築します。 | 
| MouseDragGestureRecognizer(DragSource ds, Component c, int act)ComponentcのDragSource、監視するComponent、およびこのドラッグ操作で許可されるアクションを使用して、新しいMouseDragGestureRecognizerを構築します。 | 
| MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)ComponentcのDragSource、監視するComponent、このドラッグ操作で許可されるアクション、およびドラッグ・ジェスチャが検出されたときに通知するDragGestureListenerを使用して、新しいMouseDragGestureRecognizerを構築します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Component | HierarchyEvent. getChanged()変更された階層の最上位Componentを返します。 | 
| Component | ContainerEvent. getChild()イベントによって影響を受けたコンポーネントを返します。 | 
| Component | HierarchyEvent. getComponent()イベントの発生元を返します。 | 
| Component | ComponentEvent. getComponent()イベントの発生元を返します。 | 
| Component | FocusEvent. getOppositeComponent()このフォーカス変更に関係するもう一方のComponentを返します。 | 
| コンストラクタと説明 | 
|---|
| 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)Component階層の変更を識別するためのHierarchyEventオブジェクトを構築します。 | 
| HierarchyEvent(Component source, int id, Component changed, Container changedParent, long changeFlags)Component階層の変更を識別するためのHierarchyEventオブジェクトを構築します。 | 
| InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)指定されたソース・コンポーネント、タイプ、text、caret、およびvisiblePositionで、 InputMethodEventを構築します。 | 
| InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)指定されたソース・コンポーネント、タイプ、時間、text、caret、およびvisiblePositionで、 InputMethodEventを構築します。 | 
| InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)指定されたソース・コンポーネント、タイプ、caret、および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)KeyEventオブジェクトを構築します。 | 
| MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger)指定されたソース・コンポーネント、型、修飾子、座標、クリック・カウント、popupTriggerフラグで、 MouseEventオブジェクトを構築します。 | 
| MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)指定されたソース・コンポーネント、型、時間、修飾子、座標、クリック・カウント、popupTriggerフラグ、ボタン番号で、 MouseEventオブジェクトを構築します。 | 
| MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int button)指定されたソース・コンポーネント、型、時間、修飾子、座標、絶対座標、クリック・カウント、popupTriggerフラグ、ボタン番号で、 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オブジェクトを構築します。 | 
| 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, double preciseWheelRotation)指定されたソース・コンポーネント、タイプ、修飾子、座標、絶対座標、スクロール・タイプ、スクロール量、およびホイール回転で、 MouseWheelEventオブジェクトを構築します。 | 
| PaintEvent(Component source, int id, Rectangle updateRect)指定されたソース・コンポーネントとタイプで、 PaintEventオブジェクトを構築します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | InputContext. removeNotify(Component client)包含関係の階層からクライアント・コンポーネントが削除されたか、またはコンポーネントでインプット・メソッドがサポートされなくなったことを入力コンテキストに通知します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Component | PropertyEditor. getCustomEditor()PropertyEditorは、プロパティ値を編集する完全なカスタム・コンポーネントを提供することができます。 | 
| Component | PropertyEditorSupport. getCustomEditor()PropertyEditorは、プロパティ値を編集する完全なカスタム・コンポーネントを提供することができます。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Component | BeanContextChildComponentProxy. getComponent()この BeanContextChildに関連付けられているjava.awt.Componentを取得します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | JLayer<V extends Component>JLayerは、さまざまな高度なペイント効果を実装したり、そのボーダー内で生成されるすべてのAWTEventの通知を受信したりするために使用できる、Swingコンポーネントのための汎用のデコレータです。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | AbstractButtonボタンおよびメニュー項目の共通動作を定義します。 | 
| class  | BoxBoxLayoutオブジェクトをレイアウト・マネージャとして使う軽量なコンテナです。 | 
| static class  | Box.Fillerレイアウトに含まれるがビューを持たない軽量コンポーネントの実装です。 | 
| class  | CellRendererPaneこのクラスは、セル・レンダラとそれを使うコンポーネントの間に挿入されます。 | 
| class  | DefaultListCellRendererリスト内の項目をレンダリングします。 | 
| static class  | DefaultListCellRenderer.UIResourceUIResourceを実装するDefaultListCellRendererのサブクラスです。 | 
| class  | JAppletJFC/Swingコンポーネント・アーキテクチャのサポートを追加する java.applet.Appletの拡張バージョン。 | 
| class  | JButton「プッシュ」ボタンの実装です。 | 
| class  | JCheckBoxチェックボックス(選択または選択解除が可能で、その状態をユーザーに表示する項目)の実装です。 | 
| class  | JCheckBoxMenuItem選択または選択解除できるメニュー項目です。 | 
| class  | JColorChooserJColorChooserは、ユーザーが色を操作したり、選択したりできるように設計されたコントロールのペインを提供します。 | 
| class  | JComboBox<E>ボタン、または編集可能フィールドとドロップ・ダウン・リストを組み合わせたコンポーネントです。 | 
| class  | JComponentトップ・レベルのコンテナを除くすべてのSwingコンポーネントの基底クラスです。 | 
| class  | JDesktopPaneマルチドキュメント・インタフェースまたは仮想デスクトップを生成するコンテナです。 | 
| class  | JDialogダイアログ・ウィンドウを作成するためのメイン・クラスです。 | 
| class  | JEditorPaneさまざまな種類のコンテンツを編集するためのテキスト・コンポーネントです。 | 
| class  | JFileChooserJFileChooserは、ユーザーがファイルを選択するための単純なメカニズムを提供します。 | 
| class  | JFormattedTextFieldJFormattedTextFieldはJTextFieldを拡張して、任意の値をフォーマットしたり、ユーザーがテキストを編集したあとに特定のオブジェクトを取得したりするためのサポートを追加します。 | 
| class  | JFrameJFC/Swingコンポーネント・アーキテクチャのサポートを追加する java.awt.Frameの拡張バージョン。 | 
| class  | JInternalFrameネイティブなフレームに、ドラッグ、クローズ、アイコン化、サイズ変更、タイトル表示、およびメニュー・バーのサポートなど、多くの機能を提供する軽量オブジェクトです。 | 
| static class  | JInternalFrame.JDesktopIconこのコンポーネントは、 JInternalFrameのアイコン化されたバージョンを表します。 | 
| class  | JLabel短いテキスト文字列やイメージの表示領域です。両方を一緒に表示することもできます。 | 
| class  | JLayer<V extends Component>JLayerは、さまざまな高度なペイント効果を実装したり、そのボーダー内で生成されるすべてのAWTEventの通知を受信したりするために使用できる、Swingコンポーネントのための汎用のデコレータです。 | 
| class  | JLayeredPaneJLayeredPaneはJFC/Swingコンテナに深さを追加し、コンポーネントが必要に応じて互いにオーバーラップできるようにします。 | 
| class  | JList<E>オブジェクトのリストを表示し、ユーザーが1つまたは複数のオブジェクトを選択できるようにするコンポーネントです。 | 
| class  | JMenuメニュー(ユーザーが JMenuBarの項目を選択したときに表示される、JMenuItemを含むポップアップ・ウィンドウ)の実装です。 | 
| class  | JMenuBarメニュー・バーの実装です。 | 
| class  | JMenuItemメニューの項目の実装です。 | 
| class  | JOptionPaneJOptionPaneは、ユーザーに値の入力を求めたり、何らかの情報を通知したりするための標準のダイアログ・ボックスを容易にポップアップできるようにします。 | 
| class  | JPanelJPanelは、ジェネリックな軽量コンテナです。 | 
| class  | JPasswordFieldJPasswordFieldは、1行のテキストの編集を可能にする軽量コンポーネントです。何かが入力されたことはビューに示されますが、元の文字は表示されません。 | 
| class  | JPopupMenuポップアップ・メニュー(一連の選択肢をポップアップおよび表示する小さなウィンドウ)の実装です。 | 
| static class  | JPopupMenu.Separatorポップアップ・メニュー固有のセパレータです。 | 
| class  | JProgressBar一部のタスクの進捗状況を視覚的に表示するコンポーネントです。 | 
| class  | JRadioButtonラジオ・ボタン(選択または選択解除が可能で、その状態をユーザーに表示する項目)の実装です。 | 
| class  | JRadioButtonMenuItemラジオ・ボタン・メニュー項目の実装です。 | 
| class  | JRootPaneJFrame、JDialog、JWindow、JApplet、およびJInternalFrameによって内部的に使用される軽量コンテナ。 | 
| class  | JScrollBarスクロール・バーの実装です。 | 
| class  | JScrollPane軽量コンポーネントのスクロール可能なビューを提供します。 | 
| protected class  | JScrollPane.ScrollBarデフォルトでは、 JScrollPaneは、このクラスのインスタンスであるスクロール・バーを作成します。 | 
| class  | JSeparatorJSeparatorは、区切り線を実装するための汎用的なコンポーネントを提供します。もっとも一般的には、メニュー項目を論理的なグループに分割するための項目間の区切り線として使用されます。 | 
| class  | JSliderユーザーが指定された区間内でノブをスライドすることによりグラフィカルに値を選択できるようにするコンポーネントです。 | 
| class  | JSpinnerユーザーが、順序付けられたシーケンスから数またはオブジェクトを選択できるようにする単一行の入力フィールドです。 | 
| static class  | JSpinner.DateEditorモデルが SpinnerDateModelであるJSpinnerのエディタです。 | 
| static class  | JSpinner.DefaultEditorJFormattedTextFieldを使用してモデルの現在の値の読取り専用ビューを表示する、より特殊なエディタの単純な基底クラスです。 | 
| static class  | JSpinner.ListEditorモデルが SpinnerListModelであるJSpinnerのエディタです。 | 
| static class  | JSpinner.NumberEditorモデルが SpinnerNumberModelであるJSpinnerのエディタです。 | 
| class  | JSplitPaneJSplitPaneは、2つ(2つだけ)のComponentを分割するために使用されます。 | 
| class  | JTabbedPane指定されたタイトルやアイコンを持つタブをクリックすることにより、ユーザーがコンポーネントのグループを切り替えられるようにするコンポーネントです。 | 
| class  | JTableJTableは、セルの通常の2次元表を表示および編集するために使用されます。 | 
| class  | JTextAreaJTextAreaは、プレーン・テキストを表示する複数行の領域です。 | 
| class  | JTextFieldJTextFieldは、1行のテキストの編集を可能にする軽量コンポーネントです。 | 
| class  | JTextPaneグラフィックで表現される属性でマークアップできるテキスト・コンポーネントです。 | 
| class  | JToggleButton2つの状態を持つボタンの実装です。 | 
| class  | JToolBarJToolBarは、一般的に使用されるActionまたはコントロールを表示するのに役立つコンポーネントを提供します。 | 
| static class  | JToolBar.Separatorツールバー独自のセパレータです。 | 
| class  | JToolTipComponentの「ヒント」を表示するために使います。 | 
| class  | JTree | 
| class  | JViewportベースとなる情報を見るために使用する「ビュー・ポート(窓)」です。 | 
| class  | JWindowJWindowは、ユーザーのデスクトップ上のどこにでも表示できるコンテナです。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected static Component | ImageIcon. component非推奨。 
 1.8以降 | 
| protected Component | JTable. editorComp編集時であれば、編集を処理している Componentです。 | 
| protected Component | JRootPane. glassPaneメニュー・バーとコンテンツ・ペインにオーバーレイするガラス・ペインです。マウスの動作などを捕捉できます。 | 
| protected Component | JLabel. labelFor | 
| protected Component | JSplitPane. leftComponent左または上のコンポーネントです。 | 
| protected Component | ScrollPaneLayout. lowerLeft左下隅に表示するコンポーネントです。 | 
| protected Component | JScrollPane. lowerLeft左下隅に表示するコンポーネントです。 | 
| protected Component | ScrollPaneLayout. lowerRight右下隅に表示するコンポーネントです。 | 
| protected Component | JScrollPane. lowerRight右下隅に表示するコンポーネントです。 | 
| protected Component | JSplitPane. rightComponent右または下のコンポーネントです。 | 
| protected Component | ScrollPaneLayout. upperLeft左上隅に表示するコンポーネントです。 | 
| protected Component | JScrollPane. upperLeft左上隅に表示するコンポーネントです。 | 
| protected Component | ScrollPaneLayout. upperRight右上隅に表示するコンポーネントです。 | 
| protected Component | JScrollPane. upperRight右上隅に表示するコンポーネントです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Component | JTabbedPane. add(Component component)component.getNameの呼出しの結果であるコンポーネントの名前がデフォルトで設定されたタブ・タイトルを持つcomponentを追加します。 | 
| Component | JMenu. add(Component c)このメニューの最後にコンポーネントを追加します。 | 
| Component | JTabbedPane. add(Component component, int index)コンポーネントの名前がデフォルトで設定されたタブ・タイトルを持つ componentを、指定されたタブ・インデックス位置に追加します。 | 
| Component | JMenu. add(Component c, int index)指定されたコンポーネントを、このコンテナの指定された位置に追加します。 | 
| 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()不可視の「接着剤」コンポーネントを作成します。これは、可視コンポーネントに水平ボックスに対する最大幅や垂直ボックスに対する最大高が指定されているBoxに便利です。 | 
| 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 | JMenuBar. getComponent()MenuElementとして実装されます。 | 
| Component | DefaultCellEditor. getComponent()エディタ・コンポーネントへの参照を返します。 | 
| Component | JMenu. getComponent()この MenuElementをペイントするのに使われるjava.awt.Componentを返します。 | 
| Component | TransferHandler.TransferSupport. getComponent()この転送のターゲット・コンポーネントを返します。 | 
| Component | Renderer. getComponent()値をレンダリングするために使用されるコンポーネントを返します。 | 
| Component | JPopupMenu. getComponent()この JPopupMenuコンポーネントを返します。 | 
| Component | JMenuItem. getComponent()このオブジェクトをペイントするのに使われる java.awt.Componentを返します。 | 
| Component | MenuElement. getComponent()受け取り側要素をペイントするためのjava.awt.Componentを返します。 | 
| Component | LayoutFocusTraversalPolicy. getComponentAfter(Container aContainer, Component aComponent)aComponentのあとでフォーカスを受け取るComponentを返します。 | 
| Component | SortingFocusTraversalPolicy. getComponentAfter(Container aContainer, Component aComponent)aComponentのあとでフォーカスを受け取るComponentを返します。 | 
| Component | DefaultFocusManager. getComponentAfter(Container aContainer, Component aComponent) | 
| Component | JTabbedPane. getComponentAt(int index)indexのコンポーネントを返します。 | 
| Component | JMenuBar. getComponentAtIndex(int i)非推奨。 
 getComponent(int i)に置き換えられています | 
| Component | JPopupMenu. getComponentAtIndex(int i)非推奨。 
 Container.getComponent(int)に置き換えられています | 
| Component | JToolBar. getComponentAtIndex(int i)指定されたインデックスの要素を返します。 | 
| 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 | ScrollPaneLayout. getCorner(String key)指定されたコーナーにある Componentを返します。 | 
| Component | JScrollPane. getCorner(String key)指定されたコーナーにあるコンポーネントを返します。 | 
| protected Component | JTable.AccessibleJTable.AccessibleJTableCell. getCurrentComponent()表セル・レンダラ・コンポーネントを取得します。 | 
| static Component | SwingUtilities. getDeepestComponentAt(Component parent, int x, int y)位置 x、yを含むparentの、もっとも深い可視の子孫Componentを返します。 | 
| 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 | JDialog. getGlassPane()このダイアログの glassPaneオブジェクトを返します。 | 
| Component | JApplet. getGlassPane()このアプレットのglassPaneオブジェクトを返します。 | 
| Component | JFrame. getGlassPane()このフレームの glassPaneオブジェクトを返します。 | 
| Component | JRootPane. getGlassPane()この JRootPaneの現在のガラス・ペインを返します。 | 
| Component | JWindow. getGlassPane()このウィンドウの glassPane Componentを返します。 | 
| Component | RootPaneContainer. getGlassPane()glassPaneを返します。 | 
| Component | JInternalFrame. getGlassPane()この内部フレームのガラス・ペインを返します。 | 
| 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 | DefaultListCellRenderer. getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) | 
| Component | ListCellRenderer. getListCellRendererComponent(JList<? extends E> list, E 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()非推奨。 
 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インタフェースを実装します。 | 
| static Component | SwingUtilities. getUnwrappedView(JViewport viewport)JLayerのインスタンスではない、JViewportの最初の子孫を返します。 | 
| Component | JViewport. getView()JViewportの1つの子またはnullを返します。 | 
| Component | JTable. prepareEditor(TableCellEditor editor, int row, int column)row、columnの位置にあるセルの値および選択状態をデータ・モデルに照会して、エディタを準備します。 | 
| Component | JTable. prepareRenderer(TableCellRenderer renderer, int row, int column)row、columnの位置にあるセルの値および選択状態をデータ・モデルに照会して、レンダラを準備します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Comparator<? super Component> | SortingFocusTraversalPolicy. getComparator()フォーカス・トラバーサル・サイクルでComponentsをソートするために使うComparatorを返します。 | 
| protected Hashtable<Component,Integer> | JLayeredPane. getComponentToLayer()コンポーネントをレイヤーにマッピングするハッシュ表を返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected boolean | LayoutFocusTraversalPolicy. accept(Component aComponent)指定された Componentが新しいフォーカス所有者として適切かどうかを判定します。 | 
| protected boolean | SortingFocusTraversalPolicy. accept(Component aComponent)Componentが新しいフォーカス所有者として適切かどうかを判定します。 | 
| Component | JTabbedPane. add(Component component)component.getNameの呼出しの結果であるコンポーネントの名前がデフォルトで設定されたタブ・タイトルを持つcomponentを追加します。 | 
| Component | JMenu. add(Component c)このメニューの最後にコンポーネントを追加します。 | 
| Component | JTabbedPane. add(Component component, int index)コンポーネントの名前がデフォルトで設定されたタブ・タイトルを持つ componentを、指定されたタブ・インデックス位置に追加します。 | 
| Component | JMenu. add(Component c, int index)指定されたコンポーネントを、このコンテナの指定された位置に追加します。 | 
| 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)ComponentをこのGroupに追加します。 | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(boolean useAsBaseline, Component component, int min, int pref, int max)ComponentをこのGroupに指定されたサイズで追加します。 | 
| GroupLayout.Group | GroupLayout.Group. addComponent(Component component)ComponentをこのGroupに追加します。 | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(Component component)ComponentをこのGroupに追加します。 | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component)ComponentをこのGroupに追加します。 | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component, GroupLayout.Alignment alignment)ComponentをこのParallelGroupに指定された配置で追加します。 | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component, GroupLayout.Alignment alignment, int min, int pref, int max)この ComponentをParallelGroupに指定の配置とサイズで追加します。 | 
| GroupLayout.Group | GroupLayout.Group. addComponent(Component component, int min, int pref, int max)ComponentをこのGroupに指定されたサイズで追加します。 | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(Component component, int min, int pref, int max)ComponentをこのGroupに指定されたサイズで追加します。 | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component, int min, int pref, int max)ComponentをこのGroupに指定されたサイズで追加します。 | 
| protected void | CellRendererPane. addImpl(Component x, Object constraints, int index)指定したコンポーネントがすでにこれの子である場合、処理は不要です。重なる順番はセル・レンダラ・コンポーネントでは問題にはなりません。CellRendererPaneはいずれの場合もペイントしません。 | 
| protected void | JDialog. addImpl(Component comp, Object constraints, int index)指定された子 Componentを追加します。 | 
| protected void | JViewport. addImpl(Component child, Object constraints, int index)JViewportの1つの軽量な子を設定します。nullも指定できます。 | 
| protected void | JSplitPane. addImpl(Component comp, Object constraints, int index)この分割ペインに指定したコンポーネントを追加します。 | 
| protected void | JDesktopPane. addImpl(Component comp, Object constraints, int index)指定されたコンポーネントを、指定されたインデックスで、コンテナへ追加します。 | 
| protected void | JApplet. addImpl(Component comp, Object constraints, int index)指定された子 Componentを追加します。 | 
| 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 | JLayer. addImpl(Component comp, Object constraints, int index)このメソッドは JLayerではサポートされていません。このメソッドは常にUnsupportedOperationExceptionをスローします。 | 
| protected void | AbstractButton. addImpl(Component comp, Object constraints, int index)指定されたコンポーネントをこのコンテナのインデックスで指定された位置に追加します。このメソッドの詳細については、 Container.addImpl(Component, Object, int)を参照してください。 | 
| protected void | JWindow. addImpl(Component comp, Object constraints, int index)指定された子 Componentを追加します。 | 
| protected void | JToolBar. addImpl(Component comp, Object constraints, int index)JButtonが追加されると、初期状態では使用不可に設定されます。 | 
| protected void | JInternalFrame. addImpl(Component comp, Object constraints, int index)指定された子 Componentを追加します。 | 
| void | OverlayLayout. addLayoutComponent(Component comp, Object constraints)指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。 | 
| void | BoxLayout. addLayoutComponent(Component comp, Object constraints)このクラスでは使用しません。 | 
| void | JRootPane.RootLayout. addLayoutComponent(Component comp, Object constraints) | 
| void | GroupLayout. addLayoutComponent(Component component, Object constraints)Componentが親コンテナに追加されたことを示す通知。 | 
| void | SpringLayout. addLayoutComponent(Component component, Object constraints)constraintsがSpringLayout.Constraintsのインスタンスである場合は、指定されたコンポーネントに制約を関連付けます。 | 
| void | ScrollPaneLayout. addLayoutComponent(String s, Component c)指定されたコンポーネントをレイアウトに追加します。 | 
| void | JSpinner.DefaultEditor. addLayoutComponent(String name, Component child)この LayoutManagerメソッドは何も行いません。 | 
| void | OverlayLayout. addLayoutComponent(String name, Component comp)指定されたコンポーネントをレイアウトに追加します。 | 
| void | BoxLayout. addLayoutComponent(String name, Component comp)このクラスでは使用しません。 | 
| void | JRootPane.RootLayout. addLayoutComponent(String name, Component comp) | 
| void | GroupLayout. addLayoutComponent(String name, Component component)Componentが親コンテナに追加されたことを示す通知。 | 
| void | ViewportLayout. addLayoutComponent(String name, Component c)指定されたコンポーネントをレイアウトに追加します。 | 
| void | SpringLayout. addLayoutComponent(String name, Component c)このレイアウト・マネージャはコンポーネントごとの文字列を使用しないため、何もしません。 | 
| 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)sourceEventと同様のMouseEventを返します(そのxとyメンバーがdestinationの座標体系に変換済みの場合を除く)。 | 
| 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座標系内のaPointをdestination座標系に変換します。 | 
| 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座標系内の矩形aRectangleをdestination座標系に変換します。 | 
| 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」、「取消」、および「リセット」ボタンとともに指定された 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)ローカル座標の Pointに含まれているAccessible子が存在する場合は、それを返します。 | 
| static Accessible | SwingUtilities. getAccessibleChild(Component c, int i)オブジェクトのn番目のAccessible子を返します。 | 
| static int | SwingUtilities. getAccessibleChildrenCount(Component c)オブジェクト内のアクセシビリティ対応の子の数を返します。 | 
| static int | SwingUtilities. getAccessibleIndexInParent(Component c)このオブジェクトの、そのAccessible親でのインデックスを取得します。 | 
| 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)aComponentのあとでフォーカスを受け取る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 | JMenuBar. getComponentIndex(Component c)指定されたコンポーネントのインデックスを返します。 | 
| int | JPopupMenu. getComponentIndex(Component c)指定されたコンポーネントのインデックスを返します。 | 
| int | JToolBar. 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)位置 x、yを含むparentの、もっとも深い可視の子孫Componentを返します。 | 
| 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とともにdoubleバッファとして使用されるオフスクリーン・バッファを返します。 | 
| Popup | PopupFactory. getPopup(Component owner, Component contents, int x, int y)Component  contentsを含むComponentownerのPopupを作成します。 | 
| int | JLayeredPane. getPosition(Component c)レイヤー内でのコンポーネントの相対位置を返します。 | 
| static Component | SwingUtilities. getRoot(Component c)現在のコンポーネント・ツリーのルート・コンポーネントを返します。 | 
| static JRootPane | SwingUtilities. getRootPane(Component c)cが下位JRootPane子孫の場合は、そのJRootPane祖先を返します。 | 
| static Container | SwingUtilities. getUnwrappedParent(Component component)JLayerのインスタンスではない、componentの最初の祖先を返します。 | 
| Image | RepaintManager. getVolatileOffscreenBuffer(Component c, int proposedWidth, int proposedHeight)指定されたコンポーネント cとともにdoubleバッファとして使用されるvolatileオフスクリーン・バッファを返します。 | 
| static Window | SwingUtilities. getWindowAncestor(Component c)cの最初のWindow 祖先か、またはcがWindowの内部に含まれていない場合はnullを返します。 | 
| static Spring | Spring. height(Component c)minimum、preferred、maximum、およびvalueの各プロパティが、それぞれ指定されたコンポーネントのminimumSize、preferredSize、maximumSize、および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でもかまわない)で表される、指定されたcomponentの新しいタブを、指定されたindexの位置に挿入します。 | 
| 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)に移動します。 | 
| 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)を呼び出します。 | 
| 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, boolean shouldValidate)セル・レンダラ・コンポーネントcをグラフィックス・オブジェクトgにペイントします。 | 
| void | CellRendererPane. paintComponent(Graphics g, Component c, Container p, Rectangle r)矩形のx、y、幅、高さの各フィールドを使ってthis.paintComponent()を呼び出します。 | 
| static void | SwingUtilities. paintComponent(Graphics g, Component c, Container p, Rectangle r)指定された Graphicsで、コンポーネントをペイントします。 | 
| void | ImageIcon. paintIcon(Component c, Graphics g, int x, int y)アイコンをペイントします。 | 
| void | Icon. 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 | JTabbedPane. remove(Component component)JTabbedPaneから指定されたComponentを削除します。 | 
| void | JDialog. remove(Component comp)指定されたコンポーネントをコンテナから削除します。 | 
| void | JViewport. remove(Component child)Viewportの1つの軽量な子を削除します。 | 
| void | JMenu. remove(Component c)このメニューからコンポーネント cを削除します。 | 
| void | JSplitPane. remove(Component component)子コンポーネント componentをペインから削除します。 | 
| void | JDesktopPane. remove(Component comp)このコンテナから、指定されたコンポーネントを削除します。 | 
| void | JApplet. remove(Component comp)指定されたコンポーネントをコンテナから削除します。 | 
| void | JFrame. remove(Component comp)指定されたコンポーネントをコンテナから削除します。 | 
| void | JLayer. remove(Component comp)このコンテナから、指定されたコンポーネントを削除します。 | 
| void | JWindow. remove(Component comp)指定されたコンポーネントをコンテナから削除します。 | 
| void | JInternalFrame. remove(Component comp)指定されたコンポーネントをコンテナから削除します。 | 
| void | ScrollPaneLayout. removeLayoutComponent(Component c)指定されたコンポーネントをレイアウトから削除します。 | 
| void | JSpinner.DefaultEditor. removeLayoutComponent(Component child)この LayoutManagerメソッドは何も行いません。 | 
| void | OverlayLayout. removeLayoutComponent(Component comp)指定されたコンポーネントをレイアウトから削除します。 | 
| void | BoxLayout. removeLayoutComponent(Component comp)このクラスでは使用しません。 | 
| void | JRootPane.RootLayout. removeLayoutComponent(Component comp) | 
| void | GroupLayout. removeLayoutComponent(Component component)親コンテナから Componentが削除されたことを示す通知です。 | 
| void | ViewportLayout. removeLayoutComponent(Component c)指定されたコンポーネントをレイアウトから削除します。 | 
| void | SpringLayout. removeLayoutComponent(Component c)指定されたコンポーネントに関連付けれられた制約を削除します。 | 
| 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 | JDialog. setGlassPane(Component glassPane)glassPaneプロパティを設定します。 | 
| void | JApplet. setGlassPane(Component glassPane)glassPaneプロパティを設定します。 | 
| void | JFrame. setGlassPane(Component glassPane)glassPaneプロパティを設定します。 | 
| void | JRootPane. setGlassPane(Component glass)指定した Componentがこのルート・ペインのガラス・ペインになるように設定します。 | 
| void | JWindow. setGlassPane(Component glassPane)glassPaneプロパティを設定します。 | 
| void | RootPaneContainer. setGlassPane(Component glassPane)glassPaneは常にrootPaneの最初の子で、rootPaneのレイアウト・マネージャによって、常にrootPaneと同じ大きさであることが保証されます。 | 
| void | JInternalFrame. setGlassPane(Component glass)この JInternalFrameの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)非推奨。 
 1.4以降は、 FocusTraversalPolicy | 
| void | JLayeredPane. setPosition(Component c, int position)コンポーネントを現在のレイヤーの positionに移動します。0がいちばん上、-1がいちばん下です。 | 
| 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)を設定します。nullも指定できます。 | 
| void | JScrollPane. setViewportView(Component view)必要に応じてビュー・ポートを作成してから、ビューを設定します。 | 
| void | JPopupMenu. show(Component invoker, int x, int y)呼出しコンポーネント内のx、y座標で指定された位置に、ポップアップ・メニューを表示します。 | 
| static int | JOptionPane. showConfirmDialog(Component parentComponent, Object message)オプション「はい」、「いいえ」、「取消」を含む、「オプションの選択」というタイトルのダイアログを表示します。 | 
| 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パラメータによって決定され、表示するアイコンがmessageTypeパラメータによって決定されるダイアログを表示します。 | 
| static int | JOptionPane. showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)選択肢の数が optionTypeパラメータによって決定される、指定されたアイコンを持つダイアログを表示します。 | 
| 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を親として、ユーザーからの入力を要求するダイアログを表示します。このダイアログのタイトルはtitleで、メッセージ型はmessageTypeです。 | 
| 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)オプション「はい」、「いいえ」、および「取消」を含む、「オプションの選択」というタイトルの内部ダイアログ・パネルを表示します。 | 
| 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パラメータで選択項目数が決まる内部ダイアログ・パネルを表示します。表示するアイコンはmessageTypeパラメータで決まります。 | 
| static int | JOptionPane. showInternalConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon)指定されたアイコンを持つ内部ダイアログ・パネルを表示します。選択項目数は optionTypeパラメータで決まります。 | 
| static String | JOptionPane. showInternalInputDialog(Component parentComponent, Object message)parentComponentを親として、ユーザーに入力を求める内部クエスチョン・メッセージ・ダイアログを表示します。 | 
| static String | JOptionPane. showInternalInputDialog(Component parentComponent, Object message, String title, int messageType)parentComponentを親として、ユーザーからの入力を要求する内部ダイアログを表示します。このダイアログのタイトルはtitleで、メッセージ型はmessageTypeです。 | 
| 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)指定されたアイコンを持つ内部ダイアログ・パネルを表示します。初期選択は initialValueパラメータ、選択項目数はoptionTypeパラメータで決まります。 | 
| 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)「ファイルを開く」ファイル・チューザ・ダイアログを表示します。 | 
| static int | JOptionPane. showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)最初の選択が initialValueパラメータによって決定され、選択肢の数がoptionTypeパラメータによって決定される、指定されたアイコンを持つダイアログを表示します。 | 
| int | JFileChooser. showSaveDialog(Component parent)「ファイルの保存」ファイル・チューザ・ダイアログを表示します。 | 
| static void | SwingUtilities. updateComponentTreeUI(Component c)単純なLook & Feelの変更で、ツリー内の各ノードに updateUI()処理を行うこと、つまり現在のLook & FeelでそのUIプロパティを初期化することを要求します。 | 
| static Spring | Spring. width(Component c)minimum、preferred、maximum、およびvalueの各プロパティが、それぞれ指定されたコンポーネントのminimumSize、preferredSize、maximumSize、およびsizeの各プロパティの幅で定義されているスプリングを返します。 | 
| static Window | SwingUtilities. windowForComponent(Component c)cの最初のWindow 祖先か、またはcがWindowの内部に含まれていない場合はnullを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected void | SortingFocusTraversalPolicy. setComparator(Comparator<? super Component> comparator)フォーカス・トラバーサル・サイクルでComponentsをソートするために使うComparatorを設定します。 | 
| コンストラクタと説明 | 
|---|
| Constraints(Component c)コンポーネント cに適したスプリング(x、y、width、およびheight)を使用して、Constraintsオブジェクトを作成します。 | 
| 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)Component  contentsを含むComponentownerのPopupを作成します。 | 
| ProgressMonitor(Component parentComponent, Object message, String note, int min, int max)進捗状況を示すグラフィック・オブジェクトを構築します。進捗状況は、通常、処理が完了に近づくにつれて矩形のバーを埋めていくことで示します。 | 
| ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)入力ストリームの進捗を監視するオブジェクトを構築します。 | 
| TransferSupport(Component component, Transferable transferable)指定されたコンポーネントの isDrop()falseとTransferableを使用してTransferSupportを作成します。 | 
| コンストラクタと説明 | 
|---|
| SortingFocusTraversalPolicy(Comparator<? super Component> comparator)指定されたComparatorでSortingFocusTraversalPolicyを構築します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| int | TitledBorder. getBaseline(Component c, int width, int height)ベースラインを返します。 | 
| int | AbstractBorder. getBaseline(Component c, int width, int height)ベースラインを返します。 | 
| Component.BaselineResizeBehavior | TitledBorder. getBaselineResizeBehavior(Component c)サイズの変化に合わせてボーダーのベースラインがどのように変化するかを示す列挙を返します。 | 
| Component.BaselineResizeBehavior | AbstractBorder. getBaselineResizeBehavior(Component c)サイズの変化に合わせてコンポーネントのベースラインがどのように変化するかを示す列挙を返します。 | 
| Insets | Border. getBorderInsets(Component c)ボーダーのイン・セットを返します。 | 
| Insets | AbstractBorder. getBorderInsets(Component c)このデフォルトの実装は、 AbstractBorder.getBorderInsets(Component,Insets)メソッドによって初期化される新しいInsetsオブジェクトを返します。 | 
| Insets | BevelBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このBorderの現在のInsetsで初期化し直します。 | 
| Insets | TitledBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このBorderの現在のInsetsで初期化し直します。 | 
| Insets | StrokeBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このボーダーの現在のイン・セットで初期化し直します。 | 
| Insets | MatteBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このBorderの現在のInsetsで初期化し直します。 | 
| Insets | LineBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このBorderの現在のInsetsで初期化し直します。 | 
| Insets | AbstractBorder. getBorderInsets(Component c, Insets insets)インセット・パラメータを、このBorderの現在のイン・セットで初期化し直します。 | 
| Insets | SoftBevelBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このBorderの現在のInsetsで初期化し直します。 | 
| Insets | CompoundBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このBorderの現在のInsetsで初期化し直します。 | 
| Insets | EmptyBorder. getBorderInsets(Component c, Insets insets)insetsパラメータを、このBorderの現在のInsetsで初期化し直します。 | 
| Insets | EtchedBorder. 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 | BevelBorder. paintBorder(Component c, Graphics g, int x, int y, int width, int height)指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。 | 
| void | Border. 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 | StrokeBorder. 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 | AbstractBorder. 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)指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。 | 
| void | CompoundBorder. 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 | EtchedBorder. 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) | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | AbstractColorChooserPanelカラー・チューザの抽象スーパー・クラスです。 | 
| コンストラクタと説明 | 
|---|
| 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オブジェクトを構築します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | LayerUI<V extends Component>すべての JLayerのUI委譲の基底クラス。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| 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) | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | BasicArrowButton基本方向のいずれかにスケーリングされる矢印を描画するJButtonオブジェクトです。 | 
| class  | BasicComboBoxRendererComboBoxレンダラ | 
| static class  | BasicComboBoxRenderer.UIResourceUIResourceを実装するBasicComboBoxRendererのサブクラスです。 | 
| class  | BasicComboPopupこれは、 ComboPopupインタフェースの基本実装です。 | 
| class  | BasicInternalFrameTitlePane基本タイトル・バーを管理するクラスです。 | 
| class  | BasicInternalFrameTitlePane.SystemMenuBarこのクラスは、「protected」内部クラスとして扱うようにしてください。 | 
| class  | BasicSplitPaneDividerBasicSplitPaneUIで使われるディバイダです。 | 
| protected class  | BasicToolBarUI.DragWindow | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| 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. initialFocusComponentselectInitialValueでメッセージが送られたときに、フォーカスを受け取るコンポーネントです。 | 
| protected Component | BasicSplitPaneUI. nonContinuousLayoutDivider非連続レイアウトが使われているときのディバイダのシャドウのインスタンスです。 | 
| protected Component | BasicTreeUI.MouseInputHandler. sourceイベントのソースです。 | 
| Component | BasicMenuUI.ChangeHandler. wasFocused | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Component | BasicSplitPaneUI. createDefaultNonContinuousLayoutDivider()デフォルトの非連続レイアウトのディバイダを返します。これは、背景をダーク・グレーで塗りつぶす Canvasのインスタンスです。 | 
| protected Component | BasicSpinnerUI. createNextButton()増分ボタンを作成します。 | 
| protected Component | BasicSpinnerUI. createPreviousButton()減分ボタンを作成します。 | 
| 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() | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| void | BasicSplitPaneUI.BasicHorizontalLayoutManager. addLayoutComponent(Component comp, Object constraints)指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。 | 
| void | BasicSplitPaneUI.BasicHorizontalLayoutManager. addLayoutComponent(String place, Component component)コンポーネントをplaceに追加します。 | 
| void | BasicOptionPaneUI.ButtonAreaLayout. addLayoutComponent(String string, Component comp) | 
| void | BasicInternalFrameTitlePane.TitlePaneLayout. addLayoutComponent(String name, Component c) | 
| void | BasicInternalFrameUI.InternalFrameLayout. addLayoutComponent(String name, Component c) | 
| void | BasicScrollBarUI. addLayoutComponent(String name, Component child) | 
| void | BasicComboBoxUI.ComboBoxLayoutManager. addLayoutComponent(String name, Component comp) | 
| void | BasicTabbedPaneUI.TabbedPaneLayout. addLayoutComponent(String name, Component comp) | 
| void | BasicSplitPaneDivider.DividerLayout. addLayoutComponent(String string, 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.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)渡されたComponent推奨サイズの幅を返します。 | 
| protected Dimension | BasicComboBoxUI. getSizeForComponent(Component comp)セル・レンダラとして使用された場合のコンポーネントのサイズを返します。 | 
| 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 | BasicSplitPaneUI.BasicHorizontalLayoutManager. removeLayoutComponent(Component component)指定されたコンポーネントを削除します。 | 
| void | BasicOptionPaneUI.ButtonAreaLayout. removeLayoutComponent(Component c) | 
| void | BasicInternalFrameTitlePane.TitlePaneLayout. removeLayoutComponent(Component c) | 
| void | BasicInternalFrameUI.InternalFrameLayout. removeLayoutComponent(Component c) | 
| void | BasicScrollBarUI. removeLayoutComponent(Component child) | 
| void | BasicComboBoxUI.ComboBoxLayoutManager. removeLayoutComponent(Component comp) | 
| void | BasicTabbedPaneUI.TabbedPaneLayout. removeLayoutComponent(Component comp) | 
| void | BasicSplitPaneDivider.DividerLayout. removeLayoutComponent(Component c) | 
| protected void | BasicToolBarUI. setBorderToNonRollover(Component c)BasicToolBarUI.createNonRolloverBorder()メソッドが作成した非ロールオーバー・ボーダーを持つように、コンポーネントのボーダーを設定します。 | 
| protected void | BasicToolBarUI. setBorderToNormal(Component c)コンポーネントのボーダーが通常のボーダーを持つように設定します。 | 
| protected void | BasicToolBarUI. setBorderToRollover(Component c)BasicToolBarUI.createRolloverBorder()メソッドが作成したロールオーバー・ボーダーを持つように、コンポーネントのボーダーを設定します。 | 
| protected void | BasicSplitPaneUI.BasicHorizontalLayoutManager. setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)コンポーネントcの幅をsize、x位置をlocation、yをinsets.top、高さをcontainersize.height (上および下イン・セットを引いたもの)に設定します。 | 
| protected void | BasicSplitPaneUI. setNonContinuousLayoutDivider(Component newDivider)splitPaneが非連続レイアウトに設定されているときに使用されるディバイダを設定します。 | 
| protected void | BasicSplitPaneUI. setNonContinuousLayoutDivider(Component newDivider, boolean rememberSizes)使用するディバイダを設定します。 | 
| protected void | BasicTabbedPaneUI. setVisibleComponent(Component component) | 
| コンストラクタと説明 | 
|---|
| MouseInputHandler(Component source, Component destination, MouseEvent event) | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | MetalComboBoxButtonMetalComboBoxUIを補助するJButtonサブクラス | 
| class  | MetalComboBoxUI.MetalComboPopup非推奨。 
 Java 2プラットフォームv1.4以降使われていません。 | 
| protected class  | MetalFileChooserUI.FileRenderer | 
| class  | MetalFileChooserUI.FilterComboBoxRenderer各種のサイズおよびスタイルをレンダリングします。 | 
| class  | MetalInternalFrameTitlePaneJLF仕様のタイトル・バーを管理するクラスです。 | 
| class  | MetalScrollButtonMetalスクロール・バー矢印用のJButtonオブジェクトです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Component | MetalFileChooserUI.FilterComboBoxRenderer. getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected void | MetalCheckBoxIcon. drawCheck(Component c, Graphics g, int x, int y) | 
| 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) | 
| Insets | MetalBorders.ScrollPaneBorder. getBorderInsets(Component c, Insets insets) | 
| Insets | MetalBorders.TableHeaderBorder. getBorderInsets(Component c, Insets insets) | 
| 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 | MetalCheckBoxIcon. paintIcon(Component c, Graphics g, int x, int y) | 
| void | MetalComboBoxIcon. 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) | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Component | SynthSplitPaneUI. createDefaultNonContinuousLayoutDivider()デフォルトの非連続レイアウトのディバイダを返します。これは、背景をダーク・グレーで塗りつぶす Canvasのインスタンスです。 | 
| protected Component | SynthSpinnerUI. createNextButton()増分ボタンを作成します。 | 
| protected Component | SynthSpinnerUI. createPreviousButton()減分ボタンを作成します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected void | SynthTreeUI. drawCentered(Component c, Graphics graphics, Icon icon, int x, int y) | 
| protected void | SynthToolBarUI. setBorderToNonRollover(Component c)JToolBarクラスのrolloverプロパティがSynth Look & Feelで使用されないため、この実装は何も行いません。 | 
| protected void | SynthToolBarUI. setBorderToNormal(Component c)JToolBarクラスのrolloverプロパティがSynth Look & Feelで使用されないため、この実装は何も行いません。 | 
| protected void | SynthToolBarUI. setBorderToRollover(Component c)JToolBarクラスのrolloverプロパティがSynth Look & Feelで使用されないため、この実装は何も行いません。 | 
| static void | SynthLookAndFeel. updateStyles(Component c)cに関連付けられたスタイルとそのすべての子を更新します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | DefaultTableCellRendererJTable内の個々のセルをレンダリング(表示)するための標準クラス。 | 
| static class  | DefaultTableCellRenderer.UIResourceUIResourceを実装するDefaultTableCellRendererのサブクラス。 | 
| class  | JTableHeaderこれは、 JTableのヘッダーを管理するオブジェクトです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| Component | TableCellEditor. getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)エディタの初期 valueを設定します。 | 
| Component | DefaultTableCellRenderer. getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)デフォルトの表セル・レンダラを返します。 | 
| Component | TableCellRenderer. getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)セルを描画するのに使用されるコンポーネントを返します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | JTextComponentJTextComponentは、Swingテキスト・コンポーネントのための基底クラスです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Component | ComponentView. createComponent()このビューに関連付けられたコンポーネントを作成します。 | 
| Component | ComponentView. getComponent()ビューに関連付けられたコンポーネントを取得します。 | 
| static Component | StyleConstants. getComponent(AttributeSet a)属性リストからコンポーネントの設定を返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected void | PlainView. damageLineRange(int line0, int line1, Shape a, Component host)指定された行範囲を再ペイントします。 | 
| static void | StyleConstants. setComponent(MutableAttributeSet a, Component c)コンポーネント属性を設定します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| protected Component | ObjectView. createComponent()コンポーネントを作成します。 | 
| protected Component | FormView. createComponent()コンポーネントを作成します。 | 
| 修飾子と型 | クラスと説明 | 
|---|---|
| class  | DefaultTreeCellEditor.DefaultTextFieldエディタが提供されない場合に使用される TextField。 | 
| class  | DefaultTreeCellEditor.EditorContainereditingComponentを配置するコンテナ。 | 
| class  | DefaultTreeCellRendererツリーのエントリを表示します。 | 
| 修飾子と型 | フィールドと説明 | 
|---|---|
| protected Component | DefaultTreeCellEditor. editingComponenteditingContainerから取得され、編集で使用されるコンポーネントです。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| 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 | TreeCellRenderer. getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)現在のツリー・セルの値を valueに設定します。 | 
| Component | DefaultTreeCellRenderer. getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)コンポーネントに渡される内容に基づいてレンダラを設定します。 | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
 Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.