Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gwtext.client.core
Class Paddings

    java.lang.Object
      com.gwtext.client.core.Paddings

    public class Paddings

extends java.lang.Object

Class that represents the Paddings around an element.

Constructor Summary
`Paddings(int top, int left, int right, int bottom)` Create a new instance.

Method Summary
`int` | `getBottom()`
`int` | `getLeft()`
`int` | `getRight()`
`java.lang.String` | `getStyleString()` Return the paddings as a CSS style string.
`int` | `getTop()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Paddings

    public Paddings(int top,
                    int left,
                    int right,
                    int bottom)

  Create a new instance.

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

Method Detail

### getTop

    public int getTop()

  Returns:
    the top padding

### getLeft

    public int getLeft()

  Returns:
    the left padding

### getRight

    public int getRight()

  Returns:
    the right padding

### getBottom

    public int getBottom()

  Returns:
    the bottom padding

### getStyleString

    public java.lang.String getStyleString()

  Return the paddings as a CSS style string.

  Returns:
    padding as style String

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD