[]
        
(Showing Draft Content)

RadioButtonListCellType

Class RadioButtonListCellType

java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.RadioButtonListCellType

public class RadioButtonListCellType extends BaseCellType
  • Constructor Details

    • RadioButtonListCellType

      public RadioButtonListCellType()
      Create a radio button list cell type.
  • Method Details

    • getItems

      public ArrayList<SelectFieldItem> getItems()
      Gets the items for the radio button list.
      Returns:
      The list of radio button item.
    • getDirection

      public CellTypeDirection 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

      public void setDirection(CellTypeDirection direction)
      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

      public CellTypeTextAlign 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

      public void setTextAlign(CellTypeTextAlign textAlign)
      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.