类 CheckBoxCellType
java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.CheckBoxCellType
Represents a check box cell.
-
构造器概要
-
方法概要
修饰符和类型方法说明boolean
Sets whether boxSize changes with font size.int
Gets a value that indicates the check box sizeGets the caption of the cell type.boolean
Gets 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.void
setAutoBoxSize
(boolean value) Sets whether boxSize changes with font size.void
setBoxSize
(int value) Sets a value that indicates the check box sizevoid
setCaption
(String value) Sets the caption of the cell type.void
setIsThreeState
(boolean value) Sets a value that indicates whether the check box supports three states.void
setTextAlign
(CheckBoxAlign value) Sets the text alignment relative to the check box.void
setTextFalse
(String value) Sets the text in the cell when the cell's value is false.void
setTextIndeterminate
(String value) Sets the text in the cell when the cell's value is indeterminate (neither true nor false).void
setTextTrue
(String value) Sets the text in the cell when the cell's value is true.
-
构造器详细资料
-
CheckBoxCellType
public CheckBoxCellType()
-
-
方法详细资料
-
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.
-