Spec-Zone.ru › OpenJDK 24

Класс BorderUIResource.TitledBorderUIResource

java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.TitledBorder
javax.swing.plaf.BorderUIResource.TitledBorderUIResource
Все реализуемые интерфейсы:
Serializable, Border, UIResource
Вложенный класс:
BorderUIResource
public static class BorderUIResource.TitledBorderUIResource extends TitledBorder implements UIResource
Ресурс пользовательского интерфейса для рамки с заголовком.

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

Поля, объявленные в классе javax.swing.border.TitledBorder

ABOVE_BOTTOM, ABOVE_TOP, BELOW_BOTTOM, BELOW_TOP, border, BOTTOM, CENTER, DEFAULT_JUSTIFICATION, DEFAULT_POSITION, EDGE_SPACING, LEADING, LEFT, RIGHT, TEXT_INSET_H, TEXT_SPACING, title, titleColor, titleFont, titleJustification, titlePosition, TOP, TRAILING

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

Конструктор Описание
TitledBorderUIResource(String title)
Создаёт TitledBorderUIResource.
TitledBorderUIResource(Border border)
Создаёт TitledBorderUIResource.
TitledBorderUIResource(Border border, String title)
Создаёт TitledBorderUIResource.
TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)
Создаёт TitledBorderUIResource.
TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
Создаёт TitledBorderUIResource.
TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
Создаёт TitledBorderUIResource.

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

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

getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition

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

getBorderInsets, getInteriorRectangle, getInteriorRectangle

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

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

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

TitledBorderUIResource

public TitledBorderUIResource(String title)
Создаёт TitledBorderUIResource.
Параметры:
title - заголовок, который должна отображать рамка

TitledBorderUIResource

public TitledBorderUIResource(Border border)
Создаёт TitledBorderUIResource.
Параметры:
border - рамка

TitledBorderUIResource

public TitledBorderUIResource(Border border, String title)
Создаёт TitledBorderUIResource.
Параметры:
border - рамка
title - заголовок, который должна отображать рамка

TitledBorderUIResource

public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)
Создаёт TitledBorderUIResource.
Параметры:
border - рамка
title - заголовок, который должна отображать рамка
titleJustification - выравнивание заголовка
titlePosition - положение заголовка

TitledBorderUIResource

public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
Создаёт TitledBorderUIResource.
Параметры:
border - рамка
title - заголовок, который должна отображать рамка
titleJustification - выравнивание заголовка
titlePosition - положение заголовка
titleFont - шрифт для отображения заголовка

TitledBorderUIResource

@ConstructorProperties({"border","title","titleJustification","titlePosition","titleFont","titleColor"}) public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
Создаёт TitledBorderUIResource.
Параметры:
border - рамка
title - заголовок, который должна отображать рамка
titleJustification - выравнивание заголовка
titlePosition - положение заголовка
titleFont - шрифт для отображения заголовка
titleColor - цвет заголовка

© 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://download.java.net/java/early_access/jdk24/docs/api/java.desktop/javax/swing/plaf/BorderUIResource.TitledBorderUIResource.html

Spec-Zone.ru

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