Class CellPadding

java.lang.Object
com.grapecity.documents.excel.CellPadding
All Implemented Interfaces:
ICellPadding

public class CellPadding extends Object implements ICellPadding
Gets or sets the cell padding.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CellPadding(int all)
    Assign the four properties of cellPadding with the same value
    CellPadding(int top, int right, int bottom, int left)
    Assign different values to the four properties of cellPadding
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    get bottom cell padding.
    int
    get left cell padding.
    int
    get right cell padding.
    int
    get top cell padding.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CellPadding

      public CellPadding(int all)
      Assign the four properties of cellPadding with the same value
      Parameters:
      all -
    • CellPadding

      public CellPadding(int top, int right, int bottom, int left)
      Assign different values to the four properties of cellPadding
      Parameters:
      top -
      right -
      bottom -
      left -
  • Method Details

    • getLeft

      public int getLeft()
      get left cell padding.
      Specified by:
      getLeft in interface ICellPadding
    • getRight

      public int getRight()
      get right cell padding.
      Specified by:
      getRight in interface ICellPadding
    • getTop

      public int getTop()
      get top cell padding.
      Specified by:
      getTop in interface ICellPadding
    • getBottom

      public int getBottom()
      get bottom cell padding.
      Specified by:
      getBottom in interface ICellPadding