Класс 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
Ресурс пользовательского интерфейса для рисованой рамки.
Краткое описание полей
Краткое описание конструкторов
| Конструктор | Описание |
|---|---|
EtchedBorderUIResource() |
Создаёт EtchedBorderUIResource. |
EtchedBorderUIResource |
Создаёт EtchedBorderUIResource. |
EtchedBorderUIResource |
Создаёт EtchedBorderUIResource. |
EtchedBorderUIResource |
Создаёт EtchedBorderUIResource. |
Краткое описание методов
Методы, объявленные в классе javax.swing.border.EtchedBorder
getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque, paintBorder
Методы, объявленные в классе javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
Подробное описание конструкторов
EtchedBorderUIResource
public EtchedBorderUIResource()
Создаёт
EtchedBorderUIResource. EtchedBorderUIResource
public EtchedBorderUIResource(int etchType)
Создаёт
EtchedBorderUIResource. - Параметры:
-
etchType- тип рисованой рамки
EtchedBorderUIResource
public EtchedBorderUIResource(Color highlight, Color shadow)
Создаёт
EtchedBorderUIResource. - Параметры:
-
highlight- цвет для выделения -
shadow- цвет для затенения
EtchedBorderUIResource
@ConstructorProperties({"etchType","highlightColor","shadowColor"}) public EtchedBorderUIResource(int etchType, Color highlight, Color shadow) Создаёт
EtchedBorderUIResource. - Параметры:
-
etchType- тип рисованой рамки -
highlight- цвет для выделения -
shadow- цвет для затенения
© 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.EtchedBorderUIResource.html