[]
        
(Showing Draft Content)

CheckBoxListCellType

Class CheckBoxListCellType

java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.CheckBoxListCellType

public class CheckBoxListCellType extends BaseCellType
Represents a check-box-list cell type.
  • Constructor Details

    • CheckBoxListCellType

      public CheckBoxListCellType()
      Create a check-box-list cell type.
  • Method Details

    • getItems

      public ArrayList<SelectFieldItem> getItems()
      Gets the items for the check-box-list list.
      Returns:
      The list of check-box-list item.
    • getDirection

      public CellTypeDirection getDirection()
      Gets the direction of the check-box-list.
      Returns:
      The direction in which the check-box-list are arranged, such as horizontal or vertical.
    • setDirection

      public void setDirection(CellTypeDirection direction)
      Sets the direction of the check-box-list.
      Parameters:
      direction - The direction in which the check-box-list items are arranged.
    • getIsFlowLayout

      public boolean getIsFlowLayout()
      Gets the check-box-list's layout is autofit.
      Returns:
      True if the check-box-list's layout is autofit, false otherwise.
    • setIsFlowLayout

      public void setIsFlowLayout(boolean isFlowLayout)
      Sets the check-box-list's layout is autofit.
      Parameters:
      isFlowLayout - True if the check-box-list's layout is autofit, false otherwise.
    • getTextAlign

      public CellTypeTextAlign getTextAlign()
      Gets the text of check-box-list's alignment, only support left and right.
      Returns:
      The text alignment of the check-box-list, such as left or right.
    • setTextAlign

      public void setTextAlign(CellTypeTextAlign textAlign)
      Sets the text of check-box-list's alignment, only support left and right.
      Parameters:
      textAlign - The text alignment of the check-box-list.
    • setMaxRowCount

      public void setMaxRowCount(int maxRowCount)
      Sets the items for the check-box-list's row count.
      Parameters:
      maxRowCount - The maximum number of rows for the check-box-list.
    • getMaxRowCount

      public int getMaxRowCount()
      Gets the items for the check-box-list's row count.
      Returns:
      The maximum number of rows for the check-box-list.
    • setMaxColumnCount

      public void setMaxColumnCount(int maxColumnCount)
      Sets the items for the check-box-list's column count.
      Parameters:
      maxColumnCount - The maximum number of columns for the check-box-list.
    • getMaxColumnCount

      public int getMaxColumnCount()
      Gets the items for the check-box-list's column count.
      Returns:
      The maximum number of columns for the check-box-list.
    • setHorizontalSpacing

      public void setHorizontalSpacing(int horizontalSpacing)
      Sets the horizontal spacing in the check-box-list.
      Parameters:
      horizontalSpacing - The horizontal spacing between check-box-list items.
    • getHorizontalSpacing

      public int getHorizontalSpacing()
      Gets the horizontal spacing in the check-box-list.
      Returns:
      The horizontal spacing in the check-box-list.
    • setVerticalSpacing

      public void setVerticalSpacing(int verticalSpacing)
      Sets the vertical spacing in the check-box-list.
      Parameters:
      verticalSpacing - The vertical spacing between check-box-list items.
    • getVerticalSpacing

      public int getVerticalSpacing()
      Gets the vertical spacing in the check-box-list.
      Returns:
      The vertical spacing in the check-box-list.
    • getBoxSize

      public int getBoxSize()
      Gets a value that indicates the check box size.
      Returns:
      The size of the check box.
    • setBoxSize

      public void setBoxSize(int value)
      Sets a value that indicates the check box size.
      Parameters:
      value - The size of the check box.
    • getAutoBoxSize

      public boolean getAutoBoxSize()
      Gets whether boxSize changes with font size.
      Returns:
      True if the check box size changes with font size, false otherwise.
    • setAutoBoxSize

      public void setAutoBoxSize(boolean value)
      Sets whether boxSize changes with font size.
      Parameters:
      value - True if the check box size changes with font size, false otherwise.