Package org.patternfly.component.label
Class LabelGroup
java.lang.Object
org.patternfly.component.BaseComponent<HTMLDivElement,LabelGroup>
org.patternfly.component.label.LabelGroup
- All Implemented Interfaces:
Iterable<Label>
,Attachable
,Container<HTMLDivElement,
,LabelGroup> Finder<HTMLDivElement>
,HasElement<HTMLDivElement,
,LabelGroup> HasHTMLElement<HTMLDivElement,
,LabelGroup> IsElement<HTMLDivElement>
,TypedBuilder<HTMLDivElement,
,LabelGroup> Closeable<HTMLDivElement,
,LabelGroup> Component
,HasItems<HTMLDivElement,
,LabelGroup, Label> Modifiers.Vertical<HTMLDivElement,
LabelGroup>
public class LabelGroup
extends BaseComponent<HTMLDivElement,LabelGroup>
implements Closeable<HTMLDivElement,LabelGroup>, HasItems<HTMLDivElement,LabelGroup,Label>, Modifiers.Vertical<HTMLDivElement,LabelGroup>, Attachable
-
Method Summary
Modifier and TypeMethodDescriptionariaCloseLabel
(String label) void
attach
(MutationRecord mutationRecord) void
clear()
closable()
closable
(CloseHandler<LabelGroup> closeHandler) void
collapsedText
(String collapsedText) void
detach
(MutationRecord mutationRecord) expandedText
(String expandedText) boolean
isEmpty()
iterator()
static LabelGroup
static LabelGroup
labelGroup
(String category) numLabels
(int numLabels) onClose
(CloseHandler<LabelGroup> closeHandler) int
size()
that()
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
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.patternfly.style.Modifiers.Vertical
vertical, vertical
-
Method Details
-
labelGroup
-
labelGroup
-
attach
- Specified by:
attach
in interfaceAttachable
-
detach
- Specified by:
detach
in interfaceAttachable
-
add
- Specified by:
add
in interfaceHasItems<HTMLDivElement,
LabelGroup, Label>
-
category
-
numLabels
-
closable
-
closable
-
collapsedText
-
expandedText
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLDivElement,
LabelGroup>
-
ariaCloseLabel
-
onClose
- Specified by:
onClose
in interfaceCloseable<HTMLDivElement,
LabelGroup>
-
close
- Specified by:
close
in interfaceCloseable<HTMLDivElement,
LabelGroup>
-
iterator
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLDivElement,
LabelGroup, Label>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLDivElement,
LabelGroup, Label>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLDivElement,
LabelGroup, Label>
-