Border
protected static class BasicRibbonBandUI.RoundBorder extends Object implements Border
Modifier and Type | Field | Description |
---|---|---|
protected Color |
color |
Border color.
|
protected Insets |
insets |
Border insets.
|
Constructor | Description |
---|---|
RoundBorder(Color color,
Insets insets) |
Creates the new border.
|
Modifier and Type | Method | Description |
---|---|---|
Insets |
getBorderInsets(Component c) |
|
boolean |
isBorderOpaque() |
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
protected Color color
protected Insets insets
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
public boolean isBorderOpaque()
isBorderOpaque
in interface Border
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border