类 ButtonCellType
java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.ButtonCellType
Represents a button cell.
-
构造器概要
-
方法概要
修饰符和类型方法说明Gets the button's background color.double
Gets the button's bottom margin in pixels relative to the cell.double
Gets the button's left margin in pixels relative to the cell.double
Gets the button's right margin in pixels relative to the cell.double
Gets the button's top margin in pixels relative to the cell.getText()
Gets the button's content.void
setButtonBackColor
(String value) Sets the button's background color.void
setMarginBottom
(double value) Sets the button's bottom margin in pixels relative to the cell.void
setMarginLeft
(double value) Sets the button's left margin in pixels relative to the cell.void
setMarginRight
(double value) Sets the button's right margin in pixels relative to the cell.void
setMarginTop
(double value) Sets the button's top margin in pixels relative to the cell.void
Sets the button's content.
-
构造器详细资料
-
ButtonCellType
public ButtonCellType()
-
-
方法详细资料
-
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.
-