Package com.grapecity.documents.excel
Class CellPadding
java.lang.Object
com.grapecity.documents.excel.CellPadding
- All Implemented Interfaces:
ICellPadding
获取或设置单元格边距。
-
Constructor Summary
ConstructorsConstructorDescriptionCellPadding(int all) 赋值单元格边距(cellPadding)的四个属性为相同的值CellPadding(int top, int right, int bottom, int left) 为cellPadding的四个属性分配不同的值 -
Method Summary
-
Constructor Details
-
CellPadding
public CellPadding(int all) 赋值单元格边距(cellPadding)的四个属性为相同的值- Parameters:
all- 所有边的填充值。
-
CellPadding
public CellPadding(int top, int right, int bottom, int left) 为cellPadding的四个属性分配不同的值- Parameters:
top- 顶部边距的整数值。right- 右侧边距的整数值。bottom- 底部边距的整数值。left- 左侧边距的整数值。
-
-
Method Details
-
getLeft
public int getLeft()获取左侧单元格内边距。- Specified by:
getLeftin interfaceICellPadding
-
getRight
public int getRight()获取右侧单元格内边距。- Specified by:
getRightin interfaceICellPadding
-
getTop
public int getTop()获取顶部单元格内边距。- Specified by:
getTopin interfaceICellPadding
-
getBottom
public int getBottom()获取底部单元格内边距。- Specified by:
getBottomin interfaceICellPadding
-