Spec-Zone.ru › OpenJDK 21

Класс BorderUIResource.LineBorderUIResource

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

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

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

lineColor, roundedCorners, thickness

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

Конструктор Описание
LineBorderUIResource(Color color)
Создает границу в виде LineBorderUIResource.
LineBorderUIResource(Color color, int thickness)
Создает границу в виде LineBorderUIResource.

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

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

createBlackLineBorder, createGrayLineBorder, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder

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

getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle

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

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

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

LineBorderUIResource

public LineBorderUIResource(Color color)
Создает границу в виде LineBorderUIResource.
Параметры:
color - цвет границы

LineBorderUIResource

@ConstructorProperties({"lineColor","thickness"}) public LineBorderUIResource(Color color, int thickness)
Создает границу в виде LineBorderUIResource.
Параметры:
color - цвет границы
thickness - толщина границы

© 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.LineBorderUIResource.html

Spec-Zone.ru

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