Package com.grapecity.documents.excel
Class CheckBoxCellType
java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.CheckBoxCellType
Represents a check box cell.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSets whether boxSize changes with font size.intGets a value that indicates the check box sizeGets the caption of the cell type.booleanGets a value that indicates whether the check box supports three states.Gets the text alignment relative to the check box.Gets the text in the cell when the cell's value is false.Gets the text in the cell when the cell's value is indeterminate (neither true nor false).Gets the text in the cell when the cell's value is true.voidsetAutoBoxSize(boolean value) Sets whether boxSize changes with font size.voidsetBoxSize(int value) Sets a value that indicates the check box sizevoidsetCaption(String value) Sets the caption of the cell type.voidsetIsThreeState(boolean value) Sets a value that indicates whether the check box supports three states.voidsetTextAlign(CheckBoxAlign value) Sets the text alignment relative to the check box.voidsetTextFalse(String value) Sets the text in the cell when the cell's value is false.voidsetTextIndeterminate(String value) Sets the text in the cell when the cell's value is indeterminate (neither true nor false).voidsetTextTrue(String value) Sets the text in the cell when the cell's value is true.
-
Constructor Details
-
CheckBoxCellType
public CheckBoxCellType()
-
-
Method Details
-
getCaption
Gets the caption of the cell type. -
setCaption
Sets the caption of the cell type. -
getTextTrue
Gets the text in the cell when the cell's value is true. -
setTextTrue
Sets the text in the cell when the cell's value is true. -
getTextFalse
Gets the text in the cell when the cell's value is false. -
setTextFalse
Sets the text in the cell when the cell's value is false. -
getTextIndeterminate
Gets the text in the cell when the cell's value is indeterminate (neither true nor false). -
setTextIndeterminate
Sets the text in the cell when the cell's value is indeterminate (neither true nor false). -
getTextAlign
Gets the text alignment relative to the check box. -
setTextAlign
Sets the text alignment relative to the check box. -
getIsThreeState
public boolean getIsThreeState()Gets a value that indicates whether the check box supports three states. -
setIsThreeState
public void setIsThreeState(boolean value) Sets a value that indicates whether the check box supports three states. -
getBoxSize
public int getBoxSize()Gets a value that indicates the check box size -
setBoxSize
public void setBoxSize(int value) Sets a value that indicates the check box size -
getAutoBoxSize
public boolean getAutoBoxSize()Sets whether boxSize changes with font size. -
setAutoBoxSize
public void setAutoBoxSize(boolean value) Sets whether boxSize changes with font size.
-