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