com.extjs.gxt.ui.client.util
Class Padding

java.lang.Object
  extended by com.extjs.gxt.ui.client.util.Region
      extended by com.extjs.gxt.ui.client.util.Padding

public class Padding
extends Region

Represents 4-side padding.


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.util.Region
bottom, left, right, top
 
Constructor Summary
Padding()
          Creates a new padding instance with 0 values for all sides.
Padding(int padding)
          Creates a new padding instance.
Padding(int top, int right, int bottom, int left)
          Creates a new padding instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Padding

public Padding()
Creates a new padding instance with 0 values for all sides.


Padding

public Padding(int padding)
Creates a new padding instance.

Parameters:
padding - the padding value for all 4 sides.

Padding

public Padding(int top,
               int right,
               int bottom,
               int left)
Creates a new padding instance.

Parameters:
top - the top padding
right - the right padding
bottom - the bottom padding
left - the left padding