public final class DefaultPadding extends Object implements IsDefaultPadding
Constructor and Description |
---|
DefaultPadding(int padding)
Creates the object with default padding.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create
public DefaultPadding(int padding)
padding
- the default paddingpublic int getLeft()
IsDefaultPadding
getLeft
in interface IsDefaultPadding
public int getRight()
IsDefaultPadding
getRight
in interface IsDefaultPadding
public int getTop()
IsDefaultPadding
getTop
in interface IsDefaultPadding
public int getBottom()
IsDefaultPadding
getBottom
in interface IsDefaultPadding