Interface IButton
- All Superinterfaces:
IContentControl,IControl,IControlT<IButton>
The button control.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the button is cancel button or not.booleanGets whether the button is default button or not.booleanGets whether the button is dismiss button or not.booleanGets whether the button is help button or not.Gets horizontal alignment.Gets text orientation.Gets vertical alignment.voidsetCancelButton(boolean value) Sets whether the button is cancel button or not.voidsetDefaultButton(boolean value) Sets whether the button is default button or not.voidsetDismissButton(boolean value) Sets whether the button is dismiss button or not.voidsetHelpButton(boolean value) Sets whether the button is help button or not.voidSets horizontal alignment.voidSets text orientation.voidSets vertical alignment.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()Gets horizontal alignment.- API Note:
- Not all values are supported by the *.ssjson format.
-
setHorizontalTextAlignment
Sets horizontal alignment.- API Note:
- Not all values are supported by the *.ssjson format.
-
getOrientation
TickLabelOrientation getOrientation()Gets text orientation.- API Note:
- Not all values are supported by the *.ssjson format.
-
setOrientation
Sets text orientation.- API Note:
- Not all values are supported by the *.ssjson format.
-
getVerticalTextAlignment
VerticalAlignment getVerticalTextAlignment()Gets vertical alignment.- API Note:
- Not all values are supported by the *.ssjson format.
-
setVerticalTextAlignment
Sets vertical alignment.- API Note:
- Not all values are supported by the *.ssjson format.
-
getCancelButton
boolean getCancelButton()Gets whether the button is cancel button or not.- API Note:
- Not supported by the *.ssjson format.
-
setCancelButton
void setCancelButton(boolean value) Sets whether the button is cancel button or not.- API Note:
- Not supported by the *.ssjson format.
-
getDefaultButton
boolean getDefaultButton()Gets whether the button is default button or not.- API Note:
- Not supported by the *.ssjson format.
-
setDefaultButton
void setDefaultButton(boolean value) Sets whether the button is default button or not.- API Note:
- Not supported by the *.ssjson format.
-
getDismissButton
boolean getDismissButton()Gets whether the button is dismiss button or not.- API Note:
- Not supported by the *.ssjson format.
-
setDismissButton
void setDismissButton(boolean value) Sets whether the button is dismiss button or not.- API Note:
- Not supported by the *.ssjson format.
-
getHelpButton
boolean getHelpButton()Gets whether the button is help button or not.- API Note:
- Not supported by the *.ssjson format.
-
setHelpButton
void setHelpButton(boolean value) Sets whether the button is help button or not.- API Note:
- Not supported by the *.ssjson format.
-