クラス
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のメソッド修飾子と型メソッド説明voidDefaultDesktopManager.activateFrame(JInternalFrame f)fをアクティブにして、フロントに移動します。voidDesktopManager.activateFrame(JInternalFrame f)通常、フレームがフォーカスを持つことを示します。voidDefaultDesktopManager.closeFrame(JInternalFrame f)フレームを削除し、必要に応じてその親からdesktopIconを削除します。voidDesktopManager.closeFrame(JInternalFrame f)一般に、この呼び出しはフレームを親から削除する必要があります。voidDefaultDesktopManager.deactivateFrame(JInternalFrame f)voidDesktopManager.deactivateFrame(JInternalFrame f)通常、フレームがフォーカスを失ったことを示します。voidDefaultDesktopManager.deiconifyFrame(JInternalFrame f)desktopIconをその親から削除して、そのフレームを親に追加します。voidDesktopManager.deiconifyFrame(JInternalFrame f)通常、既存のアイコン表現をすべて削除し、フレームをその元のサイズと位置に復元します。protected RectangleDefaultDesktopManager.getBoundsForIconOf(JInternalFrame f)iconifyFrame()コードはこれを呼び出して、desktopIconの適切な境界を判断します。InternalFrameFocusTraversalPolicy.getInitialComponent(JInternalFrame frame)JinternalFrameが最初に選択されたときにフォーカスを受け取るComponentを返します。protected RectangleDefaultDesktopManager.getPreviousBounds(JInternalFrame f)コンポーネントの通常の境界をコンポーネント最大化の直前に返します。voidDefaultDesktopManager.iconifyFrame(JInternalFrame f)フレームをその親から削除して、そのdesktopIconを親に追加します。voidDesktopManager.iconifyFrame(JInternalFrame f)一般に、このフレームを親から削除し、アイコン的な表現を追加します。voidDefaultDesktopManager.maximizeFrame(JInternalFrame f)その親の境界を満たすように、フレームのサイズを変更します。voidDesktopManager.maximizeFrame(JInternalFrame f)一般に、フレームは、その親の境界に一致するようにサイズ変更する必要があります。voidDefaultDesktopManager.minimizeFrame(JInternalFrame f)maximizeFrameの呼出し前のサイズと位置にフレームを復元します。voidDesktopManager.minimizeFrame(JInternalFrame f)一般的に、これはフレームがmaximizeFrame()コールの前にそのサイズと位置にリストアされるべきであることを示します。voidDefaultDesktopManager.openFrame(JInternalFrame f)このメソッドは通常は呼び出されません。voidDesktopManager.openFrame(JInternalFrame f)可能な場合、フレームを適切な位置に表示します。protected voidDefaultDesktopManager.removeIconFor(JInternalFrame f)fのdesktopIconを削除する簡易メソッドが必要です。voidJInternalFrame.JDesktopIcon.setInternalFrame(JInternalFrame f)このDesktopIconに関連付けるJInternalFrameを設定します。protected voidDefaultDesktopManager.setPreviousBounds(JInternalFrame f, Rectangle r)コンポーネントの境界を、最大呼出しの直前に格納します。voidJDesktopPane.setSelectedFrame(JInternalFrame f)このJDesktopPaneに現在アクティブなJInternalFrameを設定します。protected voidDefaultDesktopManager.setWasIcon(JInternalFrame f, Boolean value)コンポーネントがアイコン化されてdesktopIconの境界が有効であるように設定します。protected booleanDefaultDesktopManager.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 JInternalFrameBasicDesktopIconUI.frameJInternalFrameのインスタンス。protected JInternalFrameBasicInternalFrameTitlePane.frameJInternalFrameのインスタンス。protected JInternalFrameBasicInternalFrameUI.frameframe型JInternalFrameのパラメータを持つjavax.swing.plaf.basicのメソッド修飾子と型メソッド説明protected voidBasicInternalFrameUI.activateFrame(JInternalFrame f)フレームが選択状態になるときに呼び出されます。protected voidBasicInternalFrameUI.closeFrame(JInternalFrame f)ユーザーがフレームを閉じるときに呼び出されます。protected MouseInputAdapterBasicInternalFrameUI.createBorderListener(JInternalFrame w)ボーダー・リスナーを作成します。protected JComponentBasicInternalFrameUI.createEastPane(JInternalFrame w)東ペインを作成します。protected JComponentBasicInternalFrameUI.createNorthPane(JInternalFrame w)北ペインを作成します。protected JComponentBasicInternalFrameUI.createSouthPane(JInternalFrame w)北ペインを作成します。protected JComponentBasicInternalFrameUI.createWestPane(JInternalFrame w)西ペインを作成します。protected voidBasicInternalFrameUI.deactivateFrame(JInternalFrame f)フレームの選択が解除されるときに呼び出されます。protected voidBasicInternalFrameUI.deiconifyFrame(JInternalFrame f)ユーザーがフレームのアイコン化を解除するときに呼び出されます。protected voidBasicInternalFrameUI.iconifyFrame(JInternalFrame f)ユーザーがフレームをアイコン化するときに呼び出されます。protected voidBasicInternalFrameUI.maximizeFrame(JInternalFrame f)ユーザーがフレームを最大化するときに呼び出されます。protected voidBasicInternalFrameUI.minimizeFrame(JInternalFrame f)ユーザーがフレームを最小化するときに呼び出されます。protected voidBasicInternalFrameTitlePane.postClosingEvent(JInternalFrame frame)フレームにWINDOW_CLOSINGのようなイベントをポストすると、通常のFrameのように扱うことができます。型JInternalFrameのパラメータを持つjavax.swing.plaf.basicのコンストラクタ修飾子コンストラクタ説明BasicInternalFrameTitlePaneの新しいインスタンスを構築します。BasicInternalFrameUIを構築します。 -
javax.swing.plaf.metalでのJInternalFrameの使用
型JInternalFrameのパラメータを持つjavax.swing.plaf.metalのメソッド修飾子と型メソッド説明protected MouseInputAdapterMetalInternalFrameUI.createBorderListener(JInternalFrame w)TitlePaneにインストールするMouseInputAdapterを返します。型JInternalFrameのパラメータを持つjavax.swing.plaf.metalのコンストラクタ修飾子コンストラクタ説明MetalInternalFrameTitlePaneの新しいインスタンスを構築新しいMetalInternalFrameUIインスタンスを構築します。 -
javax.swing.plaf.synthでのJInternalFrameの使用
型JInternalFrameのパラメータを持つjavax.swing.plaf.synthのコンストラクタ