Spec-Zone.ru › OpenJDK 21

Класс 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, 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/BorderUIResource.TitledBorderUIResource.html

Spec-Zone.ru

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