- 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 Metal implementation of JInternalFrame.
- 
- 
Nested Class Summary- 
Nested classes/interfaces declared in class javax.swing.plaf.basic.BasicInternalFrameUIBasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected static StringIS_PALETTEThe propertyJInternalFrame.isPalette.- 
Fields declared in class javax.swing.plaf.basic.BasicInternalFrameUIborderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane
 
- 
 - 
Constructor SummaryConstructors Constructor Description MetalInternalFrameUI(JInternalFrame b)Constructs a newMetalInternalFrameUIinstance.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MouseInputAdaptercreateBorderListener(JInternalFrame w)Returns theMouseInputAdapterthat will be installed on the TitlePane.static ComponentUIcreateUI(JComponent c)Constructs a newMetalInternalFrameUIinstance.voidsetPalette(boolean isPalette)IfisPaletteistrue, sets palette border and title- 
Methods declared in class javax.swing.plaf.basic.BasicInternalFrameUIactivateFrame, 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.ComponentUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
 
- 
 
- 
- 
- 
Field Detail- 
IS_PALETTEprotected static String IS_PALETTE The propertyJInternalFrame.isPalette.
 
- 
 - 
Constructor Detail- 
MetalInternalFrameUIpublic MetalInternalFrameUI(JInternalFrame b) Constructs a newMetalInternalFrameUIinstance.- Parameters:
- b- an internal frame
 
 
- 
 - 
Method Detail- 
createUIpublic static ComponentUI createUI(JComponent c) Constructs a newMetalInternalFrameUIinstance.- Parameters:
- c- a component
- Returns:
- a new MetalInternalFrameUIinstance
 
 - 
setPalettepublic void setPalette(boolean isPalette) IfisPaletteistrue, sets palette border and title- Parameters:
- isPalette- if- true, sets palette border and title
 
 - 
createBorderListenerprotected MouseInputAdapter createBorderListener(JInternalFrame w) Returns theMouseInputAdapterthat will be installed on the TitlePane.- Overrides:
- createBorderListenerin class- BasicInternalFrameUI
- Parameters:
- w- the- JInternalFrame
- Returns:
- the MouseInputAdapterthat will be installed on the TitlePane.
- Since:
- 1.6
 
 
- 
 
-