public static class

MetalBorders.TableHeaderBorder

extends AbstractBorder
java.lang.Object
   ↳ javax.swing.border.AbstractBorder
     ↳ javax.swing.plaf.metal.MetalBorders.TableHeaderBorder

Class Overview

Border for a Table Header

Summary

Fields
protected Insets editorBorderInsets
Public Constructors
MetalBorders.TableHeaderBorder()
Public Methods
Insets getBorderInsets(Component c)
This default implementation returns a new Insets instance where the top, left, bottom, and right fields are set to 0.
void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
This default implementation does no painting.
[Expand]
Inherited Methods
From class javax.swing.border.AbstractBorder
From class java.lang.Object
From interface javax.swing.border.Border

Fields

protected Insets editorBorderInsets

Public Constructors

public MetalBorders.TableHeaderBorder ()

Public Methods

public Insets getBorderInsets (Component c)

This default implementation returns a new Insets instance where the top, left, bottom, and right fields are set to 0.

Parameters
c the component for which this border insets value applies
Returns
  • the new Insets object initialized to 0

public void paintBorder (Component c, Graphics g, int x, int y, int w, int h)

This default implementation does no painting.

Parameters
c the component for which this border is being painted
g the paint graphics
x the x position of the painted border
y the y position of the painted border
w the width of the painted border
h the height of the painted border