- java.lang.Object
- 
- javax.swing.plaf.ComponentUI
- 
- javax.swing.plaf.InternalFrameUI
- 
- javax.swing.plaf.basic.BasicInternalFrameUI
 
 
 
- 
- 直系の既知のサブクラス:
- MetalInternalFrameUI,- SynthInternalFrameUI
 
 
 public class BasicInternalFrameUI extends InternalFrameUI JInternalFrameの基本L&F実装です。
- 
- 
ネストされたクラスのサマリーネストされたクラス 修飾子と型 クラス 説明 protected classBasicInternalFrameUI.BasicInternalFrameListener基本的な内部フレーム・リスナー。protected classBasicInternalFrameUI.BorderListenerボーダー調整を待機します。protected classBasicInternalFrameUI.ComponentHandlerコンポーネント・ハンドラ。protected classBasicInternalFrameUI.GlassPaneDispatcherグラス・ペイン・ディスパッチャ。classBasicInternalFrameUI.InternalFrameLayout内部フレーム・レイアウト。classBasicInternalFrameUI.InternalFramePropertyChangeListener内部フレーム・プロパティ変更リスナー。
 - 
フィールドのサマリーフィールド 修飾子と型 フィールド 説明 protected MouseInputAdapterborderListenerボーダー・リスナーprotected ComponentListenercomponentListenerコンポーネント・リスナーprotected JComponenteastPane東ペインprotected JInternalFrameframeframeprotected MouseInputListenerglassPaneDispatcherグラス・ペイン・ディスパッチャprotected LayoutManagerinternalFrameLayout内部フレーム・レイアウトprotected JComponentnorthPane北ペインprotected KeyStrokeopenMenuKey非推奨。Java 2プラットフォームv1.3以降。protected PropertyChangeListenerpropertyChangeListenerプロパティ変更リスナーprotected JComponentsouthPane南ペインprotected BasicInternalFrameTitlePanetitlePaneタイトル・ペインprotected JComponentwestPane西ペイン
 - 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 BasicInternalFrameUI(JInternalFrame b)BasicInternalFrameUIを構築します。
 - 
メソッドのサマリーすべてのメソッド 静的メソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 protected voidactivateFrame(JInternalFrame f)フレームが選択状態になるときに呼び出されます。protected voidcloseFrame(JInternalFrame f)ユーザーがフレームを閉じるときに呼び出されます。protected MouseInputAdaptercreateBorderListener(JInternalFrame w)ボーダー・リスナーを作成します。protected ComponentListenercreateComponentListener()コンポーネント・リスナーを作成します。protected DesktopManagercreateDesktopManager()デスクトップ・マネージャを作成します。protected JComponentcreateEastPane(JInternalFrame w)東ペインを作成します。protected MouseInputListenercreateGlassPaneDispatcher()GlassPaneDispatcherを作成します。protected voidcreateInternalFrameListener()内部フレーム・リスナーを作成します。protected LayoutManagercreateLayoutManager()レイアウト・マネージャを作成します。protected JComponentcreateNorthPane(JInternalFrame w)北ペインを作成します。protected PropertyChangeListenercreatePropertyChangeListener()プロパティ変更リスナーを作成します。protected JComponentcreateSouthPane(JInternalFrame w)北ペインを作成します。static ComponentUIcreateUI(JComponent b)コンポーネントUIを返します。protected JComponentcreateWestPane(JInternalFrame w)西ペインを作成します。protected voiddeactivateFrame(JInternalFrame f)フレームの選択が解除されるときに呼び出されます。protected voiddeiconifyFrame(JInternalFrame f)ユーザーがフレームのアイコン化を解除するときに呼び出されます。protected voiddeinstallMouseHandlers(JComponent c)マウス・ハンドラを削除します。protected DesktopManagergetDesktopManager()適切なDesktopManagerを返します。JComponentgetEastPane()東ペインを返します。DimensiongetMaximumSize(JComponent x)最大サイズを返します。DimensiongetMinimumSize(JComponent x)最小サイズを返します。JComponentgetNorthPane()北ペインを返します。DimensiongetPreferredSize(JComponent x)優先サイズを返します。JComponentgetSouthPane()南ペインを返します。JComponentgetWestPane()西ペインを返します。protected voidiconifyFrame(JInternalFrame f)ユーザーがフレームをアイコン化するときに呼び出されます。protected voidinstallComponents()コンポーネントをインストールします。protected voidinstallDefaults()デフォルトをインストールします。protected voidinstallKeyboardActions()キーボード操作をインストールします。protected voidinstallListeners()リスナーをインストールします。protected voidinstallMouseHandlers(JComponent c)マウス・ハンドラをインストールします。voidinstallUI(JComponent c)UIをインストールします。booleanisKeyBindingActive()キー・バインディングがアクティブかどうかを返します。protected booleanisKeyBindingRegistered()キー・バインディングが登録されているかどうかを返します。protected voidmaximizeFrame(JInternalFrame f)ユーザーがフレームを最大化するときに呼び出されます。protected voidminimizeFrame(JInternalFrame f)ユーザーがフレームを最小化するときに呼び出されます。protected voidreplacePane(JComponent currentPane, JComponent newPane)必要なマウス・ハンドラをnewPaneにインストールし、フレームに追加します。voidsetEastPane(JComponent c)東ペインを設定します。protected voidsetKeyBindingActive(boolean b)キー・バインディング・アクティビティを設定します。protected voidsetKeyBindingRegistered(boolean b)キー・バインディングの登録を設定します。voidsetNorthPane(JComponent c)北ペインを設定します。voidsetSouthPane(JComponent c)南ペインを設定します。protected voidsetupMenuCloseKey()メニューの閉じるキーを設定します。protected voidsetupMenuOpenKey()メニューのオープン・キーを設定します。voidsetWestPane(JComponent c)西ペインを設定します。protected voiduninstallComponents()コンポーネントをアンインストールします。protected voiduninstallDefaults()デフォルトをアンインストールします。protected voiduninstallKeyboardActions()キーボード操作をアンインストールします。protected voiduninstallListeners()リスナーをアンインストールします。voiduninstallUI(JComponent c)UIをアンインストールします。- 
クラス javax.swing.plaf.ComponentUIから継承されたメソッドcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
 
- 
 
- 
- 
- 
フィールドの詳細- 
frameprotected JInternalFrame frame frame
 - 
borderListenerprotected MouseInputAdapter borderListener ボーダー・リスナー
 - 
propertyChangeListenerprotected PropertyChangeListener propertyChangeListener プロパティ変更リスナー
 - 
internalFrameLayoutprotected LayoutManager internalFrameLayout 内部フレーム・レイアウト
 - 
componentListenerprotected ComponentListener componentListener コンポーネント・リスナー
 - 
glassPaneDispatcherprotected MouseInputListener glassPaneDispatcher グラス・ペイン・ディスパッチャ
 - 
northPaneprotected JComponent northPane 北ペイン
 - 
southPaneprotected JComponent southPane 南ペイン
 - 
westPaneprotected JComponent westPane 西ペイン
 - 
eastPaneprotected JComponent eastPane 東ペイン
 - 
titlePaneprotected BasicInternalFrameTitlePane titlePane タイトル・ペイン
 - 
openMenuKey@Deprecated protected KeyStroke openMenuKey 非推奨。 Java 2プラットフォームv1.3以降。以前はドキュメントに記載されていなかったこのフィールドは、Java 2プラットフォーム1.3以降では使用されません。 キー・バインディングはLookAndFeelによって定義されるようになりました。詳細はキー・バインディングの仕様を参照してください。
 
- 
 - 
コンストラクタの詳細- 
BasicInternalFrameUIpublic BasicInternalFrameUI(JInternalFrame b) BasicInternalFrameUIを構築します。- パラメータ:
- b- 内部フレーム
 
 
- 
 - 
メソッドの詳細- 
createUIpublic static ComponentUI createUI(JComponent b) コンポーネントUIを返します。- パラメータ:
- b- コンポーネント
- 戻り値:
- コンポーネントUI
 
 - 
installUIpublic void installUI(JComponent c) UIをインストールします。- オーバーライド:
- installUI、クラス:- ComponentUI
- パラメータ:
- c- コンポーネント
- 関連項目:
- ComponentUI.uninstallUI(javax.swing.JComponent),- JComponent.setUI(javax.swing.plaf.ComponentUI),- JComponent.updateUI()
 
 - 
uninstallUIpublic void uninstallUI(JComponent c) UIをアンインストールします。- オーバーライド:
- uninstallUI、クラス:- ComponentUI
- パラメータ:
- c- コンポーネント
- 関連項目:
- ComponentUI.installUI(javax.swing.JComponent),- JComponent.updateUI()
 
 - 
installDefaultsprotected void installDefaults() デフォルトをインストールします。
 - 
installKeyboardActionsprotected void installKeyboardActions() キーボード操作をインストールします。
 - 
installComponentsprotected void installComponents() コンポーネントをインストールします。
 - 
installListenersprotected void installListeners() リスナーをインストールします。- 導入されたバージョン:
- 1.3
 
 - 
uninstallDefaultsprotected void uninstallDefaults() デフォルトをアンインストールします。
 - 
uninstallComponentsprotected void uninstallComponents() コンポーネントをアンインストールします。
 - 
uninstallListenersprotected void uninstallListeners() リスナーをアンインストールします。- 導入されたバージョン:
- 1.3
 
 - 
uninstallKeyboardActionsprotected void uninstallKeyboardActions() キーボード操作をアンインストールします。
 - 
createLayoutManagerprotected LayoutManager createLayoutManager() レイアウト・マネージャを作成します。- 戻り値:
- レイアウト・マネージャ
 
 - 
createPropertyChangeListenerprotected PropertyChangeListener createPropertyChangeListener() プロパティ変更リスナーを作成します。- 戻り値:
- プロパティ変更リスナー
 
 - 
getPreferredSizepublic Dimension getPreferredSize(JComponent x) 優先サイズを返します。- オーバーライド:
- getPreferredSize、クラス:- ComponentUI
- パラメータ:
- x- コンポーネント
- 戻り値:
- 推奨サイズ
- 関連項目:
- JComponent.getPreferredSize(),- LayoutManager.preferredLayoutSize(java.awt.Container)
 
 - 
getMinimumSizepublic Dimension getMinimumSize(JComponent x) 最小サイズを返します。- オーバーライド:
- getMinimumSize、クラス:- ComponentUI
- パラメータ:
- x- コンポーネント
- 戻り値:
- 最小サイズ
- 関連項目:
- JComponent.getMinimumSize(),- LayoutManager.minimumLayoutSize(java.awt.Container),- ComponentUI.getPreferredSize(javax.swing.JComponent)
 
 - 
getMaximumSizepublic Dimension getMaximumSize(JComponent x) 最大サイズを返します。- オーバーライド:
- getMaximumSize、クラス:- ComponentUI
- パラメータ:
- x- コンポーネント
- 戻り値:
- 最大サイズ
- 関連項目:
- JComponent.getMaximumSize(),- LayoutManager2.maximumLayoutSize(java.awt.Container)
 
 - 
replacePaneprotected void replacePane(JComponent currentPane, JComponent newPane) 必要なマウス・ハンドラをnewPaneにインストールし、フレームに追加します。currentPaneの逆の処理です。- パラメータ:
- currentPane- この- Jcomponentは、マウス・ハンドラがインストールされている現在表示されているペインです
- newPane- この- Jcomponentは追加され、マウス・ハンドラがインストールされているペインです
 
 - 
deinstallMouseHandlersprotected void deinstallMouseHandlers(JComponent c) マウス・ハンドラを削除します。- パラメータ:
- c- コンポーネント
 
 - 
installMouseHandlersprotected void installMouseHandlers(JComponent c) マウス・ハンドラをインストールします。- パラメータ:
- c- コンポーネント
 
 - 
createNorthPaneprotected JComponent createNorthPane(JInternalFrame w) 北ペインを作成します。- パラメータ:
- w- 内部フレーム
- 戻り値:
- 北ペイン
 
 - 
createSouthPaneprotected JComponent createSouthPane(JInternalFrame w) 北ペインを作成します。- パラメータ:
- w- 内部フレーム
- 戻り値:
- 北ペイン
 
 - 
createWestPaneprotected JComponent createWestPane(JInternalFrame w) 西ペインを作成します。- パラメータ:
- w- 内部フレーム
- 戻り値:
- 西ペイン
 
 - 
createEastPaneprotected JComponent createEastPane(JInternalFrame w) 東ペインを作成します。- パラメータ:
- w- 内部フレーム
- 戻り値:
- 東ペイン
 
 - 
createBorderListenerprotected MouseInputAdapter createBorderListener(JInternalFrame w) ボーダー・リスナーを作成します。- パラメータ:
- w- 内部フレーム
- 戻り値:
- ボーダー・リスナー
 
 - 
createInternalFrameListenerprotected void createInternalFrameListener() 内部フレーム・リスナーを作成します。
 - 
isKeyBindingRegisteredprotected final boolean isKeyBindingRegistered() キー・バインディングが登録されているかどうかを返します。- 戻り値:
- キー・バインディングが登録されているかどうか
 
 - 
setKeyBindingRegisteredprotected final void setKeyBindingRegistered(boolean b) キー・バインディングの登録を設定します。- パラメータ:
- b- キー・バインディング登録の新しい値
 
 - 
isKeyBindingActivepublic final boolean isKeyBindingActive() キー・バインディングがアクティブかどうかを返します。- 戻り値:
- キー・バインディングがアクティブかどうか
 
 - 
setKeyBindingActiveprotected final void setKeyBindingActive(boolean b) キー・バインディング・アクティビティを設定します。- パラメータ:
- b- キー・バインディング・アクティビティの新しい値
 
 - 
setupMenuOpenKeyprotected void setupMenuOpenKey() メニューのオープン・キーを設定します。
 - 
setupMenuCloseKeyprotected void setupMenuCloseKey() メニューの閉じるキーを設定します。
 - 
getNorthPanepublic JComponent getNorthPane() 北ペインを返します。- 戻り値:
- 北ペイン
 
 - 
setNorthPanepublic void setNorthPane(JComponent c) 北ペインを設定します。- パラメータ:
- c- 新しい北のペイン
 
 - 
getSouthPanepublic JComponent getSouthPane() 南ペインを返します。- 戻り値:
- 南ペイン
 
 - 
setSouthPanepublic void setSouthPane(JComponent c) 南ペインを設定します。- パラメータ:
- c- 新しい南の窓
 
 - 
getWestPanepublic JComponent getWestPane() 西ペインを返します。- 戻り値:
- 西ペイン
 
 - 
setWestPanepublic void setWestPane(JComponent c) 西ペインを設定します。- パラメータ:
- c- 新しい西のペイン
 
 - 
getEastPanepublic JComponent getEastPane() 東ペインを返します。- 戻り値:
- 東ペイン
 
 - 
setEastPanepublic void setEastPane(JComponent c) 東ペインを設定します。- パラメータ:
- c- 新しい東のペイン
 
 - 
getDesktopManagerprotected DesktopManager getDesktopManager() 適切なDesktopManagerを返します。 getDesktopPane()を呼び出してJDesktopコンポーネントを検索し、同コンポーネントからDesktopManagerを返します。 これが失敗した場合は、任意の親で動作しているはずのデフォルトDesktopManagerを返します。- 戻り値:
- 適切なDesktopManager
 
 - 
createDesktopManagerprotected DesktopManager createDesktopManager() デスクトップ・マネージャを作成します。- 戻り値:
- デスクトップ・マネージャ
 
 - 
closeFrameprotected void closeFrame(JInternalFrame f) ユーザーがフレームを閉じるときに呼び出されます。playCloseSoundアクションがトリガーされます。 このアクションはdesktopManagerに委譲されます。- パラメータ:
- f-- JInternalFrameが表示されています
 
 - 
maximizeFrameprotected void maximizeFrame(JInternalFrame f) ユーザーがフレームを最大化するときに呼び出されます。playMaximizeSoundアクションがトリガーされます。 このアクションはdesktopManagerに委譲されます。- パラメータ:
- f-- JInternalFrameが表示されています
 
 - 
minimizeFrameprotected void minimizeFrame(JInternalFrame f) ユーザーがフレームを最小化するときに呼び出されます。playRestoreDownSoundアクションがトリガーされます。 このアクションはdesktopManagerに委譲されます。- パラメータ:
- f-- JInternalFrameが表示されています
 
 - 
iconifyFrameprotected void iconifyFrame(JInternalFrame f) ユーザーがフレームをアイコン化するときに呼び出されます。playMinimizeSoundアクションがトリガーされます。 このアクションはdesktopManagerに委譲されます。- パラメータ:
- f-- JInternalFrameが表示されています
 
 - 
deiconifyFrameprotected void deiconifyFrame(JInternalFrame f) ユーザーがフレームのアイコン化を解除するときに呼び出されます。playRestoreUpSoundアクションがトリガーされます。 このアクションはdesktopManagerに委譲されます。- パラメータ:
- f-- JInternalFrameが表示されています
 
 - 
activateFrameprotected void activateFrame(JInternalFrame f) フレームが選択状態になるときに呼び出されます。 このアクションはdesktopManagerに委譲されます。- パラメータ:
- f-- JInternalFrameが表示されています
 
 - 
deactivateFrameprotected void deactivateFrame(JInternalFrame f) フレームの選択が解除されるときに呼び出されます。 このアクションはdesktopManagerに委譲されます。- パラメータ:
- f-- JInternalFrameが表示されています
 
 - 
createComponentListenerprotected ComponentListener createComponentListener() コンポーネント・リスナーを作成します。- 戻り値:
- コンポーネント・リスナー
 
 - 
createGlassPaneDispatcherprotected MouseInputListener createGlassPaneDispatcher() GlassPaneDispatcherを作成します。- 戻り値:
- GlassPaneDispatcher
 
 
- 
 
-