Spec-Zone.ru › OpenJDK 21

Класс 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
Реализация JInternalFrame в стиле Metal.

Краткое описание вложенных классов

Вложенные классы/интерфейсы, объявленные в классе javax.swing.plaf.basic.BasicInternalFrameUI

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

Краткое описание полей

Модификатор и тип Поле Описание
protected static String IS_PALETTE
Свойство JInternalFrame.isPalette.

Поля, объявленные в классе javax.swing.plaf.basic.BasicInternalFrameUI

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

Краткое описание конструкторов

Конструктор Описание
MetalInternalFrameUI(JInternalFrame b)
Создаёт новый экземпляр MetalInternalFrameUI.

Краткое описание методов

Модификатор и тип Метод Описание
protected MouseInputAdapter createBorderListener(JInternalFrame w)
Возвращает MouseInputAdapter, который будет установлен на TitlePane.
static ComponentUI createUI(JComponent c)
Создаёт новый экземпляр MetalInternalFrameUI.
void setPalette(boolean isPalette)
Если isPalette равно true, устанавливает рамку палитры и заголовок

Методы, объявленные в классе javax.swing.plaf.basic.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

Методы, объявленные в классе javax.swing.plaf.ComponentUI

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

Методы, объявленные в классе java.lang.Object

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

Подробное описание полей

IS_PALETTE

protected static String IS_PALETTE
Свойство JInternalFrame.isPalette.

Подробное описание конструкторов

MetalInternalFrameUI

public MetalInternalFrameUI(JInternalFrame b)
Создаёт новый экземпляр MetalInternalFrameUI.
Параметры:
b - фрейм с внутренним содержанием

Подробное описание методов

createUI

public static ComponentUI createUI(JComponent c)
Создаёт новый экземпляр MetalInternalFrameUI.
Параметры:
c - компонент
Возвращает:
новый экземпляр MetalInternalFrameUI

setPalette

public void setPalette(boolean isPalette)
Если isPalette равно true, устанавливает рамку палитры и заголовок
Параметры:
isPalette - если true, устанавливает рамку палитры и заголовок

createBorderListener

protected MouseInputAdapter createBorderListener(JInternalFrame w)
Возвращает MouseInputAdapter, который будет установлен на TitlePane.
Переопределяет:
createBorderListener в классе BasicInternalFrameUI
Параметры:
w - JInternalFrame
Возвращает:
MouseInputAdapter, который будет установлен на TitlePane.
С тех пор как:
1.6

© 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

Spec-Zone.ru

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