Spec-Zone.ru › OpenJDK 25

Class 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
Рамка с заголовком, являющаяся ресурсом UI.

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

Поля, объявленные в классе 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.

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

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

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

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

getBorderInsets, getInteriorRectangle, getInteriorRectangle

Методы, объявленные в классе 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 — цвет заголовка

Сообщить об ошибке или предложить улучшение
Дополнительные справочные материалы по API и документацию для разработчиков см. в документации Java SE, содержащей более подробные описания для разработчиков, обзор концепций, определения терминов, обходные решения и рабочие примеры кода. Другие версии.
Java является товарным знаком или зарегистрированным товарным знаком Oracle и/или ее аффилированных лиц в США и других странах.
Авторские права © 1993, 2025, Oracle и/или ее аффилированные лица, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
Все права защищены. Использование регулируется условиями лицензии и политикой распространения документации.

© 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/BorderUIResource.TitledBorderUIResource.html

Spec-Zone.ru

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