Package org.patternfly.component.chip
Class Chip
- All Implemented Interfaces:
Attachable
,Container<HTMLElement,
,Chip> Finder<HTMLElement>
,HasElement<HTMLElement,
,Chip> HasHTMLElement<HTMLElement,
,Chip> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,Chip> Closeable<HTMLElement,
,Chip> Component
,HasValue<String>
,WithIdentifier<HTMLElement,
,Chip> WithText<HTMLElement,
,Chip> ComponentContext<HTMLElement,
Chip>
public class Chip
extends BaseComponent<HTMLElement,Chip>
implements ComponentContext<HTMLElement,Chip>, Closeable<HTMLElement,Chip>, HasValue<String>, WithIdentifier<HTMLElement,Chip>, WithText<HTMLElement,Chip>, Attachable
A chip is used to communicate a value or a set of attribute-value pairs within workflows that involve filtering a set of
objects.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionariaCloseLabel
(String label) void
attach
(MutationRecord mutationRecord) badge()
static Chip
static Chip
void
void
detach
(MutationRecord mutationRecord) <T> T
boolean
onClose
(CloseHandler<Chip> closeHandler) readonly()
<T> Chip
text()
textMaxWidth
(String maxWidth) that()
value()
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.patternfly.core.ComponentContext
get, get
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
-
Method Details
-
chip
-
chip
-
attach
- Specified by:
attach
in interfaceAttachable
-
detach
- Specified by:
detach
in interfaceAttachable
-
addBadge
-
add
-
readonly
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
Chip>
-
textMaxWidth
-
store
- Specified by:
store
in interfaceComponentContext<HTMLElement,
Chip>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
Chip>
-
ariaCloseLabel
-
onClose
- Specified by:
onClose
in interfaceCloseable<HTMLElement,
Chip>
-
identifier
- Specified by:
identifier
in interfaceWithIdentifier<HTMLElement,
Chip>
-
value
-
close
- Specified by:
close
in interfaceCloseable<HTMLElement,
Chip>
-
badge
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
Chip>
-
has
- Specified by:
has
in interfaceComponentContext<HTMLElement,
Chip>
-
get
- Specified by:
get
in interfaceComponentContext<HTMLElement,
Chip>
-