charvax.swing.border

Class CompoundBorder

Implemented Interfaces:
Border

public class CompoundBorder
extends java.lang.Object
implements Border

Constructor Summary

CompoundBorder(Border outsideBorder_, Border insideBorder_)

Method Summary

Insets
getBorderInsets(Component component_)
Returns the insets of the compound 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.

Constructor Details

CompoundBorder

public CompoundBorder(Border outsideBorder_,
                      Border insideBorder_)

Method Details

getBorderInsets

public Insets getBorderInsets(Component component_)
Returns the insets of the compound border.
Specified by:
getBorderInsets in interface 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. (acually the component_ parameter is unused but is here for compatibility with Swing).
Specified by:
paintBorder in interface Border