Class DefaultPadding
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultPadding
-
- All Implemented Interfaces:
IsDefaultPadding
public final class DefaultPadding extends Object implements IsDefaultPadding
CHART.JS default values for PADDING element.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description DefaultPadding(int padding)
Creates the object with default padding.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPadding
create, create
-
-
-
-
Method Detail
-
getLeft
public int getLeft()
Description copied from interface:IsDefaultPadding
Returns the padding left in pixel.- Specified by:
getLeft
in interfaceIsDefaultPadding
- Returns:
- the padding left in pixel.
-
getRight
public int getRight()
Description copied from interface:IsDefaultPadding
Returns the padding right in pixel.- Specified by:
getRight
in interfaceIsDefaultPadding
- Returns:
- the padding right in pixel.
-
getTop
public int getTop()
Description copied from interface:IsDefaultPadding
Returns the padding top in pixel.- Specified by:
getTop
in interfaceIsDefaultPadding
- Returns:
- the padding top in pixel.
-
getBottom
public int getBottom()
Description copied from interface:IsDefaultPadding
Returns the padding bottom in pixel.- Specified by:
getBottom
in interfaceIsDefaultPadding
- Returns:
- the padding bottom in pixel.
-
-