public class MetalInternalFrameUI extends BasicInternalFrameUI
BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener
修飾子と型 | フィールド | 説明 |
---|---|---|
protected static String |
IS_PALETTE |
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane
コンストラクタ | 説明 |
---|---|
MetalInternalFrameUI(JInternalFrame b) |
修飾子と型 | メソッド | 説明 |
---|---|---|
protected MouseInputAdapter |
createBorderListener(JInternalFrame w) |
TitlePaneにインストールする
MouseInputAdapter を返します。 |
protected JComponent |
createNorthPane(JInternalFrame w) |
|
static ComponentUI |
createUI(JComponent c) |
|
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 時に、指定されたコンポーネントに対して行われた構成を取り消します。 |
activateFrame, closeFrame, createComponentListener, createDesktopManager, createEastPane, createGlassPaneDispatcher, createInternalFrameListener, createLayoutManager, createPropertyChangeListener, createSouthPane, createWestPane, deactivateFrame, deiconifyFrame, deinstallMouseHandlers, getDesktopManager, getEastPane, getMaximumSize, getMinimumSize, getNorthPane, getPreferredSize, getSouthPane, getWestPane, iconifyFrame, installComponents, installDefaults, installMouseHandlers, isKeyBindingActive, isKeyBindingRegistered, maximizeFrame, minimizeFrame, replacePane, setEastPane, setKeyBindingActive, setKeyBindingRegistered, setNorthPane, setSouthPane, setupMenuCloseKey, setupMenuOpenKey, setWestPane, uninstallDefaults
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
protected static String IS_PALETTE
public MetalInternalFrameUI(JInternalFrame b)
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
ComponentUI
ComponentUI
インスタンスが、指定されたコンポーネントのUI委譲としてインストールされているときに呼び出されます。 このメソッドは、次を含むLook & Feel用のコンポーネントを完全に構成するべきです。
LayoutManager
をインストールする。
PropertyChangeListener
を作成してコンポーネントにインストールする。
installUI
、クラスBasicInternalFrameUI
c
- UI委譲がインストールされるコンポーネントComponentUI.uninstallUI(javax.swing.JComponent)
, JComponent.setUI(javax.swing.plaf.ComponentUI)
, JComponent.updateUI()
public void uninstallUI(JComponent c)
ComponentUI
installUI
時に、指定されたコンポーネントに対して行われた構成を取り消します。 このメソッドは、このUIComponent
インスタンスが、指定されたコンポーネントのUI委譲として削除されているときに呼び出されます。 このメソッドは、installUI
によって実行された構成を元に戻すべきです。この場合、JComponent
インスタンスをクリーンな状態(余分なリスナーや、Look & Feel固有のプロパティ・オブジェクトが残らないように)にするよう十分注意してください。 手順には次のものが含まれるべきです。
uninstallUI
、クラスBasicInternalFrameUI
c
- このUI委譲が削除されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.installUI(javax.swing.JComponent)
, JComponent.updateUI()
protected void installListeners()
installListeners
、クラスBasicInternalFrameUI
protected void uninstallListeners()
uninstallListeners
、クラスBasicInternalFrameUI
protected void installKeyboardActions()
installKeyboardActions
、クラスBasicInternalFrameUI
protected void uninstallKeyboardActions()
uninstallKeyboardActions
、クラスBasicInternalFrameUI
protected void uninstallComponents()
uninstallComponents
、クラスBasicInternalFrameUI
protected JComponent createNorthPane(JInternalFrame w)
createNorthPane
、クラスBasicInternalFrameUI
public void setPalette(boolean isPalette)
protected MouseInputAdapter createBorderListener(JInternalFrame w)
MouseInputAdapter
を返します。createBorderListener
、クラスBasicInternalFrameUI
w
- JInternalFrame
MouseInputAdapter
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。