|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
前 次 | フレームあり フレームなし |
Component を使用しているパッケージ | |
java.applet | アプレットの作成、およびアプレットとアプレットコンテキストとの通信に使用するクラスの作成に必要なクラスを提供します。 |
java.awt | このパッケージには、ユーザインタフェースの作成と、グラフィックスとイメージのペイントのためのクラスがすべて含まれています。 |
java.awt.dnd | ドラッグ&ドロップ操作は、多くのグラフィカルユーザインタフェースシステムで見られる直接的な操作ジェスチャーで、GUI の表現要素に論理的に関連した 2 つのエンティティ間で情報を変換する機構を提供します。 |
java.awt.event | このパッケージは、AWT コンポーネントによってトリガーされる各種のイベントを処理するためのインタフェース、およびクラスを提供します。 |
java.awt.im | インプットメソッドフレームワークのためのクラスおよびインタフェースを提供します。 |
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 | 基本 Look & Feel に従って作成されたユーザインタフェースオブジェクトを提供します。 |
javax.swing.plaf.metal | このパッケージは、Metal の Look & Feel に従って構築されるユーザインタフェースオブジェクトを提供します。 |
javax.swing.table | javax.swing.JTable を処理するためのクラスおよびインタフェースを提供します。 |
javax.swing.text | 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 |
javax.swing.text.html | HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。
|
javax.swing.tree | javax.swing.JTree を処理するためのクラスとインタフェースを提供します。 |
java.applet での Component の使用 |
java.applet での Component のサブクラス | |
class |
Applet
アプレットとは、単独で動作することはなく、ほかのアプリケーションの中に組み込まれた形で実行される小さなプログラムです。 |
java.awt での Component の使用 |
java.awt での Component のサブクラス | |
class |
Button
このクラスはラベル付きボタンを作成します。 |
class |
Canvas
Canvas コンポーネントは、アプリケーションが描画したり、ユーザからの入力イベントをトラップしたりすることができる空白の矩形の画面領域を表します。
|
class |
Checkbox
チェックボックスは、「オン」 ( true ) または「オフ」 (false ) のどちらかの状態にすることができるグラフィカルコンポーネントです。 |
class |
Choice
Choice クラスは選択のポップアップメニューを表します。 |
class |
Container
一般的な Abstract Window Toolkit (AWT) コンテナオブジェクトは、ほかの AWT コンポーネントを含むことができるコンポーネントです。 |
class |
Dialog
Dialog は、タイトルおよびボーダを持つトップレベルのウィンドウであり、通常はユーザからの入力を受け付けるために使用されます。 |
class |
FileDialog
FileDialog クラスは、ユーザがファイルを選択できるダイアログウィンドウを表示します。
|
class |
Frame
Frame は、タイトルとボーダ付きのトップレベルウィンドウです。 |
class |
Label
Label オブジェクトは、コンテナ内にテキストを配置するためのコンポーネントです。 |
class |
List
List コンポーネントは、テキスト項目のスクロールリストをユーザに対して表示します。 |
class |
Panel
Panel はもっともシンプルなコンテナクラスです。 |
class |
Scrollbar
Scrollbar クラスは、よく使用されるユーザインタフェースオブジェクトであるスクロールバーを実現します。 |
class |
ScrollPane
1 つの子コンポーネントに対して、自動水平または垂直スクロールあるいはその両方を実装するコンテナクラスです。 |
class |
TextArea
TextArea オブジェクトは、テキストを表示する複数行領域です。 |
class |
TextComponent
TextComponent クラスは、テキストの編集を可能にするすべてのコンポーネントのスーパークラスです。
|
class |
TextField
TextField オブジェクトは、1 行のテキストの編集を行えるようにするテキストコンポーネントです。
|
class |
Window
Window オブジェクトはボーダおよびメニューバーを持たないトップレベルウィンドウです。 |
Component を返す java.awt のメソッド | |
Component |
Component.getComponentAt(int x,
int y)
このコンポーネントまたはその直接のサブコンポーネントが位置 (x, y) を含んでいるかどうかを判定します。 |
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 |
LayoutManager2.addLayoutComponent(Component comp,
Object constraints)
指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。 |
void |
CardLayout.addLayoutComponent(Component comp,
Object constraints)
このカードレイアウト内部の名前テーブルに、指定されたコンポーネントを追加します。 |
void |
CardLayout.addLayoutComponent(String name,
Component comp)
推奨されていません。 addLayoutComponent(Component, Object) に置き換えられました。 |
void |
CardLayout.removeLayoutComponent(Component comp)
指定されたコンポーネントをレイアウトから削除します。 |
protected void |
ScrollPane.addImpl(Component comp,
Object constraints,
int index)
指定されたコンポーネントを、このスクロールペインコンテナに追加します。 |
void |
GridLayout.addLayoutComponent(String name,
Component comp)
指定された名前で、指定されたコンポーネントをレイアウトに追加します。 |
void |
GridLayout.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)
このボーダレイアウトから、指定されたコンポーネントを削除します。 |
void |
LayoutManager.addLayoutComponent(String name,
Component comp)
指定された名前で、指定されたコンポーネントをレイアウトに追加します。 |
void |
LayoutManager.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 に関連付けます。 |
void |
PopupMenu.show(Component origin,
int x,
int y)
元のコンポーネントからの相対位置 x, y にポップアップメニューを表示します。 |
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)
指定されたコンポーネントをレイアウトから削除します。 |
Component 型のパラメータを持つ java.awt のコンストラクタ | |
Component.AccessibleAWTComponent()
このクラスは抽象クラスですが、すべてのサブクラスでこのコンストラクタを呼び出すようにしてください。 |
|
MediaTracker(Component comp)
指定されたコンポーネントのイメージを監視するメディアトラッカーを作成します。 |
java.awt.dnd での Component の使用 |
Component として宣言されている java.awt.dnd のフィールド | |
protected Component |
DragGestureRecognizer.component
DragGestureRecognizer に関連した Component です。 |
Component を返す java.awt.dnd のメソッド | |
Component |
DropTargetContext.getComponent()
このメソッドは、この DropTargetContext に関連した Component を返します。
|
Component |
DragGestureRecognizer.getComponent()
このメソッドは、ドラッグ開始ジェスチャーを DragGestureRecognizer に「監視」される Component を返します。
|
Component |
DragSourceContext.getComponent()
このメソッドは、この DragSourceContext に関連した Component を返します。
|
Component |
DragGestureEvent.getComponent()
このメソッドは、この DragGestureEvent に関連した Component を返します。
|
Component |
DropTarget.getComponent()
このメソッドは、この DropTarget に関連した Component を返します。
|
Component 型のパラメータを持つ java.awt.dnd のメソッド | |
void |
DragGestureRecognizer.setComponent(Component c)
DragGestureRecognizer が関連付けられる Component を設定します。 |
DragGestureRecognizer |
DragSource.createDragGestureRecognizer(Class recognizerAbstractClass,
Component c,
int actions,
DragGestureListener dgl)
DragGestureRecognizer の指定された抽象サブクラスを実装する新しい DragGestureRecognizer を作成し、新しく作成されたオブジェクトに、指定された Component および DragGestureListener を設定します。
|
DragGestureRecognizer |
DragSource.createDefaultDragGestureRecognizer(Component c,
int actions,
DragGestureListener dgl)
DragGestureRecognizer のデフォルト抽象サブクラスを実装する新しい DragSourceRecognizer をこの DragSource に作成し、新しく作成されたオブジェクトに、指定された Component および DragGestureListener を設定します。
|
void |
DropTarget.setComponent(Component c)
注: このインタフェースは、DropTarget と Component の安全な関連付けを次の 2 つの方法のどちらかで可能にする必要があります。 |
protected DropTarget.DropTargetAutoScroller |
DropTarget.createDropTargetAutoScroller(Component c,
Point p)
組み込み自動スクローラを作成します。 |
Component 型のパラメータを持つ java.awt.dnd のコンストラクタ | |
DragGestureRecognizer(DragSource ds,
Component c,
int sa,
DragGestureListener dgl)
このドラッグ&ドロップ操作に使用する DragSource 、この DragGestureRecognizer がドラッグ開始ジェスチャーを「監視」できる Component 、このドラッグ&ドロップ操作をサポートするアクション、および DragGestureListener を指定して新しい DragGestureRecognizer を構築して、ドラッグ開始ジェスチャーを検出したことを一度通知します。
|
|
DragGestureRecognizer(DragSource ds,
Component c,
int sa)
このドラッグ&ドロップ操作に使用する DragSource 、この DragGestureRecognizer がドラッグ開始ジェスチャーを「監視」できる Component 、このドラッグ&ドロップ操作をサポートするアクションを指定して新しい DragGestureRecognizer を構築します。
|
|
DragGestureRecognizer(DragSource ds,
Component c)
このドラッグ&ドロップ操作に使用する DragSource 、この DragGestureRecognizer がドラッグ開始ジェスチャーを「監視」できる Component を指定して新しい DragGestureRecognizer を構築します。
|
|
MouseDragGestureRecognizer(DragSource ds,
Component c,
int act,
DragGestureListener dgl)
Component c の DragSource 、監視する Component 、このドラッグ操作に許可されたアクション、およびドラッグジェスチャーが検出されたときに通知する DragGestureListener を指定して、新しい MouseDragGestureRecognizer を構築します。
|
|
MouseDragGestureRecognizer(DragSource ds,
Component c,
int act)
Component c の DragSource 、監視する Component 、およびこのドラッグ操作に許可されたアクションを指定して、新しい MouseDragGestureRecognizer を構築します。
|
|
MouseDragGestureRecognizer(DragSource ds,
Component c)
Component c の DragSource 、および監視する Component を指定して、新しい MouseDragGestureRecognizer を構築します。
|
|
DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
指定された Component に新しい DropTarget を構築し、サポートするデフォルトの許容アクションを表す int 、イベント処理を扱う DropTargetListener 、DropTarget が現在ドロップを受け入れるかどうかを示す boolean 、そして使用する FlavorMap (または null) を関連付けます。
|
|
DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act)
指定された Component に DropTarget を構築し、サポートするデフォルトの許容アクションを表す int 、イベント処理を扱う DropTargetListener 、そして DropTarget が現在ドロップを受け入れるかどうかを示す boolean を関連付けます。
|
|
DropTarget(Component c,
DropTargetListener dtl)
指定された Component に DropTarget を構築し、イベント処理を扱う DropTargetListener を関連付けます。
|
|
DropTarget(Component c,
int ops,
DropTargetListener dtl)
指定された Component に DropTarget を構築し、サポートするデフォルトの許容アクションを表す int 、イベント処理を扱う DropTargetListener を関連付けます。
|
|
DropTarget.DropTargetAutoScroller(Component c,
Point p)
DropTargetAutoScroller を構築します。 |
java.awt.event での Component の使用 |
Component を返す java.awt.event のメソッド | |
Component |
HierarchyEvent.getComponent()
イベントの発生元を返します。 |
Component |
HierarchyEvent.getChanged()
変更された階層の最上位のコンポーネントを返します。 |
Component |
ComponentEvent.getComponent()
イベントの発生元を返します。 |
Component |
ContainerEvent.getChild()
イベントによって影響を受けた Component を返します。 |
Component 型のパラメータを持つ java.awt.event のコンストラクタ | |
InputMethodEvent(Component source,
int id,
AttributedCharacterIterator text,
int committedCharacterCount,
TextHitInfo caret,
TextHitInfo visiblePosition)
InputMethodEvent を構築します。 |
|
InputMethodEvent(Component source,
int id,
TextHitInfo caret,
TextHitInfo visiblePosition)
InputMethodEvent を構築します。 |
|
HierarchyEvent(Component source,
int id,
Component changed,
Container changedParent)
Component 階層に変更を識別する HierarchyEvent オブジェクトを生成します。 |
|
HierarchyEvent(Component source,
int id,
Component changed,
Container changedParent,
long changeFlags)
Component 階層に変更を識別する HierarchyEvent オブジェクトを生成します。 |
|
ComponentEvent(Component source,
int id)
ComponentEvent オブジェクトを構築します。 |
|
ContainerEvent(Component source,
int id,
Component child)
ContainerEvent オブジェクトを構築します。 |
|
MouseEvent(Component source,
int id,
long when,
int modifiers,
int x,
int y,
int clickCount,
boolean popupTrigger)
指定された発生元のコンポーネント、タイプ、修飾子、座標、クリックカウントで、MouseEvent オブジェクトを構築します。 |
|
PaintEvent(Component source,
int id,
Rectangle updateRect)
指定されたコンポーネントとタイプで、PaintEvent オブジェクトを構築します。 |
|
FocusEvent(Component source,
int id,
boolean temporary)
FocusEvent オブジェクトを構築し、変更がテンポラリかどうかを判定します。 |
|
FocusEvent(Component source,
int id)
FocusEvent オブジェクトを構築し、フォーカスの変更がパーマネントかどうかを判定します。 |
|
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)
|
java.awt.im での Component の使用 |
Component 型のパラメータを持つ java.awt.im のメソッド | |
void |
InputContext.removeNotify(Component client)
包含関係の階層からクライアントコンポーネントが削除されたか、またはコンポーネントでインプットメソッドがサポートされなくなったことを入力コンテキストに通知します。 |
java.beans での Component の使用 |
Component を返す java.beans のメソッド | |
Component |
PropertyEditor.getCustomEditor()
PropertyEditor は、プロパティ値を編集する完全なカスタムコンポーネントを使用できます。 |
Component |
PropertyEditorSupport.getCustomEditor()
PropertyEditor は、プロパティ値を編集する完全なカスタムコンポーネントの使用を選択できます。 |
java.beans.beancontext での Component の使用 |
Component を返す java.beans.beancontext のメソッド | |
Component |
BeanContextChildComponentProxy.getComponent()
この BeanContextChild に関連した java.awt.Component を取得します。 |
javax.swing での Component の使用 |
javax.swing での Component のサブクラス | |
class |
AbstractButton
ボタンおよびメニュー項目の共通動作を定義します。 |
class |
Box
BoxLayout オブジェクトをレイアウトマネージャとして使用する、軽量なコンテナです。 |
static class |
Box.Filler
レイアウトに関連し、ビューを持たない軽量コンポーネントの実装です。 |
class |
CellRendererPane
セルレンダリングとそれを使うコンポーネントの間に挿入されます。 |
class |
DefaultListCellRenderer
リストの項目を描画します。 |
static class |
DefaultListCellRenderer.UIResource
UIResource を実装する DefaultListCellRenderer のサブクラスです。 |
class |
JApplet
JFC/Swing コンポーネントアーキテクチャのサポートを追加する java.applet.Applet の拡張バージョンです。 |
class |
JButton
「プッシュ」ボタンの実装です。 |
class |
JCheckBox
チェックボックス、つまり選択あるいは選択解除できる項目の実装で、その状態を表示します。 |
class |
JCheckBoxMenuItem
選択または選択解除できるメニュー項目です。 |
class |
JColorChooser
JColorChooser は、ユーザが色を選択および操作できるよう設計されたコントロールの区画を提供します。 |
class |
JComboBox
ボタンまたはテキストフィールドと、ドロップダウンリストとを結び付けるコンポーネントです。 |
class |
JComponent
トップレベルのコンテナを除く Swing コンポーネントすべてのための基底クラスです。 |
class |
JDesktopPane
マルチドキュメントインタフェースまたは仮想デスクトップの作成に使用するコンテナです。 |
class |
JDialog
ダイアログウィンドウを作成するためのメインクラスです。 |
class |
JEditorPane
さまざまな種類のコンテンツを編集するためのテキストコンポーネントです。 |
class |
JFileChooser
JFileChooser はユーザがファイルを選択する単純な機構を提供します。 |
class |
JFrame
JFC/Swing コンポーネントアーキテクチャのサポートを強化する java.awt.Frame の拡張バージョンです。 |
class |
JInternalFrame
ネイティブなフレームに、ドラッグ、クローズ、アイコン化、サイズ変更、タイトル表示、およびメニューバーのサポートなど、多くの機能を提供する軽量オブジェクトです。 |
static class |
JInternalFrame.JDesktopIcon
このコンポーネントは JinternalFrame のアイコン化したバージョンを表します。 |
class |
JLabel
短いテキスト文字列やイメージの表示領域です。 |
class |
JLayeredPane
JLayeredPane は、JFC/Swing コンテナに深さを追加し、必要であればコンポーネントどうしが互いにオーバーラップできるようにします。 |
class |
JList
ユーザがリストから 1 つまたは複数のオブジェクトを選択するためのコンポーネントです。 |
class |
JMenu
メニューの実装であり、ユーザが JMenuBar で項目を選択すると表示される JMenuItem を保持するポップアップウィンドウです。 |
class |
JMenuBar
メニューバーの実装です。 |
class |
JMenuItem
メニューの項目の実装です。 |
class |
JOptionPane
JOptionPane によって、ユーザに値の入力を求めたり情報を提示したりする標準のダイアログボックスを簡単に表示することができます。 |
class |
JPanel
JPanel は、汎用の軽量コンテナです。 |
class |
JPasswordField
JPasswordField は、1 行のテキストの編集を可能にする、軽量コンポーネントです。 |
class |
JPopupMenu
ポップアップメニューの実装です。 |
static class |
JPopupMenu.Separator
ポップアップメニュー固有のセパレータです。 |
class |
JProgressBar
ある区間内 (最小値、および最大値で区切られた区間内) で、整数値を表示するコンポーネントです。 |
class |
JRadioButton
ラジオボタンの実装です。 |
class |
JRadioButtonMenuItem
ラジオボタンメニュー項目の実装です。 |
class |
JRootPane
JFrame、JDialog、JWindow、JApplet、および JInternalFrame が内部で使用する軽量コンテナです。 |
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
二状態ボタンの実装です。 |
class |
JToolBar
JToolBar は、一般的に使用されるAction またはコントロールを表示するのに役立つコンポーネントを提供します。 |
static class |
JToolBar.Separator
ツールバー独自のセパレータです。 |
class |
JToolTip
Component の「ヒント」を表示するために使います。 |
class |
JTree
階層データのセットをアウトラインで表示するコントロールです。 |
class |
JViewport
基本となる情報を見るために使用する「ビューポート (窓)」です。 |
class |
JWindow
JWindow は、ユーザのデスクトップ上のどこにでも表示できるコンテナです。 |
Component として宣言されている javax.swing のフィールド | |
protected Component |
ScrollPaneLayout.lowerLeft
左下隅に表示するコンポーネントです。 |
protected Component |
ScrollPaneLayout.lowerRight
右下隅に表示するコンポーネントです。 |
protected Component |
ScrollPaneLayout.upperLeft
左上隅に表示するコンポーネントです。 |
protected Component |
ScrollPaneLayout.upperRight
右上隅に表示するコンポーネントです。 |
protected Component |
JSplitPane.leftComponent
左または上のコンポーネントです。 |
protected Component |
JSplitPane.rightComponent
右または下のコンポーネントです。 |
protected Component |
JTable.editorComp
編集時であれば、編集を処理している Component です。 |
protected Component |
JLabel.labelFor
|
protected static Component |
ImageIcon.component
|
protected Component |
JScrollPane.lowerLeft
左下隅に表示するコンポーネントです。 |
protected Component |
JScrollPane.lowerRight
右下隅に表示するコンポーネントです。 |
protected Component |
JScrollPane.upperLeft
左上隅に表示するコンポーネントです。 |
protected Component |
JScrollPane.upperRight
右上隅に表示するコンポーネントです。 |
protected Component |
JRootPane.glassPane
メニューバーとコンテンツ区画にオーバーレイするガラス区画です。 |
Component を返す javax.swing のメソッド | |
Component |
JComponent.getNextFocusableComponent()
次のフォーカス可能コンポーネントを返すか、あるいはフォーカスマネージャが次のフォーカス可能コンポーネントを自動的に選択する場合に null を返します。 |
Component |
JViewport.getView()
JViewport の 1 つの子または null を返します。 |
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 |
JMenuItem.getComponent()
該当のオブジェクトをペイントするための java.awt.Component を返します。 |
Component[] |
JLayeredPane.getComponentsInLayer(int layer)
指定されたレイヤのコンポーネントの配列を返します。 |
Component |
JMenu.add(Component c)
このメニューの最後にコンポーネントを追加します。 |
Component |
JMenu.add(Component c,
int index)
指定されたコンポーネントをこのコンテナの指定された位置に追加します。 |
Component |
JMenu.getMenuComponent(int n)
n の位置にあるコンポーネントを返します。 |
Component[] |
JMenu.getMenuComponents()
メニューのサブコンポーネントの Component の配列を返します。 |
Component |
JMenu.getComponent()
この MenuElement をペイントするのに使われる java.awt.Component を返します。 |
Component |
MenuSelectionManager.componentForPoint(Component source,
Point sourcePoint)
sourcePoint を含んでいる、現在選択されているパスのコンポーネントを返します。 |
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)
推奨されていません。 getComponent(int i) に置き換えられました。 |
Component |
JPopupMenu.getComponent()
この JPopupMenu コンポーネントを返します。 |
Component |
JWindow.getGlassPane()
このウィンドウの glassPane Component を返します。 |
protected Component |
ScrollPaneLayout.addSingletonComponent(Component oldC,
Component newC)
既存のコンポーネントを削除するのに使うメソッドです。 |
Component |
ScrollPaneLayout.getCorner(String key)
指定されたコーナーの Component を返します。 |
Component |
JApplet.getGlassPane()
アプレットの glassPane オブジェクトを返します。 |
static Component |
SwingUtilities.getDeepestComponentAt(Component parent,
int x,
int y)
位置 x 、y を内包する parent を親として持つ、最下位の可視 Component を返します。 |
static Component |
SwingUtilities.findFocusOwner(Component c)
フォーカスを持つ子コンポーネントがある場合はそれを返します。 |
static Component |
SwingUtilities.getRoot(Component c)
現在のコンポーネントツリーのルートコンポーネントを返します。 |
Component |
Renderer.getComponent()
値を描画するために使用されるコンポーネントを返します。 |
Component |
JInternalFrame.getGlassPane()
このフレームの glassPane オブジェクトを返します。 |
Component |
JInternalFrame.getFocusOwner()
この JInternalFrame がアクティブである場合、フォーカスを持つ子を返します。 |
Component |
JFrame.getGlassPane()
このフレームの glassPane オブジェクトを返します。 |
Component |
JSplitPane.getLeftComponent()
ディバイダの左 (上) にあるコンポーネントを返します。 |
Component |
JSplitPane.getTopComponent()
ディバイダの上または左のコンポーネントを返します。 |
Component |
JSplitPane.getRightComponent()
ディバイダの右 (または下) のコンポーネントを返します。 |
Component |
JSplitPane.getBottomComponent()
ディバイダの下または右のコンポーネントを返します。 |
Component |
ComboBoxEditor.getEditorComponent()
エディタのツリー階層に追加するコンポーネントを返します。 |
Component |
JTable.getEditorComponent()
編集セッションを処理しているコンポーネントを返します。 |
Component |
JTable.prepareRenderer(TableCellRenderer renderer,
int row,
int column)
row 、column の位置にあるセルの値および選択状態をデータモデルに照会して、レンダリングを準備します。
|
Component |
JTable.prepareEditor(TableCellEditor editor,
int row,
int column)
row 、column の位置にあるセルの値および選択状態をデータモデルに照会して、エディタを準備します。
|
Component |
JLabel.getLabelFor()
このラベルが割り当てられているコンポーネントを返します。 |
Component |
DefaultListCellRenderer.getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
|
Component |
ListCellRenderer.getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
指定の値を表示するように設定されたコンポーネントを返します。 |
Component |
JToolBar.getComponentAtIndex(int i)
指定されたインデックスのコンポーネントを返します。 |
Component |
JMenuBar.getComponentAtIndex(int i)
推奨されていません。 getComponent(int i) に置き換えられました。 |
Component |
JMenuBar.getComponent()
MenuElement として実装されます。 |
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 |
RootPaneContainer.getGlassPane()
glassPane を返します。 |
Component |
JScrollPane.getCorner(String key)
指定されたコーナーにあるコンポーネントを返します。 |
Component |
MenuElement.getComponent()
受け取り側要素をペイントするための java.awt.Component を返します。 |
protected Component |
JRootPane.createGlassPane()
デフォルトの glassPane を作成するためにコンストラクタのメソッドによって呼び出されます。 |
Component |
JRootPane.getGlassPane()
この JRootPane の現在のガラス区画を返します。 |
Component |
JDialog.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 型のパラメータを持つ javax.swing のメソッド | |
void |
JComponent.setNextFocusableComponent(Component aComponent)
たとえば TAB キーが押されたときなどのあとにフォーカスを取得する次のコンポーネントを指定します。 |
static boolean |
JComponent.isLightweightComponent(Component c)
このコンポーネントが軽量の場合、つまりネイティブのウィンドウシステムピアを持たない場合に true を返します。 |
void |
JTextPane.insertComponent(Component c)
現在選択されているコンテンツの置換後の内容としてドキュメントにコンポーネントを挿入します。 |
void |
ViewportLayout.addLayoutComponent(String name,
Component c)
指定されたコンポーネントをレイアウトに追加します。 |
void |
ViewportLayout.removeLayoutComponent(Component c)
指定されたコンポーネントをレイアウトから削除します。 |
protected void |
JViewport.addImpl(Component child,
Object constraints,
int index)
JViewport の 1 つの軽量な子を設定します。 |
void |
JViewport.remove(Component child)
Viewport の 1 つの軽量な子を削除します。 |
void |
JViewport.setView(Component view)
JViewport の 1 つの軽量な子 (view ) を設定します。 |
void |
JTabbedPane.setSelectedComponent(Component c)
タブ区画の選択コンポーネントを設定します。 |
void |
JTabbedPane.insertTab(String title,
Icon icon,
Component component,
String tip,
int index)
title または icon 、あるいはその両方 (どちらかは null でもかまわない) で表される component を index の位置に挿入します。 |
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 |
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)
レイヤ内でのコンポーネントの相対位置を返します。 |
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)
「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)
指定されたコンポーネントのデスクトップ区画を返します。 |
static RepaintManager |
RepaintManager.currentManager(Component c)
Component を指定して、呼び出し側スレッドの RepaintManager を返します。 |
Image |
RepaintManager.getOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight)
ダブルバッファとしてコンポーネント c とともに使用されるオフスクリーンバッファを返します。 |
Component |
JMenu.add(Component c)
このメニューの最後にコンポーネントを追加します。 |
Component |
JMenu.add(Component c,
int index)
指定されたコンポーネントをこのコンテナの指定された位置に追加します。 |
void |
JMenu.remove(Component c)
このメニューからコンポーネント c を削除します。 |
boolean |
JMenu.isMenuComponent(Component c)
指定されたコンポーネントがサブメニュー階層内にある場合に true を返します。 |
Component |
MenuSelectionManager.componentForPoint(Component source,
Point sourcePoint)
sourcePoint を含んでいる、現在選択されているパスのコンポーネントを返します。 |
boolean |
MenuSelectionManager.isComponentPartOfCurrentMenu(Component c)
c が現在使用されているメニューの一部である場合に true を返します。 |
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] ボタンとともに、指定された ColorChooser 区画を持つ新しいダイアログを作成し、それを返します。 |
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.remove(Component comp)
コンテナから、指定されたコンポーネントを削除します。 |
void |
JWindow.setGlassPane(Component glassPane)
glassPane プロパティを設定します。 |
protected Component |
ScrollPaneLayout.addSingletonComponent(Component oldC,
Component newC)
既存のコンポーネントを削除するのに使うメソッドです。 |
void |
ScrollPaneLayout.addLayoutComponent(String s,
Component c)
指定されたコンポーネントをレイアウトに追加します。 |
void |
ScrollPaneLayout.removeLayoutComponent(Component c)
指定されたコンポーネントをレイアウトから削除します。 |
protected void |
JApplet.addImpl(Component comp,
Object constraints,
int index)
デフォルトでは、子はこのコンポーネントに直接追加できず、代わりに contentPane に追加されなければなりません。 |
void |
JApplet.remove(Component comp)
コンテナから、指定されたコンポーネントを削除します。 |
void |
JApplet.setGlassPane(Component glassPane)
glassPane プロパティを設定します。 |
static Rectangle |
SwingUtilities.getLocalBounds(Component aComponent)
aComponent コンポーネントの矩形 (0,0,bounds.width,bounds.height) を返します。 |
static Window |
SwingUtilities.getWindowAncestor(Component c)
|
static Point |
SwingUtilities.convertPoint(Component source,
Point aPoint,
Component destination)
source 座標体系の aPoint を destination 座標体系に変換します。 |
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 座標体系の aRectangle を destination 座標体系に変換します。 |
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)
位置 x 、y を内包する 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)
オブジェクトのユーザ補助機能を実装する n 番目の子を返します。 |
static Component |
SwingUtilities.findFocusOwner(Component c)
フォーカスを持つ子コンポーネントがある場合はそれを返します。 |
static JRootPane |
SwingUtilities.getRootPane(Component c)
c が下位 JRootPane オブジェクトの場合は、その上位 JRootPane オブジェクトを返します。 |
static Component |
SwingUtilities.getRoot(Component c)
現在のコンポーネントツリーのルートコンポーネントを返します。 |
void |
BoxLayout.addLayoutComponent(String name,
Component comp)
このクラスでは使用しません。 |
void |
BoxLayout.removeLayoutComponent(Component comp)
このクラスでは使用しません。 |
void |
BoxLayout.addLayoutComponent(Component comp,
Object constraints)
このクラスでは使用しません。 |
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() を呼び出します。 |
protected void |
JInternalFrame.addImpl(Component comp,
Object constraints,
int index)
デフォルトでは、子はこのコンポーネントに直接追加できません。 |
void |
JInternalFrame.remove(Component comp)
コンテナから、指定されたコンポーネントを削除します。 |
void |
JInternalFrame.setGlassPane(Component glass)
この JInternalFrame の glassPane プロパティを設定します。 |
protected void |
JFrame.addImpl(Component comp,
Object constraints,
int index)
デフォルトでは、子はこのコンポーネントに直接追加できず、代わりに contentPane に追加されなければなりません。 |
void |
JFrame.remove(Component comp)
コンテナから、指定されたコンポーネントを削除します。 |
void |
JFrame.setGlassPane(Component glassPane)
glassPane プロパティを設定します。 |
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)
このスプリットぺインに指定したコンポーネントを追加します。 |
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)
このラベルが割り当てられているコンポーネントを設定します。 |
int |
JFileChooser.showOpenDialog(Component parent)
[Open File] ファイルチューザダイアログを表示します。 |
int |
JFileChooser.showSaveDialog(Component parent)
[Save File] ファイルチューザダイアログを表示します。 |
int |
JFileChooser.showDialog(Component parent,
String approveButtonText)
カスタムアプルーブボタンとともにカスタムファイルチューザを表示します。 |
void |
Icon.paintIcon(Component c,
Graphics g,
int x,
int y)
指定された位置にアイコンを描画します。 |
int |
JToolBar.getComponentIndex(Component c)
指定されたコンポーネントのインデックスを返します。 |
protected void |
JToolBar.addImpl(Component comp,
Object constraints,
int index)
JButton が追加されると、初期状態では使用不可に設定されます。 |
int |
JMenuBar.getComponentIndex(Component c)
指定されたコンポーネントのインデックスを返します。 |
void |
JMenuBar.setSelected(Component sel)
現在選択されているコンポーネントを設定します。 |
void |
ImageIcon.paintIcon(Component c,
Graphics g,
int x,
int y)
アイコンをペイントします。 |
void |
RootPaneContainer.setGlassPane(Component glassPane)
glassPane は常に rootPane の最初の子で、rootPane のレイアウトマネージャによって、常に rootPane と同じ大きさであることが保証されます。 |
void |
JScrollPane.setViewportView(Component view)
必要に応じてビューポートを作成してから、ビューを設定します。 |
void |
JScrollPane.setRowHeaderView(Component view)
必要に応じて行ヘッダのビューポートを作成し、ビューを設定してから、行ヘッダのビューポートをスクロール区画に追加します。 |
void |
JScrollPane.setColumnHeaderView(Component view)
必要に応じて列ヘッダのビューポートを作成し、ビューを設定してから、列ヘッダのビューポートをスクロール区画に追加します。 |
void |
JScrollPane.setCorner(String key,
Component corner)
スクロール区画のコーナーに表示される子を追加します (スペースがある場合)。 |
void |
OverlayLayout.addLayoutComponent(String name,
Component comp)
指定されたコンポーネントをレイアウトに追加します。 |
void |
OverlayLayout.removeLayoutComponent(Component comp)
指定されたコンポーネントをレイアウトから削除します。 |
void |
OverlayLayout.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)
|
protected void |
JDialog.addImpl(Component comp,
Object constraints,
int index)
デフォルトでは、子はこのコンポーネントに直接追加できず、代わりに contentPane に追加されなければなりません。 |
void |
JDialog.remove(Component comp)
コンテナから、指定されたコンポーネントを削除します。 |
void |
JDialog.setGlassPane(Component glassPane)
glassPane プロパティを設定します。 |
void |
JDialog.setLocationRelativeTo(Component c)
指定されたコンポーネントとの相対位置で、ダイアログの位置を設定します。 |
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)
「タブ」順で a が b の前にくる場合に true を返します。 |
Component 型のパラメータを持つ javax.swing のコンストラクタ | |
JSplitPane(int newOrientation,
Component newLeftComponent,
Component newRightComponent)
方向と、連続した再描画を行わないコンポーネントを指定して新しい JSplitPane を作成します。 |
|
JSplitPane(int newOrientation,
boolean newContinuousLayout,
Component newLeftComponent,
Component newRightComponent)
方向、再描画スタイル、コンポーネントを指定して新しい JSplitPane を作成します。 |
|
ProgressMonitor(Component parentComponent,
Object message,
String note,
int min,
int max)
進捗状況を示すグラフィックオブジェクトを構築します。 |
|
ProgressMonitorInputStream(Component parentComponent,
Object message,
InputStream in)
入力ストリームの進捗を監視するオブジェクトを構築します。 |
|
JScrollPane(Component view,
int vsbPolicy,
int hsbPolicy)
ビューの位置を 1 組のスクロールバーを使ってコントロールできるビューポート内のビューコンポーネントを表示する、 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 の現在のインセットで初期化し直します。 |
Rectangle |
AbstractBorder.getInteriorRectangle(Component c,
int x,
int y,
int width,
int height)
静的メソッドを呼び出す簡易メソッドです。 |
static Rectangle |
AbstractBorder.getInteriorRectangle(Component c,
Border b,
int x,
int y,
int width,
int height)
ボーダのインセットから引数の値を減算して矩形を返します。 |
void |
BevelBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
指定されたコンポーネントのボーダを、指定された位置およびサイズでペイントします。 |
Insets |
BevelBorder.getBorderInsets(Component c)
ボーダのインセットの値を返します。 |
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 |
SoftBevelBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
指定されたコンポーネントのボーダを、指定された位置およびサイズでペイントします。 |
Insets |
SoftBevelBorder.getBorderInsets(Component c)
ボーダのインセットの値を返します。 |
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 |
MatteBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
飾り縁ボーダをペイントします。 |
Insets |
MatteBorder.getBorderInsets(Component c)
ボーダのインセットの値を返します。 |
Insets |
MatteBorder.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 |
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 |
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 |
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 |
Border.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
指定されたコンポーネントのボーダを、指定された位置およびサイズでペイントします。 |
Insets |
Border.getBorderInsets(Component c)
ボーダのインセットの値を返します。 |
javax.swing.colorchooser での Component の使用 |
javax.swing.colorchooser での Component のサブクラス | |
class |
AbstractColorChooserPanel
カラーチューザの抽象スーパークラスです。 |
javax.swing.event での Component の使用 |
Component 型のパラメータを持つ javax.swing.event のコンストラクタ | |
MenuKeyEvent(Component source,
int id,
long when,
int modifiers,
int keyCode,
char keyChar,
MenuElement[] p,
MenuSelectionManager m)
MenuKeyEvent オブジェクトを構築します。 |
|
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 |
BorderUIResource.paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
|
Insets |
BorderUIResource.getBorderInsets(Component c)
|
void |
IconUIResource.paintIcon(Component c,
Graphics g,
int x,
int y)
|
javax.swing.plaf.basic での Component の使用 |
javax.swing.plaf.basic での Component のサブクラス | |
class |
BasicArrowButton
基本方向のいずれかにスケーリングされる矢印を描画する JButton オブジェクトです。 |
class |
BasicComboBoxRenderer
ComboBox のレンダリングです。 |
static class |
BasicComboBoxRenderer.UIResource
BasicComboBoxRenderer のサブクラスであり、UIResource の実装を提供します。 |
class |
BasicComboPopup
ComboPopup インタフェースの実装です。 |
class |
BasicInternalFrameTitlePane
基本のタイトルバーを管理するクラスです。 |
class |
BasicInternalFrameTitlePane.SystemMenuBar
この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。 |
class |
BasicSplitPaneDivider
BasicSplitPaneUI で使われるディバイダです。 |
protected class |
BasicToolBarUI.DragWindow
|
Component として宣言されている javax.swing.plaf.basic のフィールド | |
Component |
BasicMenuUI.ChangeHandler.wasFocused
|
protected Component |
BasicOptionPaneUI.initialFocusComponent
selectInitialValue を使ってメッセージが送られたときに、フォーカスを受け取るコンポーネントです。 |
protected Component |
BasicComboBoxUI.editor
|
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 |
BasicSplitPaneDivider.hiddenDivider
非連続レイアウトモードに使われるディバイダです。 |
Component を返す javax.swing.plaf.basic のメソッド | |
protected Component |
BasicTabbedPaneUI.getVisibleComponent()
|
Component |
BasicComboBoxRenderer.getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
|
protected Component |
BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider()
デフォルトの非連続レイアウトのディバイダを返します。 |
Component |
BasicSplitPaneUI.getNonContinuousLayoutDivider()
スプリットペインが非連続レイアウトに設定されているときに使われるディバイダを返します。 |
Component |
BasicComboBoxEditor.getEditorComponent()
|
protected Component |
BasicSliderUI.getLowestValueLabel()
ラベルテーブルの最大のスライダ値に対応するラベルを返します。 |
protected Component |
BasicSliderUI.getHighestValueLabel()
ラベルテーブルの最小のスライダ値に対応するラベルを返します。 |
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 |
BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name,
Component c)
|
void |
BasicInternalFrameTitlePane.TitlePaneLayout.removeLayoutComponent(Component c)
|
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 |
BasicScrollBarUI.addLayoutComponent(String name,
Component child)
|
void |
BasicScrollBarUI.removeLayoutComponent(Component child)
|
boolean |
BasicToolBarUI.canDock(Component c,
Point p)
|
void |
BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name,
Component c)
|
void |
BasicInternalFrameUI.InternalFrameLayout.removeLayoutComponent(Component c)
|
void |
BasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String name,
Component comp)
|
void |
BasicComboBoxUI.ComboBoxLayoutManager.removeLayoutComponent(Component comp)
|
protected void |
BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider)
スプリットペインが非連続レイアウトに設定されているときに使われるディバイダを設定します。 |
protected void |
BasicSplitPaneUI.setNonContinuousLayoutDivider(Component newDivider,
boolean rememberSizes)
使用されるディバイダを設定します。 |
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.BasicHorizontalLayoutManager.getPreferredSizeOfComponent(Component c)
渡されたコンポーネントの適切なサイズの幅を返します。 |
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 から上インセットと下インセットを減算した値に設定します。 |
protected void |
BasicTreeUI.drawCentered(Component c,
Graphics graphics,
Icon icon,
int x,
int y)
|
void |
BasicSplitPaneDivider.DividerLayout.removeLayoutComponent(Component c)
|
void |
BasicSplitPaneDivider.DividerLayout.addLayoutComponent(String string,
Component c)
|
protected void |
BasicSliderUI.paintHorizontalLabel(Graphics g,
int value,
Component label)
ラベルテーブルの各ラベルに対して呼び出されます。 |
protected void |
BasicSliderUI.paintVerticalLabel(Graphics g,
int value,
Component label)
ラベルテーブルの各ラベルに対して呼び出されます。 |
Component 型のパラメータを持つ javax.swing.plaf.basic のコンストラクタ | |
BasicTreeUI.MouseInputHandler(Component source,
Component destination,
MouseEvent event)
|
javax.swing.plaf.metal での Component の使用 |
javax.swing.plaf.metal での Component のサブクラス | |
class |
MetalComboBoxButton
MetalComboBoxUI を補助する JButton サブクラスです。 |
class |
MetalComboBoxUI.MetalComboPopup
この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。 |
protected class |
MetalFileChooserUI.FileRenderer
|
class |
MetalFileChooserUI.FilterComboBoxRenderer
各種のサイズおよびスタイルを描画します。 |
class |
MetalInternalFrameTitlePane
JLF 仕様のタイトルバーを管理するクラスです。 |
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 |
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.PaletteBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
|
Insets |
MetalBorders.PaletteBorder.getBorderInsets(Component c)
|
void |
MetalBorders.OptionDialogBorder.paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
|
Insets |
MetalBorders.OptionDialogBorder.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)
|
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)
|
Insets |
MetalBorders.TableHeaderBorder.getBorderInsets(Component c)
|
protected void |
MetalToolBarUI.setBorderToRollover(Component c)
|
protected void |
MetalToolBarUI.setBorderToNonRollover(Component c)
|
protected void |
MetalToolBarUI.setBorderToNormal(Component c)
|
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 |
MetalIconFactory.TreeControlIcon.paintMe(Component c,
Graphics g,
int x,
int y)
|
void |
MetalComboBoxIcon.paintIcon(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)
エディタに初期の value を設定します。 |
Component |
TableCellRenderer.getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
セルを描画するのに使用されるコンポーネントを返します。 |
Component |
DefaultTableCellRenderer.getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
デフォルトのテーブルセルレンダリングを返します。 |
javax.swing.text での Component の使用 |
javax.swing.text での Component のサブクラス | |
class |
JTextComponent
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 |
FormView.createComponent()
コンポーネントを作成します。 |
protected Component |
ObjectView.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 |
DefaultTreeCellRenderer.getTreeCellRendererComponent(JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
コンポーネントで渡される内容に基づいてレンダリングを設定します。 |
Component |
TreeCellRenderer.getTreeCellRendererComponent(JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
現在のツリーセルの値を value に設定します。 |
Component |
TreeCellEditor.getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
エディタの「初期値」を設定します。 |
Component |
DefaultTreeCellEditor.getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
エディタを設定します。 |
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
前 次 | フレームあり フレームなし |
Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.