charvax.swing.border

Class EmptyBorder

Implemented Interfaces:
Border

public class EmptyBorder
extends java.lang.Object
implements Border

Constructor Summary

EmptyBorder(Insets insets_)
EmptyBorder(int top_, int left_, int bottom_, int right_)

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.

Constructor Details

EmptyBorder

public EmptyBorder(Insets insets_)

EmptyBorder

public EmptyBorder(int top_,
                   int left_,
                   int bottom_,
                   int right_)

Method Details

getBorderInsets

public Insets getBorderInsets(Component component_)
Returns the insets of the 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.
Specified by:
paintBorder in interface Border