Package org.patternfly.component.banner
Class Banner
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLDivElement,Banner>
-
- org.patternfly.component.banner.Banner
-
- All Implemented Interfaces:
Container<HTMLDivElement,Banner>,Finder<HTMLDivElement>,HasElement<HTMLDivElement,Banner>,HasHTMLElement<HTMLDivElement,Banner>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,Banner>,Component
public class Banner extends BaseComponent<HTMLDivElement,Banner>
A banner is a 1-line, full color, full width container that can be used to communicate short snippets of information to users. Banners are un-intrusive and non-dismissible.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bannerbanner()static Bannerbanner(String text)static Bannerbanner(String text, Color color)static Bannerbanner(Color color)BannerscreenReader(String text)Bannersticky()Same as sticky(true)Bannersticky(boolean sticky)Adds/removes modifier(sticky)Bannerthat()-
Methods inherited from class org.patternfly.component.BaseComponent
componentType, element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
-
-
-
-
Method Detail
-
banner
public static Banner banner()
-
sticky
public Banner sticky()
Same as sticky(true)
-
sticky
public Banner sticky(boolean sticky)
Adds/removes modifier(sticky)
-
that
public Banner that()
-
-