java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.InternalFrameUI
javax.swing.plaf.basic.BasicInternalFrameUI
javax.swing.plaf.metal.MetalInternalFrameUI
JInternalFrame的Metal实现。
-
Nested Class Summary
Nested classes/interfaces declared in class javax.swing.plaf.basic.BasicInternalFrameUI
BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener
-
Field Summary
Fields declared in class javax.swing.plaf.basic.BasicInternalFrameUI
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MouseInputAdapter
返回将安装在TitlePane上的MouseInputAdapter
。static ComponentUI
构造一个新的MetalInternalFrameUI
实例。void
setPalette
(boolean isPalette) 如果isPalette
为true
,则设置调色板边框和标题。Methods declared in class javax.swing.plaf.basic.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
Methods declared in class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
-
Field Details
-
IS_PALETTE
属性JInternalFrame.isPalette
。
-
-
Constructor Details
-
MetalInternalFrameUI
构造一个新的MetalInternalFrameUI
实例。- 参数:
-
b
- 一个内部窗体
-
-
Method Details
-
createUI
构造一个新的MetalInternalFrameUI
实例。- 参数:
-
c
- 一个组件 - 返回:
-
一个新的
MetalInternalFrameUI
实例
-
setPalette
public void setPalette(boolean isPalette) 如果isPalette
为true
,则设置调色板边框和标题。- 参数:
-
isPalette
- 如果为true
,则设置调色板边框和标题
-
createBorderListener
返回将安装在TitlePane上的MouseInputAdapter
。- 覆盖:
-
createBorderListener
在类BasicInternalFrameUI
- 参数:
-
w
-JInternalFrame
- 返回:
-
将安装在TitlePane上的
MouseInputAdapter
。 - 自1.6版本起:
- 1.6
-