Package com.grapecity.documents.excel
Class RadioButtonListCellType
java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.RadioButtonListCellType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSets whether boxSize changes with font size.intGets a value that indicates the check box size.Gets the direction of the radio button list.intGets the horizontal spacing in the radio button list.booleanGets the radio button list's layout is autofit.getItems()Gets the items for the radio button list.intGets the items for the radio button list's column count.intGets the items for the radio button list's row count.Gets the text of radio button list's position, only support left and right.intGets the vertical spacing in the radio button list.voidsetAutoBoxSize(boolean value) Sets whether boxSize changes with font size.voidsetBoxSize(int value) Sets a value that indicates the check box size.voidsetDirection(CellTypeDirection direction) Sets the direction of the radio button list.voidsetHorizontalSpacing(int horizontalSpacing) Sets the horizontal spacing in the radio button list.voidsetIsFlowLayout(boolean isFlowLayout) Sets the radio button list's layout is autofit.voidsetMaxColumnCount(int maxColumnCount) Sets the items for the radio button list's column count.voidsetMaxRowCount(int maxRowCount) Sets the items for the radio button list's row count.voidsetTextAlign(CellTypeTextAlign textAlign) Sets the text of radio button list's position, only support left and right.voidsetVerticalSpacing(int verticalSpacing) Sets the vertical spacing in the radio button list.
-
Constructor Details
-
RadioButtonListCellType
public RadioButtonListCellType()Create a radio button list cell type.
-
-
Method Details
-
getItems
Gets the items for the radio button list.- Returns:
- The list of radio button item.
-
getDirection
Gets the direction of the radio button list.- Returns:
- The direction in which the radio button list are arranged, such as horizontal or vertical.
-
setDirection
Sets the direction of the radio button list.- Parameters:
direction- The direction in which the radio button list should be arranged.
-
getIsFlowLayout
public boolean getIsFlowLayout()Gets the radio button list's layout is autofit.- Returns:
- True if the radio button list's layout is autofit, false otherwise.
-
setIsFlowLayout
public void setIsFlowLayout(boolean isFlowLayout) Sets the radio button list's layout is autofit.- Parameters:
isFlowLayout- True if the radio button list's layout should be autofit, false otherwise.
-
getTextAlign
Gets the text of radio button list's position, only support left and right.- Returns:
- The text alignment of the radio button list, such as left or right.
-
setTextAlign
Sets the text of radio button list's position, only support left and right.- Parameters:
textAlign- The text alignment of the radio button list.
-
setMaxRowCount
public void setMaxRowCount(int maxRowCount) Sets the items for the radio button list's row count.- Parameters:
maxRowCount- The maximum number of rows for the radio button list.
-
getMaxRowCount
public int getMaxRowCount()Gets the items for the radio button list's row count.- Returns:
- The maximum number of rows for the radio button list.
-
setMaxColumnCount
public void setMaxColumnCount(int maxColumnCount) Sets the items for the radio button list's column count.- Parameters:
maxColumnCount- The maximum number of columns for the radio button list.
-
getMaxColumnCount
public int getMaxColumnCount()Gets the items for the radio button list's column count.- Returns:
- The maximum number of columns for the radio button list.
-
setHorizontalSpacing
public void setHorizontalSpacing(int horizontalSpacing) Sets the horizontal spacing in the radio button list.- Parameters:
horizontalSpacing- The horizontal spacing in the radio button list.
-
getHorizontalSpacing
public int getHorizontalSpacing()Gets the horizontal spacing in the radio button list. -
setVerticalSpacing
public void setVerticalSpacing(int verticalSpacing) Sets the vertical spacing in the radio button list.- Parameters:
verticalSpacing- The vertical spacing in the radio button list.
-
getVerticalSpacing
public int getVerticalSpacing()Gets the vertical spacing in the radio button list. -
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.
-