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, uninstallDefaultscontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, updateprotected static String IS_PALETTE
public MetalInternalFrameUI(JInternalFrame b)
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
ComponentUIComponentUIインスタンスが、指定されたコンポーネントのUI委譲としてインストールされているときに呼び出されます。 このメソッドは、次を含むLook & Feel用のコンポーネントを完全に構成するべきです。
LayoutManagerをインストールする。
PropertyChangeListenerを作成してコンポーネントにインストールする。
installUI、クラスBasicInternalFrameUIc - UI委譲がインストールされるコンポーネントComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()public void uninstallUI(JComponent c)
ComponentUIinstallUI時に、指定されたコンポーネントに対して行われた構成を取り消します。 このメソッドは、このUIComponentインスタンスが、指定されたコンポーネントのUI委譲として削除されているときに呼び出されます。 このメソッドは、installUIによって実行された構成を元に戻すべきです。この場合、JComponentインスタンスをクリーンな状態(余分なリスナーや、Look & Feel固有のプロパティ・オブジェクトが残らないように)にするよう十分注意してください。 手順には次のものが含まれるべきです。
uninstallUI、クラスBasicInternalFrameUIc - このUI委譲が削除されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()protected void installListeners()
installListeners、クラスBasicInternalFrameUIprotected void uninstallListeners()
uninstallListeners、クラスBasicInternalFrameUIprotected void installKeyboardActions()
installKeyboardActions、クラスBasicInternalFrameUIprotected void uninstallKeyboardActions()
uninstallKeyboardActions、クラスBasicInternalFrameUIprotected void uninstallComponents()
uninstallComponents、クラスBasicInternalFrameUIprotected JComponent createNorthPane(JInternalFrame w)
createNorthPane、クラスBasicInternalFrameUIpublic void setPalette(boolean isPalette)
protected MouseInputAdapter createBorderListener(JInternalFrame w)
MouseInputAdapterを返します。createBorderListener、クラスBasicInternalFrameUIw - JInternalFrameMouseInputAdapter バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。