- 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。
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicInternalFrameUI
BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener
-
-
Field Summary
Fields Modifier and Type Field 描述 protected static String
IS_PALETTE
物业JInternalFrame.isPalette
。-
Fields inherited from class javax.swing.plaf.basic.BasicInternalFrameUI
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane
-
-
构造方法摘要
构造方法 Constructor 描述 MetalInternalFrameUI(JInternalFrame b)
构造一个新的MetalInternalFrameUI
实例。
-
方法摘要
所有方法 静态方法 接口方法 具体的方法 Modifier and Type 方法 描述 protected MouseInputAdapter
createBorderListener(JInternalFrame w)
返回MouseInputAdapter
,将在TitlePane安装。protected JComponent
createNorthPane(JInternalFrame w)
创建北面的窗格。static ComponentUI
createUI(JComponent c)
构造一个新的MetalInternalFrameUI
实例。protected void
installKeyboardActions()
安装键盘操作。protected void
installListeners()
安装侦听器void
installUI(JComponent c)
安装UIvoid
setPalette(boolean isPalette)
如果isPalette
是true
,设置调色板边框和标题protected void
uninstallComponents()
卸载组件。protected void
uninstallKeyboardActions()
卸载键盘操作。protected void
uninstallListeners()
卸载侦听器。void
uninstallUI(JComponent c)
卸载UI。-
Methods inherited from class javax.swing.plaf.basic.BasicInternalFrameUI
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
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
-
-
-
-
字段详细信息
-
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
实例
-
installUI
public void installUI(JComponent c)
描述从类复制:BasicInternalFrameUI
安装UI
-
uninstallUI
public void uninstallUI(JComponent c)
描述从类复制:BasicInternalFrameUI
卸载UI。- 重写:
-
uninstallUI
在BasicInternalFrameUI
- 参数
-
c
- 组件 - 另请参见:
-
ComponentUI.installUI(javax.swing.JComponent)
,JComponent.updateUI()
-
installListeners
protected void installListeners()
说明从类别复制:BasicInternalFrameUI
安装侦听器
-
uninstallListeners
protected void uninstallListeners()
描述从类复制:BasicInternalFrameUI
卸载侦听器。
-
installKeyboardActions
protected void installKeyboardActions()
描述从类别复制:BasicInternalFrameUI
安装键盘操作。
-
uninstallKeyboardActions
protected void uninstallKeyboardActions()
描述从类复制:BasicInternalFrameUI
卸载键盘操作。
-
uninstallComponents
protected void uninstallComponents()
描述从类复制:BasicInternalFrameUI
卸载组件。
-
createNorthPane
protected JComponent createNorthPane(JInternalFrame w)
描述从类复制:BasicInternalFrameUI
创建北面的窗格。- 重写:
-
createNorthPane
在BasicInternalFrameUI
- 参数
-
w
- 内部框架 - 结果
- 北面
-
setPalette
public void setPalette(boolean isPalette)
如果isPalette
是true
,设置调色板边框和标题- 参数
-
isPalette
- 如果是true
,设置调色板边框和标题
-
createBorderListener
protected MouseInputAdapter createBorderListener(JInternalFrame w)
返回MouseInputAdapter
,将在TitlePane安装。- 重写:
-
createBorderListener
在BasicInternalFrameUI
- 参数
-
w
-JInternalFrame
- 结果
-
该
MouseInputAdapter
,将在TitlePane安装。 - 从以下版本开始:
- 1.6
-
-