Package io.keikai.model.impl
Class ButtonControlImpl
java.lang.Object
io.keikai.model.impl.AbstractFormControlAdv
io.keikai.model.impl.ButtonControlImpl
- All Implemented Interfaces:
SFormControl,Serializable
Button form control implementation.
- Since:
- 7.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.SFormControl
SFormControl.ControlType -
Field Summary
Fields inherited from class io.keikai.model.impl.AbstractFormControlAdv
anchor, enabled, linkedCell, listFillRange, name, visible -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the button caption text.getMacro()Returns the macro name assigned to this button.getType()Returns the type of this form control.voidsetCaption(String caption) Sets the button caption text.voidSets the macro name assigned to this button.Methods inherited from class io.keikai.model.impl.AbstractFormControlAdv
getAnchor, getLinkedCell, getListFillRange, getName, isEnabled, isVisible, setEnabled, setLinkedCell, setListFillRange, setVisible
-
Constructor Details
-
ButtonControlImpl
-
-
Method Details
-
getType
Description copied from interface:SFormControlReturns the type of this form control.- Returns:
- the control type
-
getCaption
Returns the button caption text.- Returns:
- the caption
-
setCaption
Sets the button caption text.- Parameters:
caption- the caption
-
getMacro
Returns the macro name assigned to this button.- Returns:
- the macro name, or null if none assigned
-
setMacro
Sets the macro name assigned to this button.- Parameters:
macro- the macro name
-