クラス
javax.swing.JInternalFrameの使用
JInternalFrameを使用するパッケージ
パッケージ
説明
すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
Swingコンポーネントによってトリガーされるイベントを提供します。
基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。
デフォルトのLook & FeelであるJava Look & Feel (以前のコード名はMetal)に従って構築されたユーザー・インタフェース・オブジェクトを提供します。
Synthは、すべてのペイントが委譲されるスキン設定可能なLook & Feelです。
-
javax.swingでのJInternalFrameの使用
JInternalFrameを返すjavax.swingのメソッド修飾子と型メソッド説明JOptionPane.createInternalFrame(Component parentComponent, String title)
JInternalFrame
のインスタンスを生成し、それを返します。JDesktopPane.getAllFrames()
現在デスクトップに表示されているすべてのJInternalFrames
を返します。JDesktopPane.getAllFramesInLayer(int layer)
デスクトップの指定したレイヤーに現在表示されているすべてのJInternalFrames
を返します。JInternalFrame.JDesktopIcon.getInternalFrame()
このDesktopIcon
に関連付けられたJInternalFrame
を返します。JDesktopPane.getSelectedFrame()
このJDesktopPane
の現在アクティブなJInternalFrame
を返します。現在JInternalFrame
がアクティブでない場合は、null
を返します。JDesktopPane.selectFrame(boolean forward)
このデスクトップ・ペイン内の次のJInternalFrame
を選択します。型JInternalFrameのパラメータを持つjavax.swingのメソッド修飾子と型メソッド説明void
DefaultDesktopManager.activateFrame(JInternalFrame f)
fをアクティブにして、フロントに移動します。void
DesktopManager.activateFrame(JInternalFrame f)
通常、フレームがフォーカスを持つことを示します。void
DefaultDesktopManager.closeFrame(JInternalFrame f)
フレームを削除し、必要に応じてその親からdesktopIcon
を削除します。void
DesktopManager.closeFrame(JInternalFrame f)
一般に、この呼び出しはフレームを親から削除する必要があります。void
DefaultDesktopManager.deactivateFrame(JInternalFrame f)
void
DesktopManager.deactivateFrame(JInternalFrame f)
通常、フレームがフォーカスを失ったことを示します。void
DefaultDesktopManager.deiconifyFrame(JInternalFrame f)
desktopIconをその親から削除して、そのフレームを親に追加します。void
DesktopManager.deiconifyFrame(JInternalFrame f)
通常、既存のアイコン表現をすべて削除し、フレームをその元のサイズと位置に復元します。protected Rectangle
DefaultDesktopManager.getBoundsForIconOf(JInternalFrame f)
iconifyFrame()
コードはこれを呼び出して、desktopIconの適切な境界を判断します。InternalFrameFocusTraversalPolicy.getInitialComponent(JInternalFrame frame)
JinternalFrameが最初に選択されたときにフォーカスを受け取るComponentを返します。protected Rectangle
DefaultDesktopManager.getPreviousBounds(JInternalFrame f)
コンポーネントの通常の境界をコンポーネント最大化の直前に返します。void
DefaultDesktopManager.iconifyFrame(JInternalFrame f)
フレームをその親から削除して、そのdesktopIcon
を親に追加します。void
DesktopManager.iconifyFrame(JInternalFrame f)
一般に、このフレームを親から削除し、アイコン的な表現を追加します。void
DefaultDesktopManager.maximizeFrame(JInternalFrame f)
その親の境界を満たすように、フレームのサイズを変更します。void
DesktopManager.maximizeFrame(JInternalFrame f)
一般に、フレームは、その親の境界に一致するようにサイズ変更する必要があります。void
DefaultDesktopManager.minimizeFrame(JInternalFrame f)
maximizeFrame
の呼出し前のサイズと位置にフレームを復元します。void
DesktopManager.minimizeFrame(JInternalFrame f)
一般的に、これはフレームがmaximizeFrame()コールの前にそのサイズと位置にリストアされるべきであることを示します。void
DefaultDesktopManager.openFrame(JInternalFrame f)
このメソッドは通常は呼び出されません。void
DesktopManager.openFrame(JInternalFrame f)
可能な場合、フレームを適切な位置に表示します。protected void
DefaultDesktopManager.removeIconFor(JInternalFrame f)
fのdesktopIconを削除する簡易メソッドが必要です。void
JInternalFrame.JDesktopIcon.setInternalFrame(JInternalFrame f)
このDesktopIcon
に関連付けるJInternalFrame
を設定します。protected void
DefaultDesktopManager.setPreviousBounds(JInternalFrame f, Rectangle r)
コンポーネントの境界を、最大呼出しの直前に格納します。void
JDesktopPane.setSelectedFrame(JInternalFrame f)
このJDesktopPane
に現在アクティブなJInternalFrame
を設定します。protected void
DefaultDesktopManager.setWasIcon(JInternalFrame f, Boolean value)
コンポーネントがアイコン化されてdesktopIcon
の境界が有効であるように設定します。protected boolean
DefaultDesktopManager.wasIcon(JInternalFrame f)
コンポーネントがアイコン化されてdesktopIcon
の境界が有効であればtrue
、そうでない場合はfalse
を返します。型JInternalFrameのパラメータを持つjavax.swingのコンストラクタ -
javax.swing.eventでのJInternalFrameの使用
JInternalFrameを返すjavax.swing.eventのメソッド型JInternalFrameのパラメータを持つjavax.swing.eventのコンストラクタ -
javax.swing.plaf.basicでのJInternalFrameの使用
JInternalFrameとして宣言されたjavax.swing.plaf.basicのフィールド修飾子と型フィールド説明protected JInternalFrame
BasicDesktopIconUI.frame
JInternalFrame
のインスタンス。protected JInternalFrame
BasicInternalFrameTitlePane.frame
JInternalFrame
のインスタンス。protected JInternalFrame
BasicInternalFrameUI.frame
frame型JInternalFrameのパラメータを持つjavax.swing.plaf.basicのメソッド修飾子と型メソッド説明protected void
BasicInternalFrameUI.activateFrame(JInternalFrame f)
フレームが選択状態になるときに呼び出されます。protected void
BasicInternalFrameUI.closeFrame(JInternalFrame f)
ユーザーがフレームを閉じるときに呼び出されます。protected MouseInputAdapter
BasicInternalFrameUI.createBorderListener(JInternalFrame w)
ボーダー・リスナーを作成します。protected JComponent
BasicInternalFrameUI.createEastPane(JInternalFrame w)
東ペインを作成します。protected JComponent
BasicInternalFrameUI.createNorthPane(JInternalFrame w)
北ペインを作成します。protected JComponent
BasicInternalFrameUI.createSouthPane(JInternalFrame w)
北ペインを作成します。protected JComponent
BasicInternalFrameUI.createWestPane(JInternalFrame w)
西ペインを作成します。protected void
BasicInternalFrameUI.deactivateFrame(JInternalFrame f)
フレームの選択が解除されるときに呼び出されます。protected void
BasicInternalFrameUI.deiconifyFrame(JInternalFrame f)
ユーザーがフレームのアイコン化を解除するときに呼び出されます。protected void
BasicInternalFrameUI.iconifyFrame(JInternalFrame f)
ユーザーがフレームをアイコン化するときに呼び出されます。protected void
BasicInternalFrameUI.maximizeFrame(JInternalFrame f)
ユーザーがフレームを最大化するときに呼び出されます。protected void
BasicInternalFrameUI.minimizeFrame(JInternalFrame f)
ユーザーがフレームを最小化するときに呼び出されます。protected void
BasicInternalFrameTitlePane.postClosingEvent(JInternalFrame frame)
フレームにWINDOW_CLOSINGのようなイベントをポストすると、通常のFrame
のように扱うことができます。型JInternalFrameのパラメータを持つjavax.swing.plaf.basicのコンストラクタ修飾子コンストラクタ説明BasicInternalFrameTitlePane
の新しいインスタンスを構築します。BasicInternalFrameUI
を構築します。 -
javax.swing.plaf.metalでのJInternalFrameの使用
型JInternalFrameのパラメータを持つjavax.swing.plaf.metalのメソッド修飾子と型メソッド説明protected MouseInputAdapter
MetalInternalFrameUI.createBorderListener(JInternalFrame w)
TitlePaneにインストールするMouseInputAdapter
を返します。型JInternalFrameのパラメータを持つjavax.swing.plaf.metalのコンストラクタ修飾子コンストラクタ説明MetalInternalFrameTitlePane
の新しいインスタンスを構築新しいMetalInternalFrameUI
インスタンスを構築します。 -
javax.swing.plaf.synthでのJInternalFrameの使用
型JInternalFrameのパラメータを持つjavax.swing.plaf.synthのコンストラクタ