Class CheckBoxCellType
Represents a check box cell.
-
Constructor Summary
Constructors
Create a check box cell type.
-
Method Summary
boolean
Gets whether check box size changes with font size.
int
Gets a value that indicates the check box size.
Gets 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
Sets whether check box size changes with font size.
void
Sets a value that indicates the check box size.
void
Sets the caption of the cell type.
void
Sets a value that indicates whether the check box supports three states.
void
Sets the text alignment relative to the check box.
void
Sets the text in the cell when the cell's value is false.
void
Sets the text in the cell when the cell's value is indeterminate (neither true nor false).
void
Sets the text in the cell when the cell's value is true.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CheckBoxCellType
public CheckBoxCellType()
Create a check box cell type.
-
Method Details
-
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
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
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
Gets the text alignment relative to the check box.
- Returns:
- The text alignment relative to the check box.
-
setTextAlign
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.