Class CheckBoxListCellType
Represents a check-box-list cell type.
-
Constructor Summary
Constructors
Create a check-box-list cell type.
-
Method Summary
boolean
Gets whether boxSize changes with font size.
int
Gets a value that indicates the check box size.
Gets the direction of the check-box-list.
int
Gets the horizontal spacing in the check-box-list.
boolean
Gets the check-box-list's layout is autofit.
Gets the items for the check-box-list list.
int
Gets the items for the check-box-list's column count.
int
Gets the items for the check-box-list's row count.
Gets the text of check-box-list's alignment, only support left and right.
int
Gets the vertical spacing in the check-box-list.
void
Sets whether boxSize changes with font size.
void
Sets a value that indicates the check box size.
void
Sets the direction of the check-box-list.
void
Sets the horizontal spacing in the check-box-list.
void
Sets the check-box-list's layout is autofit.
void
Sets the items for the check-box-list's column count.
void
Sets the items for the check-box-list's row count.
void
Sets the text of check-box-list's alignment, only support left and right.
void
Sets the vertical spacing in the check-box-list.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CheckBoxListCellType
public CheckBoxListCellType()
Create a check-box-list cell type.
-
Method Details
-
getItems
Gets the items for the check-box-list list.
- Returns:
- The list of check-box-list item.
-
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
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
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
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.