Package com.grapecity.documents.excel
Class CellPadding
java.lang.Object
com.grapecity.documents.excel.CellPadding
- All Implemented Interfaces:
ICellPadding
Gets or sets the cell padding.
-
Constructor Summary
ConstructorsConstructorDescriptionCellPadding(int all) Assign the four properties of cellPadding with the same valueCellPadding(int top, int right, int bottom, int left) Assign different values to the four properties of cellPadding -
Method Summary
-
Constructor Details
-
CellPadding
public CellPadding(int all) Assign the four properties of cellPadding with the same value- Parameters:
all- The padding value for all sides.
-
CellPadding
public CellPadding(int top, int right, int bottom, int left) Assign different values to the four properties of cellPadding- Parameters:
top- The integer value representing the top padding.right- The integer value representing the right padding.bottom- The integer value representing the bottom padding.left- The integer value representing the left padding.
-
-
Method Details
-
getLeft
public int getLeft()get left cell padding.- Specified by:
getLeftin interfaceICellPadding- Returns:
- The left padding of the cell.
-
getRight
public int getRight()get right cell padding.- Specified by:
getRightin interfaceICellPadding- Returns:
- The right padding of the cell.
-
getTop
public int getTop()get top cell padding.- Specified by:
getTopin interfaceICellPadding- Returns:
- The top padding of the cell.
-
getBottom
public int getBottom()get bottom cell padding.- Specified by:
getBottomin interfaceICellPadding- Returns:
- The bottom padding of the cell.
-