- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.border.MatteBorder
-
- javax.swing.plaf.BorderUIResource.MatteBorderUIResource
-
- All Implemented Interfaces:
Serializable,Border,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.MatteBorderUIResource extends MatteBorder implements UIResource
A matte border UI resource.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields declared in class javax.swing.border.MatteBorder
color, tileIcon
-
Fields declared in class javax.swing.border.EmptyBorder
bottom, left, right, top
-
-
Constructor Summary
Constructors Constructor Description MatteBorderUIResource(int top, int left, int bottom, int right, Color color)Constructs aMatteBorderUIResource.MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)Constructs aMatteBorderUIResource.MatteBorderUIResource(Icon tileIcon)Constructs aMatteBorderUIResource.
-
Method Summary
-
Methods declared in class javax.swing.border.MatteBorder
getBorderInsets, getBorderInsets, getMatteColor, getTileIcon, isBorderOpaque, paintBorder
-
Methods declared in class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
Constructor Detail
-
MatteBorderUIResource
public MatteBorderUIResource(int top, int left, int bottom, int right, Color color)Constructs aMatteBorderUIResource.- Parameters:
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 border
-
MatteBorderUIResource
public MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)Constructs aMatteBorderUIResource.- Parameters:
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 border
-
MatteBorderUIResource
public MatteBorderUIResource(Icon tileIcon)
Constructs aMatteBorderUIResource.- Parameters:
tileIcon- the icon to be used for tiling the border
-
-