charvax.swing.border
Class EmptyBorder

java.lang.Object
  extended bycharvax.swing.border.EmptyBorder
All 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyBorder

public EmptyBorder(Insets insets_)

EmptyBorder

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

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