Package com.grapecity.documents.excel
Class ButtonCellType
java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.ButtonCellType
Represents a button cell.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the button's background color.doubleGets the button's bottom margin in pixels relative to the cell.doubleGets the button's left margin in pixels relative to the cell.doubleGets the button's right margin in pixels relative to the cell.doubleGets the button's top margin in pixels relative to the cell.getText()Gets the button's content.voidsetButtonBackColor(String value) Sets the button's background color.voidsetMarginBottom(double value) Sets the button's bottom margin in pixels relative to the cell.voidsetMarginLeft(double value) Sets the button's left margin in pixels relative to the cell.voidsetMarginRight(double value) Sets the button's right margin in pixels relative to the cell.voidsetMarginTop(double value) Sets the button's top margin in pixels relative to the cell.voidSets the button's content.
-
Constructor Details
-
ButtonCellType
public ButtonCellType()
-
-
Method Details
-
getText
Gets the button's content. -
setText
Sets the button's content. -
getButtonBackColor
Gets the button's background color. -
setButtonBackColor
Sets the button's background color. -
getMarginLeft
public double getMarginLeft()Gets the button's left margin in pixels relative to the cell. -
setMarginLeft
public void setMarginLeft(double value) Sets the button's left margin in pixels relative to the cell. -
getMarginRight
public double getMarginRight()Gets the button's right margin in pixels relative to the cell. -
setMarginRight
public void setMarginRight(double value) Sets the button's right margin in pixels relative to the cell. -
getMarginTop
public double getMarginTop()Gets the button's top margin in pixels relative to the cell. -
setMarginTop
public void setMarginTop(double value) Sets the button's top margin in pixels relative to the cell. -
getMarginBottom
public double getMarginBottom()Gets the button's bottom margin in pixels relative to the cell. -
setMarginBottom
public void setMarginBottom(double value) Sets the button's bottom margin in pixels relative to the cell.
-