public class MetalInternalFrameUI extends BasicInternalFrameUI
BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener
Modifier and Type | Field | Description |
---|---|---|
protected static String |
IS_PALETTE |
The property JInternalFrame.isPalette . |
borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane
Constructor | Description |
---|---|
MetalInternalFrameUI |
Constructs a new MetalInternalFrameUI instance. |
Modifier and Type | Method | Description |
---|---|---|
protected MouseInputAdapter |
createBorderListener |
Returns the MouseInputAdapter that will be installed on the TitlePane. |
static ComponentUI |
createUI |
Constructs a new MetalInternalFrameUI instance. |
void |
setPalette |
If isPalette is true , sets palette border and title |
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
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 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.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/metal/MetalInternalFrameUI.html