Class Style.Button
java.lang.Object
com.foreach.across.modules.bootstrapui.elements.Style.Button
- Enclosing class:
- Style
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Style
fromBootstrapStyleRule
(BootstrapStyleRule styleRule) Compatibility between the old Style enum approach and the new BootstrapStyleRule, attempts to resolve a Style enum from the bootstrap style rule.static BootstrapStyleRule
toBootstrapStyleRule
(Style style) Converts a Style enum value to the equivalent style rule.
-
Field Details
-
DEFAULT
-
LIGHT
-
DARK
-
PRIMARY
-
SECONDARY
-
SUCCESS
-
INFO
-
WARNING
-
DANGER
-
LINK
-
-
Constructor Details
-
Button
public Button()
-
-
Method Details
-
fromBootstrapStyleRule
Compatibility between the old Style enum approach and the new BootstrapStyleRule, attempts to resolve a Style enum from the bootstrap style rule.- Parameters:
styleRule
- style rule- Returns:
- matching Style (can be
null
)
-
toBootstrapStyleRule
Converts a Style enum value to the equivalent style rule.- Parameters:
style
- enum value- Returns:
- equivalent bootstrap style rule (can be
null
)
-