public static class MetalBorders.TableHeaderBorder extends javax.swing.border.AbstractBorder
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Insets |
editorBorderInsets
The insets of this border.
|
| Constructor and Description |
|---|
MetalBorders.TableHeaderBorder()
Creates a new instance of
TableHeaderBorder. |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Return the insets of this border.
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
protected java.awt.Insets editorBorderInsets
public MetalBorders.TableHeaderBorder()
TableHeaderBorder.public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.BordergetBorderInsets in class javax.swing.border.AbstractBorderc - the component that the border applies to (ignored here,
subclasses may use it).AbstractBorder.getBorderInsets(java.awt.Component, java.awt.Insets)public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
paintBorder in interface javax.swing.border.BorderpaintBorder in class javax.swing.border.AbstractBorderc - the component for which to paint the borderg - the graphics context to usex - the x cooridinate of the border rectangley - the y cooridinate of the border rectanglew - the width of the border rectangleh - the height of the border rectangle