Package com.storedobject.chart
Class Padding
java.lang.Object
com.storedobject.chart.Padding
- All Implemented Interfaces:
ComponentProperty
Padding. Several
ComponentParts use this property to define padding around them.- Author:
- Syam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.voidsetGetPaddingBottom(int paddingBottom) Set bottom padding.voidsetGetPaddingLeft(int paddingLeft) Set left padding.voidsetPaddingRight(int paddingRight) Set right padding.voidsetPaddingTop(int paddingTop) Set top padding.
-
Constructor Details
-
Padding
public Padding()Constructor.
-
-
Method Details
-
setPaddingTop
public void setPaddingTop(int paddingTop) Set top padding.- Parameters:
paddingTop- Padding.
-
setPaddingRight
public void setPaddingRight(int paddingRight) Set right padding.- Parameters:
paddingRight- Padding.
-
setGetPaddingBottom
public void setGetPaddingBottom(int paddingBottom) Set bottom padding.- Parameters:
paddingBottom- Padding.
-
setGetPaddingLeft
public void setGetPaddingLeft(int paddingLeft) Set left padding.- Parameters:
paddingLeft- Padding.
-
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Parameters:
sb- Encoded JSON string to be appended to this.
-