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, uninstallDefaults
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update
protected 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)
BasicInternalFrameUI
installUI
in class BasicInternalFrameUI
c
- the componentComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent c)
BasicInternalFrameUI
uninstallUI
in class BasicInternalFrameUI
c
- the componentComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
protected void installListeners()
BasicInternalFrameUI
installListeners
in class BasicInternalFrameUI
protected void uninstallListeners()
BasicInternalFrameUI
uninstallListeners
in class BasicInternalFrameUI
protected void installKeyboardActions()
BasicInternalFrameUI
installKeyboardActions
in class BasicInternalFrameUI
protected void uninstallKeyboardActions()
BasicInternalFrameUI
uninstallKeyboardActions
in class BasicInternalFrameUI
protected void uninstallComponents()
BasicInternalFrameUI
uninstallComponents
in class BasicInternalFrameUI
protected JComponent createNorthPane(JInternalFrame w)
BasicInternalFrameUI
createNorthPane
in class BasicInternalFrameUI
w
- 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 BasicInternalFrameUI
w
- the JInternalFrame
MouseInputAdapter
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