public class MetalInternalFrameUI extends BasicInternalFrameUI
BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener| Modifier and Type | Field and Description |
|---|---|
protected static String |
IS_PALETTE
The property
JInternalFrame.isPalette. |
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane| Constructor and Description |
|---|
MetalInternalFrameUI(JInternalFrame b)
Constructs a new
MetalInternalFrameUI instance. |
| Modifier and Type | Method and Description |
|---|---|
protected MouseInputAdapter |
createBorderListener(JInternalFrame w)
Returns the
MouseInputAdapter that will be installed
on the TitlePane. |
protected JComponent |
createNorthPane(JInternalFrame w)
Creates the north pane.
|
static ComponentUI |
createUI(JComponent c)
Constructs a new
MetalInternalFrameUI instance. |
protected void |
installKeyboardActions()
Installs the keyboard actions.
|
protected void |
installListeners()
Installs the listeners.
|
void |
installUI(JComponent c)
Installs the UI.
|
void |
setPalette(boolean isPalette)
If
isPalette is true, sets palette border and title |
protected void |
uninstallComponents()
Uninstalls the components.
|
protected void |
uninstallKeyboardActions()
Uninstalls the keyboard actions.
|
protected void |
uninstallListeners()
Uninstalls the listeners.
|
void |
uninstallUI(JComponent c)
Uninstalls the UI.
|
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, uninstallDefaultscontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, updateprotected static String IS_PALETTE
JInternalFrame.isPalette.public MetalInternalFrameUI(JInternalFrame b)
MetalInternalFrameUI instance.b - an internal framepublic static ComponentUI createUI(JComponent c)
MetalInternalFrameUI instance.c - a componentMetalInternalFrameUI instancepublic void installUI(JComponent c)
BasicInternalFrameUIinstallUI in class BasicInternalFrameUIc - the componentComponentUI.uninstallUI(javax.swing.JComponent),
JComponent.setUI(javax.swing.plaf.ComponentUI),
JComponent.updateUI()public void uninstallUI(JComponent c)
BasicInternalFrameUIuninstallUI in class BasicInternalFrameUIc - the componentComponentUI.installUI(javax.swing.JComponent),
JComponent.updateUI()protected void installListeners()
BasicInternalFrameUIinstallListeners in class BasicInternalFrameUIprotected void uninstallListeners()
BasicInternalFrameUIuninstallListeners in class BasicInternalFrameUIprotected void installKeyboardActions()
BasicInternalFrameUIinstallKeyboardActions in class BasicInternalFrameUIprotected void uninstallKeyboardActions()
BasicInternalFrameUIuninstallKeyboardActions in class BasicInternalFrameUIprotected void uninstallComponents()
BasicInternalFrameUIuninstallComponents in class BasicInternalFrameUIprotected JComponent createNorthPane(JInternalFrame w)
BasicInternalFrameUIcreateNorthPane in class BasicInternalFrameUIw - the internal framepublic void setPalette(boolean isPalette)
isPalette is true, sets palette border and titleisPalette - if true, sets palette border and titleprotected MouseInputAdapter createBorderListener(JInternalFrame w)
MouseInputAdapter that will be installed
on the TitlePane.createBorderListener in class BasicInternalFrameUIw - the JInternalFrameMouseInputAdapter that will be installed
on the TitlePane. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait