Package com.ebasetech.xi.api.controls
Interface BootstrapButtonStyle
- All Known Subinterfaces:
AddRowButtonProperties
,ButtonColumnControl
,ButtonControl
,ButtonControlProperties
,FileUploadControl
,HyperlinkControl
,InitiateUploadControl
,ListHyperlinkControl
,PageNavigationButtonStyle
public interface BootstrapButtonStyle
-
Method Summary
Modifier and Type Method Description java.lang.String
getBootstrapSize()
The current bootstrap sizejava.lang.String
getBootstrapState()
The current bootstrap statejava.lang.String
getBootstrapStyle()
The current bootstrap stylevoid
setBootstrapSize(java.lang.String alignment)
Sets the bootstrap size.void
setBootstrapState(java.lang.String alignment)
Sets the bootstrap state.void
setBootstrapStyle(java.lang.String alignment)
Sets the bootstrap style.
-
Method Details
-
getBootstrapStyle
java.lang.String getBootstrapStyle()The current bootstrap style- Since:
- V5.4
- See Also:
setBootstrapStyle(String)
-
setBootstrapStyle
void setBootstrapStyle(java.lang.String alignment)Sets the bootstrap style.Possible values are (a blank string removes the current styling):
- Primary
- Secondary
- Success
- Danger
- Warning
- Info
- Light
- Dark
- Link
- Outline Primary
- Outline Secondary
- Outline Success
- Outline Danger
- Outline Warning
- Outline Info
- Outline Light
- Outline Dark
controls.BUTTON1.bootstrapStyle = "Primary"; controls.BUTTON1.setBootstrapStyle("Secondary");
- Since:
- V5.4
-
getBootstrapState
java.lang.String getBootstrapState()The current bootstrap state- Since:
- V5.4
- See Also:
setBootstrapState(String)
-
setBootstrapState
void setBootstrapState(java.lang.String alignment)Sets the bootstrap state.Possible values are (a blank string removes the current state): Active - appears as if it has been already clicked Disabled - appears in a disabled state Example:
controls.BUTTON1.bootstrapState = "Active"; controls.BUTTON1.setBootstrapState("Disabled");
- Since:
- V5.4
-
getBootstrapSize
java.lang.String getBootstrapSize()The current bootstrap size- Since:
- V5.4
- See Also:
setBootstrapSize(String)
-
setBootstrapSize
void setBootstrapSize(java.lang.String alignment)Sets the bootstrap size.Possible values are (a blank string removes the current styling):
- Large
- Small
controls.BUTTON1.bootstrapSize = "Large"; controls.BUTTON1.setBootstrapSize("Small");
- Since:
- V5.4
-