|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.InternalFrameUI
|
+--javax.swing.plaf.basic.BasicInternalFrameUI
|
+--javax.swing.plaf.metal.MetalInternalFrameUI
JInternalFrame の Metal による実装です。
| 入れ子クラスの概要 |
| フィールドの概要 | |
protected static String |
IS_PALETTE
|
| クラス javax.swing.plaf.basic.BasicInternalFrameUI から継承したフィールド |
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane |
| コンストラクタの概要 | |
MetalInternalFrameUI(JInternalFrame b)
|
|
| メソッドの概要 | |
protected JComponent |
createNorthPane(JInternalFrame w)
|
static ComponentUI |
createUI(JComponent c)
指定されたコンポーネントの UI 委譲のインスタンスを返します。 |
protected void |
installKeyboardActions()
|
protected void |
installListeners()
|
void |
installUI(JComponent c)
Look & Feel に適した、指定されたコンポーネントを構成します。 |
void |
setPalette(boolean isPalette)
|
protected void |
uninstallComponents()
|
protected void |
uninstallKeyboardActions()
|
protected void |
uninstallListeners()
|
void |
uninstallUI(JComponent c)
installUI 時に、指定されたコンポーネントで実行した構成を取り消します。 |
| クラス javax.swing.plaf.ComponentUI から継承したメソッド |
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected static String IS_PALETTE
| コンストラクタの詳細 |
public MetalInternalFrameUI(JInternalFrame b)
| メソッドの詳細 |
public static ComponentUI createUI(JComponent c)
ComponentUI の記述: createUI メソッドを提供して、その UI 委譲のサブクラスのインスタンスを返す必要があります。UI 委譲のサブクラスが状態なしの場合、複数のコンポーネントに共有されるインスタンスを返します。UI 委譲が状態ありの場合、コンポーネントごとに新しいインスタンスを返す必要があります。このメソッドは呼び出してはいけないため、そのデフォルト実装はエラーをスローします。
public void installUI(JComponent c)
ComponentUI の記述: ComponentUI インスタンスが、指定されたコンポーネントの UI 委譲としてインストールされているときに呼び出されます。このメソッドは、以下を含む Look & Feel 用のコンポーネントを完全に構成する必要があります。
LayoutManager をインストールする
PropertyChangeListener をコンポーネントに作成またはインストールする
BasicInternalFrameUI 内の installUIc - UI 委譲がインストールされているコンポーネントComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()public void uninstallUI(JComponent c)
ComponentUI の記述: installUI 時に、指定されたコンポーネントで実行した構成を取り消します。このメソッドは、指定されたコンポーネントの UI 委譲としての UIComponent インスタンスが削除されているときに呼び出されます。このメソッドは、installUI によって実行された構成を元に戻す必要があります。この場合、JComponent インスタンスをクリーンな状態 (余分なリスナーや、Look & Feel 固有のプロパティオブジェクトが残らないように) にするよう十分注意してください。手順には次のものがあります。
BasicInternalFrameUI 内の uninstallUIc - この UI 委譲が削除されるコンポーネント。この引数はしばしば無視されるが、UI オブジェクトが状態なしで複数のコンポーネントに共有される場合に使用されることがあるComponentUI.installUI(javax.swing.JComponent),
JComponent.updateUI()protected void installListeners()
BasicInternalFrameUI 内の installListenersprotected void uninstallListeners()
BasicInternalFrameUI 内の uninstallListenersprotected void installKeyboardActions()
BasicInternalFrameUI 内の installKeyboardActionsprotected void uninstallKeyboardActions()
BasicInternalFrameUI 内の uninstallKeyboardActionsprotected void uninstallComponents()
BasicInternalFrameUI 内の uninstallComponentsprotected JComponent createNorthPane(JInternalFrame w)
BasicInternalFrameUI 内の createNorthPanepublic void setPalette(boolean isPalette)
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.