Uses of Class
org.patternfly.component.badge.Badge
Package
Description
-
Uses of Badge in org.patternfly.component.badge
Modifier and TypeMethodDescriptionstatic Badge
Badge.badge
(int count) static Badge
Badge.badge
(int count, int limit) Badge.bind
(ObservableValue<Integer> ov) Binds an observable value to this component.Badge.count
(int count) Same as count(count, false)Badge.count
(int count, boolean fireEvent) Sets the count of this badge.Use a function to render the text for the value ofcount()
.Badge.limit
(int limit) Sets the limit of this badgeBadge.maxDisplay
(Function<Integer, String> maxDisplay) Use a function to render the text ifcount()
>limit(int)
.Badge.onChange
(ChangeHandler<Badge, Integer> changeHandler) Defines a change handler that is called when thevalue()
of this badge changes.Badge.read()
Marks the badge as read.Badge.screenReader
(String text) Badge.that()
Badge.unread()
Marks the badge as unread. -
Uses of Badge in org.patternfly.component.button
-
Uses of Badge in org.patternfly.component.chip