Class BetweenRowsCell3DBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- com.tagtraum.beatunes.songtable.renderer.BetweenRowsCell3DBorder
-
- All Implemented Interfaces:
Serializable,Border
public class BetweenRowsCell3DBorder extends AbstractBorder
Table cell 3D border as used in iTunes 11, but effectively rendering cells in between rows.- Author:
- Hendrik Schreiber
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BetweenRowsCell3DBorder(Color background, Color connectBackgroundColor, boolean paintTop, boolean paintBottom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsetsgetBorderInsets(Component c)InsetsgetBorderInsets(Component c, Insets insets)Reinitialize the insets parameter with this Border's current Insets.voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
-
-
-
Method Detail
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
Reinitialize the insets parameter with this Border's current Insets.- Overrides:
getBorderInsetsin classAbstractBorder- Parameters:
c- the component for which this border insets value appliesinsets- the object to be reinitialized
-
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsetsin interfaceBorder- Overrides:
getBorderInsetsin classAbstractBorder
-
-