org.pushingpixels.flamingo.internal.ui.ribbon
Class BasicRibbonBandUI.RoundBorder
java.lang.Object
org.pushingpixels.flamingo.internal.ui.ribbon.BasicRibbonBandUI.RoundBorder
- All Implemented Interfaces:
- Border
- Enclosing class:
- BasicRibbonBandUI
protected static class BasicRibbonBandUI.RoundBorder
- extends Object
- implements Border
Round border for the ribbon bands.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
color
protected Color color
- Border color.
insets
protected Insets insets
- Border insets.
BasicRibbonBandUI.RoundBorder
public BasicRibbonBandUI.RoundBorder(Color color,
Insets insets)
- Creates the new border.
- Parameters:
color
- Border color.insets
- Border insets.
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interface Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface Border
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder
in interface Border