com.sencha.gxt.core.client.util
Class Padding

java.lang.Object
  extended by com.sencha.gxt.core.client.util.Region
      extended by com.sencha.gxt.core.client.util.Padding

public class Padding
extends Region

Represents 4-side padding.


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 com.sencha.gxt.core.client.util.Region
getBottom, getLeft, getRight, getTop, setBottom, setLeft, setRight, setTop, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, 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


Copyright © 2012. All Rights Reserved.