Interface IButton
- All Superinterfaces:
IContentControl,IControl,IControlT<IButton>
按钮控件。
-
Method Summary
Modifier and TypeMethodDescriptionboolean获取该按钮是否为取消按钮。boolean获取该按钮是否为默认按钮。boolean获取该按钮是否为关闭按钮。boolean获取该按钮是否为帮助按钮。获取水平对齐方式。获取文本方向。获取垂直对齐方式。voidsetCancelButton(boolean value) 设置该按钮是否为取消按钮。voidsetDefaultButton(boolean value) 设置该按钮是否为默认按钮。voidsetDismissButton(boolean value) 设置该按钮是否为关闭按钮。voidsetHelpButton(boolean value) 设置该按钮是否为帮助按钮。void设置水平对齐。void设置文本方向。void设置垂直对齐。Methods inherited from interface com.grapecity.documents.excel.forms.IContentControl
getLockedText, getText, setLockedText, setTextMethods inherited from interface com.grapecity.documents.excel.forms.IControl
bringToFront, delete, getBottomRightCell, getEnabled, getFormControlType, getHeight, getLeft, getLocked, getName, getParent, getPlacement, getPrintObject, getShapeRange, getTop, getTopLeftCell, getVisible, getWidth, getZOrder, sendToBack, setEnabled, setHeight, setLeft, setLocked, setName, setPlacement, setPrintObject, setTop, setVisible, setWidth
-
Method Details
-
getHorizontalTextAlignment
HorizontalAlignment getHorizontalTextAlignment()获取水平对齐方式。- API Note:
- 不是所有的值都受*.ssjson格式的支持。
-
setHorizontalTextAlignment
设置水平对齐。- API Note:
- 不是所有的值都受到 *.ssjson 格式的支持。
-
getOrientation
TickLabelOrientation getOrientation()获取文本方向。- API Note:
- 不是所有的值都受到 *.ssjson 格式的支持。
-
setOrientation
设置文本方向。- API Note:
- 不是所有的值都受到 *.ssjson 格式的支持。
-
getVerticalTextAlignment
VerticalAlignment getVerticalTextAlignment()获取垂直对齐方式。- API Note:
- 不是所有的值都受到 *.ssjson 格式的支持。
-
setVerticalTextAlignment
设置垂直对齐。- API Note:
- 不是所有的值都受*.ssjson格式支持。
-
getCancelButton
boolean getCancelButton()获取该按钮是否为取消按钮。- API Note:
- 不被*.ssjson格式支持。
-
setCancelButton
void setCancelButton(boolean value) 设置该按钮是否为取消按钮。- API Note:
- 不支持 *.ssjson 格式。
-
getDefaultButton
boolean getDefaultButton()获取该按钮是否为默认按钮。- API Note:
- 不支持*.ssjson格式。
-
setDefaultButton
void setDefaultButton(boolean value) 设置该按钮是否为默认按钮。- API Note:
- 不支持 *.ssjson 格式。
-
getDismissButton
boolean getDismissButton()获取该按钮是否为关闭按钮。- API Note:
- 不支持*.ssjson格式。
-
setDismissButton
void setDismissButton(boolean value) 设置该按钮是否为关闭按钮。- API Note:
- 不被*.ssjson格式支持。
-
getHelpButton
boolean getHelpButton()获取该按钮是否为帮助按钮。- API Note:
- 不被*.ssjson格式支持。
-
setHelpButton
void setHelpButton(boolean value) 设置该按钮是否为帮助按钮。- API Note:
- 不被*.ssjson格式支持。
-