Class MetalInternalFrameUI
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 inherited from class javax.swing.plaf.basic.BasicInternalFrameUI
BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener -
Field Summary
FieldsFields inherited from class javax.swing.plaf.basic.BasicInternalFrameUI
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newMetalInternalFrameUIinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected MouseInputAdapterReturns theMouseInputAdapterthat will be installed on the TitlePane.protected JComponentCreates the north pane.static ComponentUIConstructs a newMetalInternalFrameUIinstance.protected voidInstalls the keyboard actions.protected voidInstalls the listeners.voidInstalls the UI.voidsetPalette(boolean isPalette) IfisPaletteistrue, sets palette border and titleprotected voidUninstalls the components.protected voidUninstalls the keyboard actions.protected voidUninstalls the listeners.voidUninstalls the 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, uninstallDefaultsMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
-
Field Details
-
IS_PALETTE
The propertyJInternalFrame.isPalette.
-
-
Constructor Details
-
MetalInternalFrameUI
Constructs a newMetalInternalFrameUIinstance.- Parameters:
b- an internal frame
-
-
Method Details
-
createUI
Constructs a newMetalInternalFrameUIinstance.- Parameters:
c- a component- Returns:
- a new
MetalInternalFrameUIinstance
-
installUI
Description copied from class:BasicInternalFrameUIInstalls the UI.- Overrides:
installUIin classBasicInternalFrameUI- Parameters:
c- the component- See Also:
-
uninstallUI
Description copied from class:BasicInternalFrameUIUninstalls the UI.- Overrides:
uninstallUIin classBasicInternalFrameUI- Parameters:
c- the component- See Also:
-
installListeners
protected void installListeners()Description copied from class:BasicInternalFrameUIInstalls the listeners.- Overrides:
installListenersin classBasicInternalFrameUI
-
uninstallListeners
protected void uninstallListeners()Description copied from class:BasicInternalFrameUIUninstalls the listeners.- Overrides:
uninstallListenersin classBasicInternalFrameUI
-
installKeyboardActions
protected void installKeyboardActions()Description copied from class:BasicInternalFrameUIInstalls the keyboard actions.- Overrides:
installKeyboardActionsin classBasicInternalFrameUI
-
uninstallKeyboardActions
protected void uninstallKeyboardActions()Description copied from class:BasicInternalFrameUIUninstalls the keyboard actions.- Overrides:
uninstallKeyboardActionsin classBasicInternalFrameUI
-
uninstallComponents
protected void uninstallComponents()Description copied from class:BasicInternalFrameUIUninstalls the components.- Overrides:
uninstallComponentsin classBasicInternalFrameUI
-
createNorthPane
Description copied from class:BasicInternalFrameUICreates the north pane.- Overrides:
createNorthPanein classBasicInternalFrameUI- Parameters:
w- the internal frame- Returns:
- the north pane
-
setPalette
public void setPalette(boolean isPalette) IfisPaletteistrue, sets palette border and title- Parameters:
isPalette- iftrue, sets palette border and title
-
createBorderListener
Returns theMouseInputAdapterthat will be installed on the TitlePane.- Overrides:
createBorderListenerin classBasicInternalFrameUI- Parameters:
w- theJInternalFrame- Returns:
- the
MouseInputAdapterthat will be installed on the TitlePane. - Since:
- 1.6
-