public final class Padding extends Object implements IsPadding
| Modifier and Type | Method and Description |
|---|---|
int |
getBottom()
Returns the padding bottom in pixel.
|
int |
getLeft()
Returns the padding left in pixel.
|
int |
getRight()
Returns the padding right in pixel.
|
int |
getTop()
Returns the padding top in pixel.
|
protected void |
resetCallback()
Invokes when any property of the padding is being set, in order to reset the
PaddingCallback if exists |
void |
setBottom(int padding)
Sets the padding bottom in pixel.
|
void |
setLeft(int padding)
Sets the padding left in pixel.
|
void |
setRight(int padding)
Sets the padding right in pixel.
|
void |
setTop(int padding)
Sets the padding top in pixel.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createpublic void setLeft(int padding)
public int getLeft()
getLeft in interface IsDefaultPaddingpublic void setRight(int padding)
public int getRight()
getRight in interface IsDefaultPaddingpublic void setTop(int padding)
public int getTop()
getTop in interface IsDefaultPaddingpublic void setBottom(int padding)
public int getBottom()
getBottom in interface IsDefaultPaddingprotected void resetCallback()
PaddingCallback if exists