クラスMetalInternalFrameUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.InternalFrameUI
javax.swing.plaf.basic.BasicInternalFrameUI
javax.swing.plaf.metal.MetalInternalFrameUI
public class MetalInternalFrameUI extends BasicInternalFrameUI
JInternalFrameのMetal実装です。
-
ネストされたクラスのサマリー
クラスBasicInternalFrameUIで宣言されたネストされたクラス/インタフェース
BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener修飾子と型クラス説明protected class基本的な内部フレーム・リスナー。protected classボーダーの調整を待機します。protected classコンポーネント・ハンドラ。protected classガラス・ペイン・ディスパッチャ。class内部フレームのレイアウト。class内部フレーム・プロパティの変更リスナー。 -
フィールドのサマリー
フィールドクラスで宣言されたフィールド BasicInternalFrameUI
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane修飾子と型フィールド説明protected MouseInputAdapterボーダー・リスナーprotected ComponentListenerコンポーネント・リスナーprotected JComponent東ペインprotected JInternalFrameframeprotected MouseInputListenerガラス・ペイン・ディスパッチャprotected LayoutManager内部フレーム・レイアウトprotected JComponent北ペインprotected KeyStroke非推奨。Java 2プラットフォームv1.3以降。protected PropertyChangeListenerプロパティ変更リスナーprotected JComponent南ペインprotected BasicInternalFrameTitlePaneタイトル・ペインprotected JComponent西ペイン -
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
修飾子と型メソッド説明protected MouseInputAdapterTitlePaneにインストールするMouseInputAdapterを返します。static ComponentUI新しいMetalInternalFrameUIインスタンスを構築します。voidsetPalette(boolean isPalette) isPaletteがtrueの場合、パレットのボーダーとタイトルを設定クラスで宣言されたメソッド BasicInternalFrameUI
activateFrame, closeFrame, createComponentListener, createDesktopManager, createEastPane, createGlassPaneDispatcher, createInternalFrameListener, createLayoutManager, createNorthPane, createPropertyChangeListener, createSouthPane, createWestPane, deactivateFrame, deiconifyFrame, deinstallMouseHandlers, getDesktopManager, getEastPane, getMaximumSize, getMinimumSize, getNorthPane, getPreferredSize, getSouthPane, getWestPane, iconifyFrame, installComponents, installDefaults, installKeyboardActions, installListeners, installMouseHandlers, installUI, isKeyBindingActive, isKeyBindingRegistered, maximizeFrame, minimizeFrame, replacePane, setEastPane, setKeyBindingActive, setKeyBindingRegistered, setNorthPane, setSouthPane, setupMenuCloseKey, setupMenuOpenKey, setWestPane, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI修飾子と型メソッド説明protected voidフレームが選択状態になるときに呼び出されます。protected voidユーザーがフレームを閉じるときに呼び出されます。protected ComponentListenerコンポーネント・リスナーを作成します。protected DesktopManagerデスクトップ・マネージャを作成します。protected JComponent東ペインを作成します。protected MouseInputListenerGlassPaneDispatcherを作成します。protected void内部フレーム・リスナーを作成します。protected LayoutManagerレイアウト・マネージャを作成します。protected JComponent北ペインを作成します。protected PropertyChangeListenerプロパティ変更リスナーを作成します。protected JComponent北ペインを作成します。protected JComponent西ペインを作成します。protected voidフレームの選択が解除されるときに呼び出されます。protected voidユーザーがフレームのアイコン化を解除するときに呼び出されます。protected voidマウス・ハンドラをアンインストールします。protected DesktopManager適切なDesktopManagerを返します。東ペインを返します。最大サイズを返します。最小サイズを返します。北ペインを返します。優先サイズを返します。南ペインを返します。西ペインを返します。protected voidユーザーがフレームをアイコン化するときに呼び出されます。protected voidコンポーネントを取り付けます。protected voidデフォルトをインストールします。protected voidキーボード操作をインストールします。protected voidリスナーをインストールします。protected voidマウス・ハンドラをインストールします。voidUIをインストールします。final booleanキー・バインディングがアクティブかどうかを返します。protected final booleanキー・バインディングが登録されているかどうかを返します。protected voidユーザーがフレームを最大化するときに呼び出されます。protected voidユーザーがフレームを最小化するときに呼び出されます。protected voidreplacePane(JComponent currentPane, JComponent newPane) 必要なマウス・ハンドラをnewPaneにインストールし、フレームに追加します。void東のペインを設定します。protected final voidsetKeyBindingActive(boolean b) キー・バインディング・アクティビティを設定します。protected final voidsetKeyBindingRegistered(boolean b) キー・バインディング登録を設定します。void北ペインを設定します。void南ペインを設定します。protected voidメニュー・クローズ・キーを設定します。protected voidメニュー・オープン・キーを設定します。void西ペインを設定します。protected voidコンポーネントをアンインストールします。protected voidデフォルトをアンインストールします。protected voidキーボード操作をアンインストールします。protected voidリスナーをアンインストールします。voidUIをアンインストールします。クラスで宣言されたメソッド ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update修飾子と型メソッド説明booleancontains(JComponent c, int x, int y) 指定された x,yの位置が、指定されたコンポーネントのLook & Feel定義の形状内にある場合は、trueを返します。getAccessibleChild(JComponent c, int i) オブジェクトのi番目のAccessibleの子を返します。intオブジェクト内のアクセシビリティ対応の子の数を返します。intgetBaseline(JComponent c, int width, int height) ベースラインを返します。サイズの変化に合わせてコンポーネントのベースラインがどのように変化するかを示す列挙を返します。voidpaint(Graphics g, JComponent c) 指定されたコンポーネントをLook & Feelに合わせてペイントします。voidupdate(Graphics g, JComponent c) 指定されたコンポーネントをペイントする時間になったことを、このUI委譲に通知します。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。toString()オブジェクトの文字列表現を返します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
フィールド詳細
-
IS_PALETTE
protected static String IS_PALETTEプロパティJInternalFrame.isPalette。
-
-
コンストラクタの詳細
-
MetalInternalFrameUI
public MetalInternalFrameUI(JInternalFrame b) 新しいMetalInternalFrameUIインスタンスを構築します。- パラメータ:
b- 内部フレーム
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent c) 新しいMetalInternalFrameUIインスタンスを構築します。- パラメータ:
c- コンポーネント- 戻り値:
- 新しい
MetalInternalFrameUIインスタンス
-
setPalette
public void setPalette(boolean isPalette) isPaletteがtrueの場合、パレットのボーダーとタイトルを設定- パラメータ:
isPalette-true、パレットのボーダーとタイトルを設定する場合
-
createBorderListener
protected MouseInputAdapter createBorderListener(JInternalFrame w) TitlePaneにインストールするMouseInputAdapterを返します。- オーバーライド:
createBorderListener、クラスBasicInternalFrameUI- パラメータ:
w-JInternalFrame- 戻り値:
- TitlePaneにインストールされる
MouseInputAdapter - 導入されたバージョン:
- 1.6
-