Spec-Zone.ru › OpenJDK 17

Класс BorderUIResource.EtchedBorderUIResource

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

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

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

etchType, highlight, LOWERED, RAISED, shadow

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

Конструктор Описание
EtchedBorderUIResource()
Создаёт объект с границей "вытравливания".
EtchedBorderUIResource(int etchType)
Создаёт объект с границей "вытравливания".
EtchedBorderUIResource(int etchType, Color highlight, Color shadow)
Создаёт объект с границей "вытравливания".
EtchedBorderUIResource(Color highlight, Color shadow)
Создаёт объект с границей "вытравливания".

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

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

getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, 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

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

EtchedBorderUIResource

public EtchedBorderUIResource()
Создаёт объект с границей "вытравливания".

EtchedBorderUIResource

public EtchedBorderUIResource(int etchType)
Создаёт объект с границей "вытравливания".
Параметры:
etchType - тип границ вытравливания, который будет нарисован

EtchedBorderUIResource

public EtchedBorderUIResource(Color highlight, Color shadow)
Создаёт объект с границей "вытравливания".
Параметры:
highlight - цвет, используемый для выделения вытравленной границы
shadow - цвет, используемый для затемнения вытравленной границы

EtchedBorderUIResource

@ConstructorProperties({"etchType","highlightColor","shadowColor"}) public EtchedBorderUIResource(int etchType, Color highlight, Color shadow)
Создаёт объект с границей "вытравливания".
Параметры:
etchType - тип границ вытравливания, который будет нарисован
highlight - цвет, используемый для выделения вытравленной границы
shadow - цвет, используемый для затемнения вытравленной границы

© 1993, 2021, 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/17/docs/api/java.desktop/javax/swing/plaf/BorderUIResource.EtchedBorderUIResource.html

Spec-Zone.ru

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