java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.InternalFrameUI
javax.swing.plaf.basic.BasicInternalFrameUI
javax.swing.plaf.metal.MetalInternalFrameUI
Metal implementation of JInternalFrame.
-
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
ConstructorDescriptionConstructs a newMetalInternalFrameUI
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected MouseInputAdapter
Returns theMouseInputAdapter
that will be installed on the TitlePane.static ComponentUI
Constructs a newMetalInternalFrameUI
instance.void
setPalette
(boolean isPalette) IfisPalette
istrue
, sets palette border and titleMethods 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
The propertyJInternalFrame.isPalette
.
-
-
Constructor Details
-
MetalInternalFrameUI
Constructs a newMetalInternalFrameUI
instance.- Parameters:
b
- an internal frame
-
-
Method Details
-
createUI
Constructs a newMetalInternalFrameUI
instance.- Parameters:
c
- a component- Returns:
- a new
MetalInternalFrameUI
instance
-
setPalette
public void setPalette(boolean isPalette) IfisPalette
istrue
, sets palette border and title- Parameters:
isPalette
- iftrue
, sets palette border and title
-
createBorderListener
Returns theMouseInputAdapter
that will be installed on the TitlePane.- Overrides:
createBorderListener
in classBasicInternalFrameUI
- Parameters:
w
- theJInternalFrame
- Returns:
- the
MouseInputAdapter
that will be installed on the TitlePane. - Since:
- 1.6
-