Interface BootstrapStyleRule
- All Superinterfaces:
Predicate<com.foreach.across.modules.web.ui.elements.HtmlViewElement>,com.foreach.across.modules.web.ui.ViewElement.WitherRemover<com.foreach.across.modules.web.ui.elements.HtmlViewElement>,com.foreach.across.modules.web.ui.ViewElement.WitherSetter<com.foreach.across.modules.web.ui.elements.HtmlViewElement>
- All Known Subinterfaces:
BreakpointStyleRule
- All Known Implementing Classes:
AcrossBorderStyleRule,AcrossBorderStyleRule.AcrossNoBorderStyleRule,AcrossDisplayStyleRule.DisplayPropertyStyleRule,AcrossFlexStyleRule.Direction,AcrossFlexStyleRule.Wrap,AcrossRoundedStyleRule,AcrossShadowStyleRule,AcrossSimpleBreakpointStyleRule,AcrossStyleRule,AcrossTextStyleRule.Wrap,AlertStyleRule,BadgeStyleRule,BlockQuoteStyleRule,BorderStyleRule,BorderStyleRule.NoBorderStyleRule,BreadcrumbStyleRule,ButtonStyleRule,ButtonStyleRule.Group,CardStyleRule,CarouselStyleRule,CarouselStyleRule.Control.WithIcon,DisplayStyleRule.DisplayPropertyStyleRule,DropdownStyleRule,DropdownStyleRule.Item,DropdownStyleRule.Menu,DropdownStyleRule.Toggle,EmbedStyleRule.Responsive,FigureStyleRule,FlexStyleRule.Direction,FlexStyleRule.Wrap,FormStyleRule.Check,FormStyleRule.Control,FormStyleRule.Custom.Control,FormStyleRule.Custom.File,FormStyleRule.Custom.Select,FormStyleRule.Horizontal.Label,GridStyleRule.Column,GridStyleRule.Container,GridStyleRule.Row,InputGroupStyleRule,JumbotronStyleRule,ListGroupStyleRule,ListGroupStyleRule.Horizontal,ListGroupStyleRule.Item,ListGroupStyleRule.Item.Action,ListStyleRule.Inline,MediaStyleRule,ModalStyleRule,ModalStyleRule.Dialog,NavbarStyleRule,NavbarStyleRule.Toggler,NavStyleRule,PaginationStyleRule,ProgressStyleRule,ProgressStyleRule.Bar,RoundedStyleRule,ScreenReaderOnlyStyleRule,ShadowStyleRule,SimpleBreakpointStyleRule,SpinnerStyleRule.Grow,TableStyleRule,TextStyleRule.Wrap,ToastStyleRule,ValidationStyleRule.State
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface BootstrapStyleRule
extends com.foreach.across.modules.web.ui.ViewElement.WitherSetter<com.foreach.across.modules.web.ui.elements.HtmlViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherRemover<com.foreach.across.modules.web.ui.elements.HtmlViewElement>, Predicate<com.foreach.across.modules.web.ui.elements.HtmlViewElement>
- Since:
- 3.0.0
- Author:
- Arne Vandamme
-
Method Summary
Modifier and TypeMethodDescriptionstatic BootstrapStyleRuleappendOnSet(BootstrapStyleRule original, String... css) default voidapplyTo(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) static BootstrapStyleRulecombine(BootstrapStyleRule... rules) static BootstrapStyleRuleempty()static BootstrapStyleRuledefault BootstrapStyleRuleCreate a new rule with applies a prefix to all css classes from the current rule.default voidremoveFrom(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) default BootstrapStyleRuleCreate a new rule with applies a suffix to all css classes from the current rule.default booleantest(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) String[]
-
Method Details
-
empty
-
of
-
appendOnSet
-
combine
-
toCssClasses
String[] toCssClasses() -
removeFrom
default void removeFrom(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) - Specified by:
removeFromin interfacecom.foreach.across.modules.web.ui.ViewElement.WitherRemover<com.foreach.across.modules.web.ui.elements.HtmlViewElement>
-
applyTo
default void applyTo(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) - Specified by:
applyToin interfacecom.foreach.across.modules.web.ui.ViewElement.WitherSetter<com.foreach.across.modules.web.ui.elements.HtmlViewElement>
-
suffix
Create a new rule with applies a suffix to all css classes from the current rule.- Parameters:
suffix- to apply- Returns:
- new rule instance
-
prefix
Create a new rule with applies a prefix to all css classes from the current rule.- Parameters:
prefix- to apply- Returns:
- new rule instance
-
test
default boolean test(com.foreach.across.modules.web.ui.elements.HtmlViewElement target)
-