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 intgetBottom()Returns the padding bottom in pixel.intgetLeft()Returns the padding left in pixel.intgetRight()Returns the padding right in pixel.intgetTop()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:IsDefaultPaddingReturns the padding left in pixel.- Specified by:
getLeftin interfaceIsDefaultPadding- Returns:
- the padding left in pixel.
-
getRight
public int getRight()
Description copied from interface:IsDefaultPaddingReturns the padding right in pixel.- Specified by:
getRightin interfaceIsDefaultPadding- Returns:
- the padding right in pixel.
-
getTop
public int getTop()
Description copied from interface:IsDefaultPaddingReturns the padding top in pixel.- Specified by:
getTopin interfaceIsDefaultPadding- Returns:
- the padding top in pixel.
-
getBottom
public int getBottom()
Description copied from interface:IsDefaultPaddingReturns the padding bottom in pixel.- Specified by:
getBottomin interfaceIsDefaultPadding- Returns:
- the padding bottom in pixel.
-
-