javax.swing.border
Class EmptyBorder

javax.swing.border.EmptyBorder

public class EmptyBorder

Provides an empty, transparent border which takes up space but does no drawing.

CSS example:

emptyBorder {
    class : "javax.swing.border.EmptyBorder(top,left,bottom,right)";
    bottom : "2";
    left : "2";
    right : "2";
    top : "2";
}


Property Summary
 int bottom
          
The bottom of the empty border.
 java.lang.String class
          
Create an instance of EmptyBorder.
 int left
          
The left of the empty border.
 int right
          
The right of the empty border.
 int top
          
The top of the empty border.
 

Property Detail

class

public java.lang.String class

Create an instance of EmptyBorder.

CSS example:     class : "javax.swing.border.EmptyBorder(top,left,bottom,right)";


bottom

public int bottom

The bottom of the empty border.

CSS example:     bottom : "2";


left

public int left

The left of the empty border.

CSS example:     left : "2";


right

public int right

The right of the empty border.

CSS example:     right : "2";


top

public int top

The top of the empty border.

CSS example:     top : "2";



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.