Java プラットフォーム 1.2

クラス
java.awt.Component の使用

Component を使用するパッケージ
java.applet アプレットの作成、およびアプレットとアプレットコンテキストとの通信に使用するクラスの作成に必要なクラスを提供します。  
java.awt このパッケージには、ユーザインタフェースの作成と、グラフィックスとイメージのペイントのためのクラスがすべて含まれています。 
java.awt.dnd ドラッグ&ドロップ操作をサポートするためのインタフェースおよびクラスを提供します。 
java.awt.event このパッケージは、AWT コンポーネントによってトリガーされる各種のイベントを処理するためのインタフェース、およびクラスを提供します。 
java.awt.im Input Method Framework のためのクラスおよびインタフェースを提供します。 
java.beans JavaBeans の開発に関連するクラスが含まれています。 
java.beans.beancontext bean コンテキストに関連するクラスおよびインタフェースを提供します。 
javax.swing 可能な限りすべてのプラットフォームで同じように機能する「軽量」コンポーネント (Java 言語全体で共通) のセットを提供します。 
javax.swing.border Swing コンポーネントの周囲に各種のボーダを描画するための、クラスおよびインタフェースを提供します。 
javax.swing.colorchooser このパッケージには、JColorChooser コンポーネントによって使われるクラスおよびインタフェースが含まれています。  
javax.swing.event Swing コンポーネントによってトリガーされるイベントを提供します。 
javax.swing.plaf 1 つのインタフェースおよび多くの抽象クラスを提供しており、Swing は、プラグイン可能な Look & Feel 機能を実現するためにこれらのクラスを利用します。 
javax.swing.plaf.basic Basic 仕様 Look & Feel に従って作成されたユーザインタフェースオブジェクトを提供します。 
javax.swing.plaf.metal このパッケージは、Metal の Look & Feel に従って構築されるユーザインタフェースオブジェクトを提供します。  
javax.swing.table java.awt.swing.JTable を処理するためのクラスおよびインタフェースを提供します。 
javax.swing.text 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 
javax.swing.text.html HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。  
javax.swing.tree java.awt.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 におけるメソッド
 Component Component.getComponentAt(int x, int y)
          このコンポーネントまたはその直接のサブコンポーネントが位置 (xy) を含んでいるかどうかを判定します。
 Component Component.locate(int x, int y)
          推奨されません。 JDK バージョン 1.1 以降は、getComponentAt(int, int) に置き換えられました。
 Component Component.getComponentAt(Point p)
          指定された点を含むコンポーネントまたはサブコンポーネントを返します。
 Component Container.getComponent(int n)
          コンテナ内の n 番目のコンポーネントを取得します。
 Component[] Container.getComponents()
          コンテナ内のすべてのコンポーネントを取得します。
 Component Container.add(Component comp)
          指定されたコンポーネントをこのコンテナの最後に追加します。
 Component Container.add(String name, Component comp)
          コンテナに、指定されたコンポーネントを追加します。
 Component Container.add(Component comp, int index)
          指定されたコンポーネントを、このコンテナの指定された位置に追加します。
 Component Container.getComponentAt(int x, int y)
          x、y 座標を含むコンポーネントを探します。
 Component Container.locate(int x, int y)
          推奨されません。 JDK バージョン 1.1 以降は、getComponentAt(int, int) に置き換えられました。
 Component Container.getComponentAt(Point p)
          指定された点を含むコンポーネントを取得します。
 Component Container.findComponentAt(int x, int y)
          指定された位置を格納する可視の子コンポーネントを検索します。
 Component Container.findComponentAt(Point p)
          指定された点を格納する可視の子コンポーネントを検索します。
 Component Window.getFocusOwner()
          このウィンドウがアクティブな場合にだけフォーカスを持つ、このウィンドウの子コンポーネントを返します。
 

Component のパラメータを持つ java.awt におけるメソッド
 Component Container.add(Component comp)
          指定されたコンポーネントをこのコンテナの最後に追加します。
 Component Container.add(String name, 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)
          指定されたコンポーネントを、指定された添字と指定された制約で、コンテナへ追加します。
protected  void Container.addImpl(Component comp, Object constraints, int index)
          指定されたコンポーネントを、指定された添字で、コンテナへ追加します。
 void Container.remove(Component comp)
          コンテナから、指定されたコンポーネントを削除します。
 boolean Container.isAncestorOf(Component c)
          コンポーネントがこのコンテナのコンポーネント階層に格納されているかどうかを判定します。
 void CardLayout.addLayoutComponent(Component comp, Object constraints)
          このカードレイアウト内部の名前テーブルに、指定されたコンポーネントを追加します。
 void CardLayout.addLayoutComponent(String name, Component comp)
          推奨されません。 addLayoutComponent(Component, Object) に置き換えられました。
 void CardLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void LayoutManager2.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
 void GridLayout.addLayoutComponent(String name, Component comp)
          レイアウトに指定された名前を持つコンポーネントを追加します。
 void GridLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
protected  java.awt.peer.LightweightPeer Toolkit.createComponent(Component target)
          コンポーネントまたはコンテナのピアを作成します。
protected static Container Toolkit.getNativeContainer(Component c)
          ネイティブピアに、ネイティブコンポーネントを与えてネイティブコンテナを照会する能力を与えます (直接の親は軽量である可能性がある)。
 DragGestureRecognizer Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
          要求された抽象クラス DragGestureRecognizer の、プラットフォームに依存する具象サブクラスを作成し、指定された DragSource、Component、および DragGestureListener に関連付けます。
protected  void ScrollPane.addImpl(Component comp, Object constraints, int index)
          指定されたコンポーネントを、このスクロールペインコンテナに追加します。
 void PopupMenu.show(Component origin, int x, int y)
          元のコンポーネントからの相対位置 x, y にポップアップメニューを表示します。
 void LayoutManager.addLayoutComponent(String name, Component comp)
          指定された名前で、指定されたコンポーネントをレイアウトに追加します。
 void LayoutManager.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void GridBagLayout.setConstraints(Component comp, GridBagConstraints constraints)
          このレイアウトの指定されたコンポーネントに対して制約を設定します。
 GridBagConstraints GridBagLayout.getConstraints(Component comp)
          指定されたコンポーネントの制約を取得します。
protected  GridBagConstraints GridBagLayout.lookupConstraints(Component comp)
          指定されたコンポーネントの制約を取得します。
 void GridBagLayout.addLayoutComponent(String name, Component comp)
          指定された名前を持つ指定のコンポーネントをレイアウトに追加します。
 void GridBagLayout.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
 void GridBagLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをこのレイアウトから削除します。
 void FlowLayout.addLayoutComponent(String name, Component comp)
          指定されたコンポーネントをレイアウトに追加します。
 void FlowLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void BorderLayout.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを用いて、指定されたコンポーネントをレイアウトに追加します。
 void BorderLayout.addLayoutComponent(String name, Component comp)
          推奨されません。 addLayoutComponent(Component, Object) に置き換えられました。
 void BorderLayout.removeLayoutComponent(Component comp)
          このボーダレイアウトから、指定されたコンポーネントを削除します。
 

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

java.awt.dnd における Component の使用方法
 

Component として宣言される java.awt.dnd におけるフィールド
protected  Component DragGestureRecognizer.component
           
 

Component を返す java.awt.dnd におけるメソッド
 Component DragGestureEvent.getComponent()
           
 Component DragGestureRecognizer.getComponent()
           
 Component DragSourceContext.getComponent()
           
 Component DropTarget.getComponent()
           
 Component DropTargetContext.getComponent()
           
 

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

Component のパラメータを持つ java.awt.dnd におけるコンストラクタ
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          新しい DragGestureRecognizer を構築します。
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c, int sa)
          新しい DragGestureRecognizer を構築します。
DragGestureRecognizer.DragGestureRecognizer(DragSource ds, Component c)
          新しい DragGestureRecognizer を構築します。
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          新しい MouseDragGestureRecognizer を構築します。
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c, int act)
          新しい MouseDragGestureRecognizer を構築します。
MouseDragGestureRecognizer.MouseDragGestureRecognizer(DragSource ds, Component c)
          新しい MouseDragGestureRecognizer を構築します。
DropTarget.DropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm)
          DropTarget を構築します。
DropTarget.DropTarget(Component c, int ops, DropTargetListener dtl, boolean act)
          DropTarget を構築します。
DropTarget.DropTarget(Component c, DropTargetListener dtl)
          DropTarget を構築します。
DropTarget.DropTarget(Component c, int ops, DropTargetListener dtl)
          DropTarget を構築します。
DropTarget.DropTargetAutoScroller.DropTarget.DropTargetAutoScroller(Component c, Point p)
          DropTargetAutoScroller を構築します。
 

java.awt.event における Component の使用方法
 

Component を返す java.awt.event におけるメソッド
 Component ComponentEvent.getComponent()
          イベントの発生元を返します。
 Component ContainerEvent.getChild()
          イベントによって影響を受けた Component を返します。
 

Component のパラメータを持つ java.awt.event におけるコンストラクタ
ComponentEvent.ComponentEvent(Component source, int id)
          ComponentEvent オブジェクトを構築します。
ContainerEvent.ContainerEvent(Component source, int id, Component child)
          ContainerEvent オブジェクトを構築します。
PaintEvent.PaintEvent(Component source, int id, Rectangle updateRect)
          指定されたコンポーネントとタイプで、 PaintEvent オブジェクトを構築します。
KeyEvent.KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
          KeyEvent オブジェクトを構築します。
KeyEvent.KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
           
InputMethodEvent.InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          InputMethodEvent を構築します。
InputMethodEvent.InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)
          InputMethodEvent を構築します。
MouseEvent.MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger)
          指定された発生元のコンポーネント、タイプ、修飾子、座標、クリックカウントで、 MouseEvent オブジェクトを構築します。
FocusEvent.FocusEvent(Component source, int id, boolean temporary)
          FocusEvent オブジェクトを構築し、変更がテンポラリかどうかを判定します。
FocusEvent.FocusEvent(Component source, int id)
          FocusEvent オブジェクトを構築し、フォーカスの変更がパーマネントかどうかを判定します。
 

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()
           
 

javax.swing における Component の使用方法
 

javax.swing における Component のサブクラス
 class AbstractButton
          JButton、JToggleButton、JCheckbox、および JRadioButton クラスに共通の動作を定義します。
 class Box
          BoxLayout オブジェクトをレイアウトマネージャとして使用する、軽量なコンテナです。
static class Box.Filler
          レイアウトに関係するがビューを持たない、軽量なコンポーネントの実装です。
 class CellRendererPane
          セルレンダリングとそれを使うコンポーネントの間に挿入されます。
 class DefaultListCellRenderer
          リストの項目を描画します。
static class DefaultListCellRenderer.UIResource
          UIResource を実装する DefaultListCellRenderer のサブクラスです。
 class JApplet
          拡張版の java.applet.Applet で、アプレットの子の前面に入力を重ね書きし、ペイント動作を行うサポート (glassPane を参照)、LayeredPane によって管理される特別な子のサポート (rootPane を参照)、および Swing MenuBar のサポートが追加されています。
 class JButton
          「プッシュ」ボタンの実装です。
 class JCheckBox
          CheckBox の実装です。
 class JCheckBoxMenuItem
          選択または選択解除できるメニュー項目です。
 class JColorChooser
          JColorChooser は、ユーザが色を操作および選択できるように設計されたコントロールの区画を提供します。
 class JComboBox
          Swing の ComboBox の実装です。
 class JComponent
          Swing コンポーネントの基底クラスです。
 class JDesktopPane
          マルチドキュメントインタフェースまたは仮想デスクトップの作成に使用するコンテナです。
 class JDialog
          ダイアログウィンドウを作成するためのメインクラスです。
 class JEditorPane
          さまざまな種類のコンテンツを編集するためのテキストコンポーネントです。
 class JFileChooser
          JFileChooser は、ユーザがファイルを選択する単純な機構を提供します。
 class JFrame
          フレームの子の前面に挿入されて入力およびペイント動作をサポートし (glassPane を参照)、LayeredPane によって管理される特殊な子をサポートし (rootPane を参照)、さらに Swing MenuBars のサポートを追加する java.awt.Frame の拡張バージョンです。
 class JInternalFrame
          ドラッグ、クローズ、アイコン化、サイズ変更、タイトル表示、およびメニューバーのサポートなど、ネイティブフレームの多くの機能を提供する軽量オブジェクトです。
static class JInternalFrame.JDesktopIcon
          このコンポーネントは、アイコン化された JInternalFrame を表します。
 class JLabel
          短いテキスト文字列やイメージの表示領域です。
 class JLayeredPane
          JLayeredPane は、JFC/Swing コンテナに深さを追加し、必要であればコンポーネントどうしが互いにオーバーラップできるようにします。
 class JList
          ユーザがリストから 1 つまたは複数のオブジェクトを選択するためのコンポーネントです。
 class JMenu
          メニューの実装です。
 class JMenuBar
          MenuBar の実装です。
 class JMenuItem
          MenuItem の実装です。
 class JOptionPane
          JOptionPane は、ユーザに値の入力を求めたり情報を提示したりする標準的なダイアログボックスを簡単に表示できるようにします。
 class JPanel
          JPanel は汎用的な軽量コンテナです。
 class JPasswordField
          JPasswordField は、1 行のテキストの編集を可能にする、軽量コンポーネントです。
 class JPopupMenu
          ポップアップメニューの実装です。
static class JPopupMenu.Separator
          ポップアップメニュー固有のセパレータです。
 class JProgressBar
          ある区間内 (最小値、および最大値で区切られた区間内) で、整数値を表示するコンポーネントです。
 class JRadioButton
          ラジオボタンの実装です。
 class JRadioButtonMenuItem
          RadioButtonMenuItem の実装です。
 class JRootPane
          コンテナ階層の基本コンポーネントです。
 class JScrollBar
          スクロールバーの実装です。
 class JScrollPane
          ビューポート、オプションの垂直および水平スクロールバー、およびオプションの行および列見出しビューポートを管理する特殊なコンテナです。
protected  class JScrollPane.ScrollBar
          デフォルトでは、JScrollPane はこのクラスのインスタンスであるスクロールバーを作成します。
 class JSeparator
          メニュー項目を論理グループに分割する区切り線となるメニューセパレータの実装です。
 class JSlider
          ユーザが指定された区間内でノブをスライドすることによりグラフィカルに値を選択できるようにするコンポーネントです。
 class JSplitPane
          JSplitPane は 2 つの Component を分割するのに使います (2 つだけに分割) 。
 class JTabbedPane
          指定されたタイトルやアイコンを持つタブをクリックすることにより、ユーザがコンポーネントのグループを切り替えられようにするコンポーネントです。
 class JTable
          JTable は、2 次元テーブル形式でデータを提示するユーザインタフェースコンポーネントです。
 class JTextArea
          TextArea は、プレーンテキストを表示する複数行の領域です。
 class JTextField
          JTextField は、1 行テキストの編集を可能にする軽量コンポーネントです。
 class JTextPane
          グラフィックで表現される属性でマークアップできるテキストコンポーネントです。
 class JToggleButton
          2 状態ボタンの実装です。
 class JToolBar
          JToolBar は、一般的に使用される Action やコントロールを表示するのに役立つコンポーネントを提供します。
static class JToolBar.Separator
          ツールバー独自のセパレータです。
 class JToolTip
          Component の「ヒント」を表示するために使います。
 class JTree
          階層データのセットをアウトラインで表示するコントロールです。
 class JViewport
          配下の情報を見るために使用する「ビューポート (窓)」です。
 class JWindow
          JWindow は、ユーザのデスクトップ上のどこにでも表示できるコンテナです。
 

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

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

Component のパラメータを持つ javax.swing におけるメソッド
 void JComponent.setNextFocusableComponent(Component aComponent)
          たとえば TAB キーが押されたときなどのあとにフォーカスを取得する次のコンポーネントを指定します。
static boolean JComponent.isLightweightComponent(Component c)
          このコンポーネントが軽量の場合、つまりネイティブのウィンドウシステムピアを持たない場合に true を返します。
 void JTextPane.insertComponent(Component c)
          現在選択されているコンテンツの置換後の内容としてドキュメントにコンポーネントを挿入します。
abstract  void FocusManager.processKeyEvent(Component focusedComponent, KeyEvent anEvent)
          キーイベントが発生すると JComponent によって呼び出されます。
abstract  void FocusManager.focusNextComponent(Component aComponent)
          フォーカスマネージャに、次のフォーカス可能コンポーネントにフォーカスを設定させます。
abstract  void FocusManager.focusPreviousComponent(Component aComponent)
          フォーカスマネージャに、直前のフォーカス可能コンポーネントにフォーカスを設定させます。
 void JLabel.setLabelFor(Component c)
          このラベルが割り当てられるコンポーネントを設定します。
protected  void JInternalFrame.addImpl(Component comp, Object constraints, int index)
          デフォルトでは、子をこのコンポーネントに直接追加せずに、コンポーネントの子の contentPane に追加する必要があります。
 void JInternalFrame.setGlassPane(Component glass)
          この JInternalFrame の glassPane プロパティを設定します。
 void ViewportLayout.addLayoutComponent(String name, Component c)
          指定されたコンポーネントをレイアウトに追加します。
 void ViewportLayout.removeLayoutComponent(Component c)
          指定されたコンポーネントをレイアウトから削除します。
protected  void JLayeredPane.addImpl(Component comp, Object constraints, int index)
           
static JLayeredPane JLayeredPane.getLayeredPaneAbove(Component c)
          指定されたコンポーネントを含む最初の JLayeredPane を返す簡易メソッドです。
 void JLayeredPane.setLayer(Component c, int layer)
          指定されたコンポーネントのレイヤ属性を設定し、レイヤ内で一番下のコンポーネントとします。
 void JLayeredPane.setLayer(Component c, int layer, int position)
          指定されたコンポーネントのレイヤ属性と、レイヤ内でのコンポーネントの位置を指定します。
 int JLayeredPane.getLayer(Component c)
          指定された Component のレイヤ属性を返します。
 int JLayeredPane.getIndexOf(Component c)
          指定された Component のインデックスを返します。
 void JLayeredPane.moveToFront(Component c)
          コンポーネントを現在のレイヤで一番上 (位置 0) に移動します。
 void JLayeredPane.moveToBack(Component c)
          コンポーネントを現在のレイヤで一番下 (位置 -1) に移動します。
 void JLayeredPane.setPosition(Component c, int position)
          コンポーネントを現在のレイヤの position に移動します。
 int JLayeredPane.getPosition(Component c)
          レイヤ内でのコンポーネントの相対位置を取得します。
 void RootPaneContainer.setGlassPane(Component glassPane)
          glassPane は常に rootPane の最初の子で、rootPane のレイアウトマネージャによって、常に rootPane と同じ大きさであることが保証されます。
 void DefaultFocusManager.processKeyEvent(Component focusedComponent, KeyEvent anEvent)
           
 void DefaultFocusManager.focusNextComponent(Component aComponent)
          フォーカスマネージャに、次のフォーカス可能コンポーネントへのフォーカスの設定をさせます。
 void DefaultFocusManager.focusPreviousComponent(Component aComponent)
          フォーカスマネージャに、直前のフォーカス可能コンポーネントへのフォーカスの設定をさせます。
 Component DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent)
          aComponent の前にフォーカスを受け取るコンポーネントを返します。
 Component DefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent)
          aComponent の後にフォーカスを受け取るコンポーネントを返します。
 boolean DefaultFocusManager.compareTabOrder(Component a, Component b)
          「タブ」順で ab の前にくる場合に true を返します。
protected  void JApplet.addImpl(Component comp, Object constraints, int index)
          デフォルトでは、子はこのコンポーネントに直接追加されないので、代わりにその contentPane に追加されなければなりません。
 void JApplet.setGlassPane(Component glassPane)
          glassPane プロパティを設定します。
static Color JColorChooser.showDialog(Component component, String title, Color initialColor)
          色を選択するモーダルなダイアログを表示し、ダイアログが隠されるまでブロックします。
static JDialog JColorChooser.createDialog(Component c, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)
          「OK」、「Cancel」、および「Reset」ボタンとともに、指定された JColorChooser 区画を持つ新しいダイアログボックスを作成し、それを返します。
static RepaintManager RepaintManager.currentManager(Component c)
          Component を指定して、呼び出し側スレッドの RepaintManager を返します。
 Image RepaintManager.getOffscreenBuffer(Component c, int proposedWidth, int proposedHeight)
          ダブルバッファとしてコンポーネント c とともに使用されるオフスクリーンバッファを返します。
 Component MenuSelectionManager.componentForPoint(Component source, Point sourcePoint)
          sourcePoint を含んでいる、現在選択されているパスのコンポーネントを返します。
 boolean MenuSelectionManager.isComponentPartOfCurrentMenu(Component c)
          c が現在使用されているメニューの一部である場合に true を返します。
 int JToolBar.getComponentIndex(Component c)
          指定されたコンポーネントのインデックスを返します。
 void JToolBar.remove(Component comp)
          ツールバーから Component を削除します。
protected  void JToolBar.addImpl(Component comp, Object constraints, int index)
           
 void JSplitPane.setLeftComponent(Component comp)
          コンポーネントをディバイダの左 (上) に設定します。
 void JSplitPane.setTopComponent(Component comp)
          コンポーネントをディバイダの上または左に設定します。
 void JSplitPane.setRightComponent(Component comp)
          ディバイダの右 (または下) のコンポーネントを設定します。
 void JSplitPane.setBottomComponent(Component comp)
          コンポーネントをディバイダの下または右に設定します。
 void JSplitPane.remove(Component component)
          子コンポーネント component を区画からを削除します。
protected  void JSplitPane.addImpl(Component comp, Object constraints, int index)
          constraints が左/上または右/下の子コンポーネントを識別し、その識別子を持つコンポーネントが以前に追加された場合は、それを削除してから、その位置に comp を追加します。
 void ImageIcon.paintIcon(Component c, Graphics g, int x, int y)
          アイコンを描画します。
protected  void JViewport.addImpl(Component child, Object constraints, int index)
          Viewport の 1 つの軽量な子を設定します。
 void JViewport.remove(Component child)
          Viewport の 1 つの軽量な子を削除します。
 void JViewport.setView(Component view)
          Viewport の 1 つの軽量な子 (view) を設定します。
 void Icon.paintIcon(Component c, Graphics g, int x, int y)
          指定された位置にアイコンを描画します。
protected  Component ScrollPaneLayout.addSingletonComponent(Component oldC, Component newC)
          既存のコンポーネント (存在する場合) を新しいコンポーネントに置き換えます。
 void ScrollPaneLayout.addLayoutComponent(String s, Component c)
          指定されたコンポーネントをレイアウトに追加します。
 void ScrollPaneLayout.removeLayoutComponent(Component c)
          指定されたコンポーネントをレイアウトから削除します。
 int JMenuBar.getComponentIndex(Component c)
          指定されたコンポーネントのインデックスを返します。
 void JMenuBar.setSelected(Component sel)
          現在選択されているコンポーネントを設定します。
 int JFileChooser.showOpenDialog(Component parent)
          「Open File」ファイルチューザダイアログを表示します。
 int JFileChooser.showSaveDialog(Component parent)
          「Save File」ファイルチューザダイアログを表示します。
 int JFileChooser.showDialog(Component parent, String approveButtonText)
          カスタム ApproveButton を持つカスタムファイルチューザダイアログを表示します。
static Rectangle SwingUtilities.getLocalBounds(Component aComponent)
          aComponent コンポーネントの矩形 (0,0,bounds.width,bounds.height) を返します。
static Point SwingUtilities.convertPoint(Component source, Point aPoint, Component destination)
          source 座標系の aPointdestination 座標系に変換します。
static Point SwingUtilities.convertPoint(Component source, int x, int y, Component destination)
          source 座標系の点 (x,y)destination 座標系に変換します。
static Rectangle SwingUtilities.convertRectangle(Component source, Rectangle aRectangle, Component destination)
          source 座標系の aRectangledestination 座標系に変換します。
static Container SwingUtilities.getAncestorOfClass(Class c, Component comp)
          コンポーネント階層の上位の comp を検索するための簡易メソッドであり、見つかった c クラスの最初のオブジェクトを返します。
static Container SwingUtilities.getAncestorNamed(String name, Component comp)
          コンポーネント階層の上記の comp を検索するための簡易メソッドであり、見つかった name の最初のオブジェクトを返します。
static Component SwingUtilities.getDeepestComponentAt(Component parent, int x, int y)
          位置 xy を内包する parent を親として持つ、最下位の可視 Component を返します。
static MouseEvent SwingUtilities.convertMouseEvent(Component source, MouseEvent sourceEvent, Component destination)
          その x と y メンバが destination の座標系に変換済みの場合を除いて、sourceEvent と同じような MouseEvent を返します。
static void SwingUtilities.convertPointToScreen(Point p, Component c)
          ポイントをコンポーネントの座標系から画面座標に変換します。
static void SwingUtilities.convertPointFromScreen(Point p, Component c)
          ポイントを画面座標からコンポーネントの座標系に変換します。
static Window SwingUtilities.windowForComponent(Component aComponent)
          aComponent のウィンドウを返します。
static boolean SwingUtilities.isDescendingFrom(Component a, Component b)
          コンポーネント a がコンポーネント b から派生する場合に true を返します。
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h)
          矩形の左上隅およびサイズを指定して、指定された矩形内の任意のグラフィックス g でコンポーネント c をペイントします。
static void SwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r)
          Rectangle オブジェクトを指定して、指定された矩形内の任意のグラフィックス g でコンポーネント c をペイントします。
static void SwingUtilities.updateComponentTreeUI(Component c)
          単純な Look & Feel の変更で、ツリー内の各ノードに updateUI() 処理を行うこと、つまり現在の Look & Feel でその UI プロパティを初期化することを要求します。
static int SwingUtilities.getAccessibleIndexInParent(Component c)
          ユーザ補助機能を実装する親でのこのオブジェクトのインデックスを取得します。
static Accessible SwingUtilities.getAccessibleAt(Component c, Point p)
          ローカル座標の Point にユーザ補助機能を実装する子が保持されている場合はそれを返します。
static AccessibleStateSet SwingUtilities.getAccessibleStateSet(Component c)
          このオブジェクトの状態を取得します。
static int SwingUtilities.getAccessibleChildrenCount(Component c)
          オブジェクト内のユーザ補助機能を実装する子の数を返します。
static Accessible SwingUtilities.getAccessibleChild(Component c, int i)
          オブジェクトのユーザ補助機能を実装する i 番目の子を返します。
static Component SwingUtilities.findFocusOwner(Component c)
          フォーカスを持つ子コンポーネントがある場合はそれを返します。
static JRootPane SwingUtilities.getRootPane(Component c)
          c が下位 JRootPane オブジェクトの場合は、その上位 JRootPane オブジェクトを返します。
static Component SwingUtilities.getRoot(Component c)
          現在のコンポーネントツリーのルートコンポーネントを返します。
 void JScrollPane.setViewportView(Component view)
          必要に応じてビューポートを作成してから、ビューを設定します。
 void JScrollPane.setRowHeaderView(Component view)
          必要に応じて行ヘッダのビューポートを作成し、ビューを設定してから、行ヘッダのビューポートをスクロール区画に追加します。
 void JScrollPane.setColumnHeaderView(Component view)
          必要に応じて列ヘッダのビューポートを作成し、ビューを設定してから、列ヘッダのビューポートをスクロール区画に追加します。
 void JScrollPane.setCorner(String key, Component corner)
          スクロール区画のコーナーに表示される子を追加します (スペースがある場合)。
 void JPopupMenu.remove(Component comp)
          このポップアップメニューから指定されたコンポーネントを削除します。
 void JPopupMenu.insert(Component component, int index)
          指定されたコンポーネントを、メニューの指定された位置に挿入します。
 void JPopupMenu.setInvoker(Component invoker)
          ポップアップメニューの呼び出しコンポーネントを設定します。
 void JPopupMenu.show(Component invoker, int x, int y)
          呼び出しコンポーネント内の x、y 座標で指定された位置に、ポップアップメニューを表示します。
 int JPopupMenu.getComponentIndex(Component c)
          指定されたコンポーネントのインデックスを返します。
 void JPopupMenu.setSelected(Component sel)
          現在選択されるコンポーネントを設定します。
protected  void JWindow.addImpl(Component comp, Object constraints, int index)
          デフォルトでは、子はこのコンポーネントに直接追加できず、代わりに contentPane に追加されなければなりません。
 void JWindow.setGlassPane(Component glassPane)
          glassPane プロパティを設定します。
static String JOptionPane.showInputDialog(Component parentComponent, Object message)
          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 void JOptionPane.showMessageDialog(Component parentComponent, Object 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)
          すべてのパラメータを指定して、メッセージを表示するためのダイアログを表示します。
static int JOptionPane.showConfirmDialog(Component parentComponent, Object message)
          オプションが「Yes」、「No」、および「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)
          指定されたアイコンを持つモーダルダイアログを表示します。
static int JOptionPane.showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          指定されたアイコンを持つモーダルダイアログを表示します。
 JDialog JOptionPane.createDialog(Component parentComponent, String title)
          parentComponent のフレーム内の parentComponent の中央に this をラップして新しい JDialog を生成して返します。
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.showInternalConfirmDialog(Component parentComponent, Object message)
          オプションが「Yes」、「No」、および「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 int JOptionPane.showInternalOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)
          指定されたアイコンを持つ内部ダイアログパネルを表示します。
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)
          初期選択、指定可能な選択項目、およびそれ以外のすべてのオプションの指定が可能なブロッキング内部ダイアログでユーザに入力を求めます。
 JInternalFrame JOptionPane.createInternalFrame(Component parentComponent, String title)
          JInternalFrame のインスタンスを生成して返します。
static Frame JOptionPane.getFrameForComponent(Component parentComponent)
          指定されたコンポーネントの Frame を返します。
static JDesktopPane JOptionPane.getDesktopPaneForComponent(Component parentComponent)
          指定されたコンポーネントのデスクトップ区画を返します。
 void BoxLayout.addLayoutComponent(String name, Component comp)
          このクラスでは使用しません。
 void BoxLayout.removeLayoutComponent(Component comp)
          このクラスでは使用しません。
 void BoxLayout.addLayoutComponent(Component comp, Object constraints)
          このクラスでは使用しません。
 void JRootPane.setGlassPane(Component glass)
          指定した Component がこのルート区画のガラス区画になるように設定します。
protected  void JRootPane.addImpl(Component comp, Object constraints, int index)
          ガラスコンポーネントの位置が 0 の子に対して強制するためにオーバーライドされます。
 void JRootPane.RootLayout.addLayoutComponent(String name, Component comp)
           
 void JRootPane.RootLayout.removeLayoutComponent(Component comp)
           
 void JRootPane.RootLayout.addLayoutComponent(Component comp, Object constraints)
           
 void JTabbedPane.setSelectedComponent(Component c)
          タブ区画の選択コンポーネントを設定します。
 void JTabbedPane.insertTab(String title, Icon icon, Component component, String tip, int index)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) で表される componentindex の位置に挿入します。
 void JTabbedPane.addTab(String title, Icon icon, Component component, String tip)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) によって表される component および tip を追加します。
 void JTabbedPane.addTab(String title, Icon icon, Component component)
          title または icon、あるいはその両方 (どちらかは null でもかまわない) で表される component を追加します。
 void JTabbedPane.addTab(String title, Component component)
          title で表される (アイコンなし) component を追加します。
 Component JTabbedPane.add(Component component)
          タブタイトルをコンポーネントの名前に設定して component を追加します。
 Component JTabbedPane.add(String title, Component component)
          タブタイトルを指定して component を追加します。
 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 を追加します。
 void JTabbedPane.remove(Component component)
          指定されたコンポーネントに対応するタブを削除します。
 void JTabbedPane.setComponentAt(int index, Component component)
          index のコンポーネントを component に設定します。
 int JTabbedPane.indexOfComponent(Component component)
          指定されたコンポーネントのタブのインデックスを返します。
protected  void JDialog.addImpl(Component comp, Object constraints, int index)
          デフォルトでは、子をこのコンポーネントに直接追加せずに、コンポーネントの contentPane に追加する必要があります。
 void JDialog.setGlassPane(Component glassPane)
          glassPane プロパティを設定します。
 void JDialog.setLocationRelativeTo(Component c)
          指定されたコンポーネントとの相対位置で、ダイアログの位置を設定します。
 Component JMenu.add(Component c)
          このメニューの最後にコンポーネントを追加します。
 void JMenu.remove(Component c)
          このメニューから Component を削除します。
 boolean JMenu.isMenuComponent(Component c)
          指定されたコンポーネントがサブメニュー階層内にある場合に true を返します。
protected  void CellRendererPane.addImpl(Component x, Object constraints, int index)
          指定したコンポーネントがすでにこれの子の場合、あえて何かをすることはありません。
 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, 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, Rectangle r)
          矩形の x、y、幅、高さの各フィールドを使って this.paintComponent() を呼び出します。
 void OverlayLayout.addLayoutComponent(String name, Component comp)
          指定されたコンポーネントをレイアウトに追加します。
 void OverlayLayout.removeLayoutComponent(Component comp)
          指定されたコンポーネントをレイアウトから削除します。
 void OverlayLayout.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
protected  void JFrame.addImpl(Component comp, Object constraints, int index)
          デフォルトでは、子をこのコンポーネントに直接追加せずに、子の contentPane に追加する必要があります。
 void JFrame.setGlassPane(Component glassPane)
          glassPane プロパティを設定します。
 

Component のパラメータを持つ javax.swing におけるコンストラクタ
JSplitPane.JSplitPane(int newOrientation, Component newLeftComponent, Component newRightComponent)
          方向と、連続した描画を行わないコンポーネントを指定して新しい JSplitPane を返します。
JSplitPane.JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent)
          方向と、描画スタイルとコンポーネントを指定して新しい JSplitPane を返します。
ProgressMonitorInputStream.ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)
          入力ストリームの進捗状況を監視するオブジェクトを構築します。
ProgressMonitor.ProgressMonitor(Component parentComponent, Object message, String note, int min, int max)
          進捗状況を示すグラフィックオブジェクトを構築します。
JScrollPane.JScrollPane(Component view, int vsbPolicy, int hsbPolicy)
          ビューの位置を 1 組のスクロールバーを使って制御できるビューポート内のビューコンポーネントを表示する、ScrollPane を作成します。
JScrollPane.JScrollPane(Component view)
          指定されたコンポーネントのコンテンツを表示する JScrollPane を作成します。
 

javax.swing.border における Component の使用方法
 

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

javax.swing.colorchooser における Component の使用方法
 

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

javax.swing.event における Component の使用方法
 

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

javax.swing.plaf における Component の使用方法
 

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

javax.swing.plaf.basic における Component の使用方法
 

javax.swing.plaf.basic における Component のサブクラス
 class BasicArrowButton
          基本方向のいずれかにスケーリングされる矢印を描画する JButton オブジェクトです。
 class BasicComboBoxRenderer
          ComboBox のレンダリングです。
static class BasicComboBoxRenderer.UIResource
          BasicComboBoxRenderer のサブクラスであり、UIResource の実装を提供します。
 class BasicComboPopup
          ComboPopup インタフェースの実装です。
 class BasicInternalFrameTitlePane
          Basic 仕様のタイトルバーを管理するクラスです。
 class BasicInternalFrameTitlePane.SystemMenuBar
          この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。
 class BasicSplitPaneDivider
          BasicSplitPaneUI で使われるディバイダです。
protected  class BasicToolBarUI.DragWindow
           
 

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

Component を返す javax.swing.plaf.basic におけるメソッド
 Component BasicComboBoxEditor.getEditorComponent()
           
protected  Component BasicTabbedPaneUI.getVisibleComponent()
           
 Component BasicComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
protected  Component BasicSliderUI.getLowestValueLabel()
          ラベルテーブルの最高のスライダ値に対応するラベルを返します。
protected  Component BasicSliderUI.getHighestValueLabel()
          ラベルテーブルの最低のスライダ値に対応するラベルを返します。
protected  Component BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider()
          デフォルトの非連続レイアウトのディバイダを返します。
 Component BasicSplitPaneUI.getNonContinuousLayoutDivider()
          分割区画が非連続レイアウトに設定されているときに使われるディバイダを返します。
 

Component のパラメータを持つ javax.swing.plaf.basic におけるメソッド
 void BasicOptionPaneUI.ButtonAreaLayout.addLayoutComponent(String string, Component comp)
           
 void BasicOptionPaneUI.ButtonAreaLayout.removeLayoutComponent(Component c)
           
protected  void BasicTabbedPaneUI.setVisibleComponent(Component component)
           
 void BasicTabbedPaneUI.TabbedPaneLayout.addLayoutComponent(String name, Component comp)
           
 void BasicTabbedPaneUI.TabbedPaneLayout.removeLayoutComponent(Component comp)
           
 void BasicSplitPaneDivider.DividerLayout.removeLayoutComponent(Component c)
           
 void BasicSplitPaneDivider.DividerLayout.addLayoutComponent(String string, Component c)
           
 boolean BasicToolBarUI.canDock(Component c, Point p)
           
protected  void BasicSliderUI.paintHorizontalLabel(Graphics g, int value, Component label)
          ラベルテーブルの各ラベルに対して呼び出されます。
protected  void BasicSliderUI.paintVerticalLabel(Graphics g, int value, Component label)
          ラベルテーブルの各ラベルに対して呼び出されます。
 void BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name, Component c)
           
 void BasicInternalFrameTitlePane.TitlePaneLayout.removeLayoutComponent(Component c)
           
protected  void BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider)
          分割区画が非連続レイアウトに設定されているときに使われるディバイダを設定します。
protected  void BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider, boolean rememberSizes)
          使用されるディバイダを設定します。
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getPreferredSizeOfComponent(Component c)
          渡された Component の適切なサイズの幅を返します。
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getSizeOfComponent(Component c)
          渡されたコンポーネントの幅を返します。
protected  void BasicSplitPaneUI.BasicHorizontalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          x 位置を location、y 位置を insets.top に配置することにより、コンポーネント c の幅を size に設定し、その高さを containersize.height から上インセットと下インセットを減算した値に設定します。
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(String place, Component component)
          コンポーネントを place に追加します。
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.removeLayoutComponent(Component component)
          指定されたコンポーネントを削除します。
 void BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(Component comp, Object constraints)
          指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。
protected  int BasicSplitPaneUI.BasicVerticalLayoutManager.getPreferredSizeOfComponent(Component c)
          渡された Component の適切なサイズの高さを返します。
protected  int BasicSplitPaneUI.BasicVerticalLayoutManager.getSizeOfComponent(Component c)
          渡されたコンポーネントの高さを返します。
protected  void BasicSplitPaneUI.BasicVerticalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          x 位置を insets.left、y 位置を location に配置することにより、コンポーネント c の高さを size に設定し、その幅を containersize.width から左インセットと右インセットを減算した値に設定します。
protected  void BasicTreeUI.drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)
           
 void BasicScrollBarUI.addLayoutComponent(String name, Component child)
           
 void BasicScrollBarUI.removeLayoutComponent(Component child)
           
 void BasicBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.ButtonBorder.getBorderInsets(Component c)
           
 void BasicBorders.ToggleButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.ToggleButtonBorder.getBorderInsets(Component c)
           
 void BasicBorders.RadioButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.RadioButtonBorder.getBorderInsets(Component c)
           
 void BasicBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.MenuBarBorder.getBorderInsets(Component c)
           
 Insets BasicBorders.MarginBorder.getBorderInsets(Component c)
           
 void BasicBorders.FieldBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.FieldBorder.getBorderInsets(Component c)
           
 void BasicBorders.SplitPaneBorder.paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 Insets BasicBorders.SplitPaneBorder.getBorderInsets(Component c)
           
 void BasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String name, Component comp)
           
 void BasicComboBoxUI.ComboBoxLayoutManager.removeLayoutComponent(Component comp)
           
 void BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name, Component c)
           
 void BasicInternalFrameUI.InternalFrameLayout.removeLayoutComponent(Component c)
           
 

Component のパラメータを持つ javax.swing.plaf.basic におけるコンストラクタ
BasicTreeUI.MouseInputHandler.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
          この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。
protected  class MetalFileChooserUI.FileRenderer
           
 class MetalFileChooserUI.FilterComboBoxRenderer
          各種のサイズおよびスタイルを描画します。
 class MetalScrollButton
          Metal でスクロールバーの矢印に使用する JButton オブジェクトです。
 

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

Component のパラメータを持つ javax.swing.plaf.metal におけるメソッド
 void MetalCheckBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
           
protected  void MetalCheckBoxIcon.drawCheck(Component c, Graphics g, int x, int y)
           
 void MetalComboBoxIcon.paintIcon(Component c, Graphics g, int x, int y)
          水平線をペイントします。
 void MetalBorders.Flush3DBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.Flush3DBorder.getBorderInsets(Component c)
           
 void MetalBorders.ButtonBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.ButtonBorder.getBorderInsets(Component c)
           
 void MetalBorders.InternalFrameBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.InternalFrameBorder.getBorderInsets(Component c)
           
 void MetalBorders.MenuBarBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.MenuBarBorder.getBorderInsets(Component c)
           
 void MetalBorders.MenuItemBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.MenuItemBorder.getBorderInsets(Component c)
           
 void MetalBorders.PopupMenuBorder.paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 Insets MetalBorders.PopupMenuBorder.getBorderInsets(Component c)
           
 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)
           
 Insets MetalBorders.ToolBarBorder.getBorderInsets(Component c)
           
 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)
           
 Insets MetalBorders.ScrollPaneBorder.getBorderInsets(Component c)
           
protected  void MetalToolBarUI.setBorderToRollover(Component c)
           
protected  void MetalToolBarUI.setBorderToNonRollover(Component c)
           
protected  void MetalToolBarUI.setBorderToNormal(Component c)
           
 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 MetalIconFactory.TreeControlIcon.paintMe(Component c, Graphics g, int x, int y)
           
 

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)
          エディタの「初期値」を設定します。
 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 におけるメソッド
static Component StyleConstants.getComponent(AttributeSet a)
          属性リストからコンポーネントの設定を取得します。
protected  Component ComponentView.createComponent()
          このビューに関連付けられたコンポーネントを作成します。
 Component ComponentView.getComponent()
          ビューに関連付けられたコンポーネントを取得します。
 

Component のパラメータを持つ javax.swing.text におけるメソッド
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
          編集で使用されるコンポーネントです。
 

Component を返す javax.swing.tree におけるメソッド
 Component DefaultTreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          エディタを設定します。
 Component TreeCellEditor.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)
          コンポーネントで渡される内容に基づいてレンダリングを設定します。
 


Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.