[]
        
(Showing Draft Content)

CheckBoxCellType

Class CheckBoxCellType

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

public class CheckBoxCellType extends BaseCellType
Represents a check box cell.
  • Constructor Details

    • CheckBoxCellType

      public CheckBoxCellType()
      Create a check box cell type.
  • Method Details

    • getCaption

      public String getCaption()
      Gets the caption of the cell type.
      Returns:
      The caption of the checkbox.
    • setCaption

      public void setCaption(String value)
      Sets the caption of the cell type.
      Parameters:
      value - The caption of the check box.
    • getTextTrue

      public String getTextTrue()
      Gets the text in the cell when the cell's value is true.
      Returns:
      The text for true value.
    • setTextTrue

      public void setTextTrue(String value)
      Sets the text in the cell when the cell's value is true.
      Parameters:
      value - The text for true value.
    • getTextFalse

      public String getTextFalse()
      Gets the text in the cell when the cell's value is false.
      Returns:
      The text for false value.
    • setTextFalse

      public void setTextFalse(String value)
      Sets the text in the cell when the cell's value is false.
      Parameters:
      value - The text for false value.
    • getTextIndeterminate

      public String getTextIndeterminate()
      Gets the text in the cell when the cell's value is indeterminate (neither true nor false).
      Returns:
      The text for indeterminate value.
    • setTextIndeterminate

      public void setTextIndeterminate(String value)
      Sets the text in the cell when the cell's value is indeterminate (neither true nor false).
      Parameters:
      value - The text for indeterminate value.
    • getTextAlign

      public CheckBoxAlign getTextAlign()
      Gets the text alignment relative to the check box.
      Returns:
      The text alignment relative to the check box.
    • setTextAlign

      public void setTextAlign(CheckBoxAlign value)
      Sets the text alignment relative to the check box.
      Parameters:
      value - The text alignment relative to the check box.
    • getIsThreeState

      public boolean getIsThreeState()
      Gets a value that indicates whether the check box supports three states.
      Returns:
      True if the check box supports three states, false otherwise.
    • setIsThreeState

      public void setIsThreeState(boolean value)
      Sets a value that indicates whether the check box supports three states.
      Parameters:
      value - True if the check box supports three states, false otherwise.
    • 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 check box size 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 check box size changes with font size.
      Parameters:
      value - True if the check box size changes with font size, false otherwise.