Serializable
, Border
, UIResource
BorderUIResource
public static class BorderUIResource.MatteBorderUIResource extends MatteBorder implements UIResource
color, tileIcon
bottom, left, right, top
Constructor | Description |
---|---|
MatteBorderUIResource |
Constructs a MatteBorderUIResource . |
MatteBorderUIResource |
Constructs a MatteBorderUIResource . |
MatteBorderUIResource |
Constructs a MatteBorderUIResource . |
getBorderInsets, getBorderInsets, getMatteColor, getTileIcon, isBorderOpaque, paintBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
public MatteBorderUIResource(int top, int left, int bottom, int right, Color color)
MatteBorderUIResource
.top
- the top inset of the borderleft
- the left inset of the borderbottom
- the bottom inset of the borderright
- the right inset of the bordercolor
- the color rendered for the borderpublic MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)
MatteBorderUIResource
.top
- the top inset of the borderleft
- the left inset of the borderbottom
- the bottom inset of the borderright
- the right inset of the bordertileIcon
- the icon to be used for tiling the borderpublic MatteBorderUIResource(Icon tileIcon)
MatteBorderUIResource
.tileIcon
- the icon to be used for tiling the border
© 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.MatteBorderUIResource.html