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 Insets
getBorderInsets(Component c)
Insets
getBorderInsets(Component c, Insets insets)
Reinitialize the insets parameter with this Border's current Insets.void
paintBorder(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:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
Reinitialize the insets parameter with this Border's current Insets.- Overrides:
getBorderInsets
in 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:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
-