public class BorderUIResource extends Objectimplements Border , UIResource , Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BorderUIResource
|
static class |
BorderUIResource
|
static class |
BorderUIResource
|
static class |
BorderUIResource
|
static class |
BorderUIResource
|
static class |
BorderUIResource
|
static class |
BorderUIResource
|
| Constructor and Description |
|---|
BorderUIResource(Border
Creates a UIResource border object which wraps an existing Border instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Border |
getBlackLineBorderUIResource()
|
Insets |
getBorderInsets(Component
Returns the insets of the border.
|
static Border |
getEtchedBorderUIResource()
|
static Border |
getLoweredBevelBorderUIResource()
|
static Border |
getRaisedBevelBorderUIResource()
|
boolean |
isBorderOpaque()
Returns whether or not the border is opaque.
|
void |
paintBorder(Component
Paints the border for the specified component with the specified position and size.
|
public BorderUIResource(Borderdelegate)
delegate - the border being wrapped
public static BordergetEtchedBorderUIResource()
public static BordergetLoweredBevelBorderUIResource()
public static BordergetRaisedBevelBorderUIResource()
public static BordergetBlackLineBorderUIResource()
public void paintBorder(Componentc, Graphics g, int x, int y, int width, int height)
Border
paintBorder in interface
Border
c - the component for which this border is being painted
g - the paint graphics
x - the x position of the painted border
y - the y position of the painted border
width - the width of the painted border
height - the height of the painted border
public InsetsgetBorderInsets(Component c)
Border
getBorderInsets in interface
Border
c - the component for which this border insets value applies
public boolean isBorderOpaque()
Border