@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>
| Modifier and Type | Method and Description |
|---|---|
static BootstrapStyleRule |
appendOnSet(BootstrapStyleRule original,
String... css) |
default void |
applyTo(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) |
static BootstrapStyleRule |
combine(BootstrapStyleRule... rules) |
static BootstrapStyleRule |
empty() |
static BootstrapStyleRule |
of(String... css) |
default BootstrapStyleRule |
prefix(@NonNull String prefix)
Create a new rule with applies a prefix to all css classes from the current rule.
|
default void |
removeFrom(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) |
default BootstrapStyleRule |
suffix(@NonNull String suffix)
Create a new rule with applies a suffix to all css classes from the current rule.
|
default boolean |
test(com.foreach.across.modules.web.ui.elements.HtmlViewElement target) |
String[] |
toCssClasses() |
static BootstrapStyleRule empty()
static BootstrapStyleRule of(String... css)
static BootstrapStyleRule appendOnSet(BootstrapStyleRule original, String... css)
static BootstrapStyleRule combine(BootstrapStyleRule... rules)
String[] toCssClasses()
default void removeFrom(com.foreach.across.modules.web.ui.elements.HtmlViewElement target)
removeFrom in interface com.foreach.across.modules.web.ui.ViewElement.WitherRemover<com.foreach.across.modules.web.ui.elements.HtmlViewElement>default void applyTo(com.foreach.across.modules.web.ui.elements.HtmlViewElement target)
applyTo in interface com.foreach.across.modules.web.ui.ViewElement.WitherSetter<com.foreach.across.modules.web.ui.elements.HtmlViewElement>default BootstrapStyleRule suffix(@NonNull @NonNull String suffix)
suffix - to applydefault BootstrapStyleRule prefix(@NonNull @NonNull String prefix)
prefix - to applyCopyright © 2020. All rights reserved.