Serializable
, Border
, UIResource
BorderUIResource
public static class BorderUIResource.BevelBorderUIResource extends BevelBorder implements UIResource
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
Constructor | Description |
---|---|
BevelBorderUIResource |
Constructs a BevelBorderUIResource . |
BevelBorderUIResource |
Constructs a BevelBorderUIResource . |
BevelBorderUIResource |
Constructs a BevelBorderUIResource . |
getBevelType, getBorderInsets, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque, paintBorder, paintLoweredBevel, paintRaisedBevel
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
public BevelBorderUIResource(int bevelType)
BevelBorderUIResource
.bevelType
- the type of bevel for the borderpublic BevelBorderUIResource(int bevelType, Color highlight, Color shadow)
BevelBorderUIResource
. The bevel outer highlight color and bevel inner highlight color will be derived from specified highlight color and bevel outer shadow color and bevel inner shadow color will be derived from specified shadow color.bevelType
- the type of bevel for the borderhighlight
- the color to use for the bevel highlightshadow
- the color to use for the bevel shadow@ConstructorProperties({"bevelType","highlightOuterColor","highlightInnerColor","shadowOuterColor","shadowInnerColor"}) public BevelBorderUIResource(int bevelType, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)
BevelBorderUIResource
.bevelType
- the type of bevel for the borderhighlightOuter
- the color to use for the bevel outer highlighthighlightInner
- the color to use for the bevel inner highlightshadowOuter
- the color to use for the bevel outer shadowshadowInner
- the color to use for the bevel inner 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.BevelBorderUIResource.html