public final class Padding extends AbstractItem
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.
|
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.
|
checkAndAddToParent, hasProperty
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
public void setLeft(int padding)
padding
- the padding left in pixel.public int getLeft()
public void setRight(int padding)
padding
- the padding right in pixel.public int getRight()
public void setTop(int padding)
padding
- the padding top in pixel.public int getTop()
public void setBottom(int padding)
padding
- the padding bottom in pixel.public int getBottom()