charvax.swing.border

Interface Border

Known Implementing Classes:
CompoundBorder, EmptyBorder, LineBorder, TitledBorder

public interface Border

Interface describing an object capable of rendering a border around the edges of a component.

Method Summary

Insets
getBorderInsets(Component component_)
Returns the insets of the border.
void
paintBorder(Component component_, int colorpair_, int x_, int y_, int width_, int height_)
Paints the border for the specified component with the specified position and size.

Method Details

getBorderInsets

public Insets getBorderInsets(Component component_)
Returns the insets of the border.

paintBorder

public void paintBorder(Component component_,
                        int colorpair_,
                        int x_,
                        int y_,
                        int width_,
                        int height_)
Paints the border for the specified component with the specified position and size.