Package com.ebasetech.xi.api.controls
Interface ButtonControlProperties
- All Superinterfaces:
- BackgroundStyleProperties,- BootstrapButtonStyle,- BorderStyleProperties,- MarginStyleProperties,- PaddingStyleProperties,- TextStyleProperties
- All Known Subinterfaces:
- ButtonColumnControl,- ButtonControl,- FileUploadControl,- InitiateUploadControl
public interface ButtonControlProperties extends BackgroundStyleProperties, TextStyleProperties, PaddingStyleProperties, MarginStyleProperties, BorderStyleProperties, BootstrapButtonStyle
- 
Method SummaryModifier and Type Method Description TextgetButtonText()Returns theTextobject for the button text.TextgetMouseOverText()Returns theTextobject for the mouse over text.booleanisDisabled()Returnstrueif the button is marked as disabled, otherwise returnsfalse.booleanisSkipValidation()Returns the skip validation flag that indicates whether or not validation of controls higher on the page is skipped prior to executing the button's on click event.voidsetDisabled(boolean disabled)Disables the button and results in the HTML disabled attribute being added to the <button> HTML tag.voidsetSkipValidation(boolean skipValidation)Specifies whether or not validation of controls higher on the page is skipped prior to executing the button's on click event.Methods inherited from interface com.ebasetech.xi.api.controls.BackgroundStylePropertiesgetBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeatMethods inherited from interface com.ebasetech.xi.api.controls.BootstrapButtonStylegetBootstrapSize, getBootstrapState, getBootstrapStyle, setBootstrapSize, setBootstrapState, setBootstrapStyleMethods inherited from interface com.ebasetech.xi.api.controls.BorderStylePropertiesgetBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidthMethods inherited from interface com.ebasetech.xi.api.controls.MarginStylePropertiesgetAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMarginMethods inherited from interface com.ebasetech.xi.api.controls.PaddingStylePropertiesgetAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPaddingMethods inherited from interface com.ebasetech.xi.api.controls.TextStylePropertiesgetLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
- 
Method Details- 
getButtonTextText getButtonText()Returns theTextobject for the button text.- Since:
- V4.4
 
- 
getMouseOverTextText getMouseOverText()Returns theTextobject for the mouse over text.- Since:
- V4.4
 
- 
isSkipValidationboolean isSkipValidation()Returns the skip validation flag that indicates whether or not validation of controls higher on the page is skipped prior to executing the button's on click event.Note that field type validation is always executed regardless of the setting of this flag (e.g. check that only numeric data is entered for numeric fields). - Since:
- V4.4
 
- 
setSkipValidationvoid setSkipValidation(boolean skipValidation)Specifies whether or not validation of controls higher on the page is skipped prior to executing the button's on click event.Note that field type validation is always executed regardless of the setting of this flag (e.g. check that only numeric data is entered for numeric fields). - Since:
- V4.4
 
- 
isDisabledboolean isDisabled()Returnstrueif the button is marked as disabled, otherwise returnsfalse.- Since:
- V5.9
- See Also:
- setDisabled(boolean)
 
- 
setDisabledvoid setDisabled(boolean disabled)Disables the button and results in the HTML disabled attribute being added to the <button> HTML tag.- Since:
- V5.9
 
 
-