Spec-Zone.ru › OpenJDK 25

Class MetalInternalFrameUI

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 BasicInternalFrameUI

BasicInternalFrameUI.BasicInternalFrameListener, BasicInternalFrameUI.BorderListener, BasicInternalFrameUI.ComponentHandler, BasicInternalFrameUI.GlassPaneDispatcher, BasicInternalFrameUI.InternalFrameLayout, BasicInternalFrameUI.InternalFramePropertyChangeListener

Field Summary

Modifier and Type Field Description
protected static String IS_PALETTE
The property JInternalFrame.isPalette.

Fields declared in class BasicInternalFrameUI

borderListener, componentListener, eastPane, frame, glassPaneDispatcher, internalFrameLayout, northPane, openMenuKey, propertyChangeListener, southPane, titlePane, westPane

Constructor Summary

Constructor Description
MetalInternalFrameUI(JInternalFrame b)
Constructs a new MetalInternalFrameUI instance.

Method Summary

Modifier and Type Method Description
protected MouseInputAdapter createBorderListener(JInternalFrame w)
Returns the MouseInputAdapter that will be installed on the TitlePane.
static ComponentUI createUI(JComponent c)
Constructs a new MetalInternalFrameUI instance.
void setPalette(boolean isPalette)
If isPalette is true, sets palette border and title

Methods declared in class BasicInternalFrameUI

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

Methods declared in class ComponentUI

contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update

Methods declared in class Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

IS_PALETTE

protected static String IS_PALETTE
The property JInternalFrame.isPalette.

Constructor Details

MetalInternalFrameUI

public MetalInternalFrameUI(JInternalFrame b)
Constructs a new MetalInternalFrameUI instance.
Parameters:
b - an internal frame

Method Details

createUI

public static ComponentUI createUI(JComponent c)
Constructs a new MetalInternalFrameUI instance.
Parameters:
c - a component
Returns:
a new MetalInternalFrameUI instance

setPalette

public void setPalette(boolean isPalette)
If isPalette is true, sets palette border and title
Parameters:
isPalette - if true, sets palette border and title

createBorderListener

protected MouseInputAdapter createBorderListener(JInternalFrame w)
Returns the MouseInputAdapter that will be installed on the TitlePane.
Overrides:
createBorderListener in class BasicInternalFrameUI
Parameters:
w - the JInternalFrame
Returns:
the MouseInputAdapter that will be installed on the TitlePane.
Since:
1.6

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

© 1993, 2025, 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/25/docs/api/java.desktop/javax/swing/plaf/metal/MetalInternalFrameUI.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API