Class TableCell3DBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- com.tagtraum.beatunes.songtable.renderer.TableCell3DBorder
-
- All Implemented Interfaces:
Serializable,Border
public class TableCell3DBorder extends AbstractBorder
Table cell 3D border as used in iTunes 11.- Author:
- Hendrik Schreiber
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BorderEMPTY_BORDER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bordercreate(Color background)Creates a border with the given background color.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
-
-
-
-
Field Detail
-
EMPTY_BORDER
public static final Border EMPTY_BORDER
-
-
Method Detail
-
create
public static Border create(Color background)
Creates a border with the given background color.- Parameters:
background- color- Returns:
- border
-
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
-
-