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) voidattach(MutationRecord mutationRecord) badge()static Chipstatic Chipvoidvoiddetach(MutationRecord mutationRecord) <T> TbooleanonClose(CloseHandler<Chip> closeHandler) readonly()<T> Chiptext()textMaxWidth(String maxWidth) that()value()Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.patternfly.core.ComponentContext
get, getMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods 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:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
addBadge
-
add
-
readonly
-
text
- Specified by:
textin interfaceWithText<HTMLElement,Chip>
-
textMaxWidth
-
store
- Specified by:
storein interfaceComponentContext<HTMLElement,Chip>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Chip>
-
ariaCloseLabel
-
onClose
- Specified by:
onClosein interfaceCloseable<HTMLElement,Chip>
-
identifier
- Specified by:
identifierin interfaceWithIdentifier<HTMLElement,Chip>
-
value
-
close
- Specified by:
closein interfaceCloseable<HTMLElement,Chip>
-
badge
-
text
- Specified by:
textin interfaceWithText<HTMLElement,Chip>
-
has
- Specified by:
hasin interfaceComponentContext<HTMLElement,Chip>
-
get
- Specified by:
getin interfaceComponentContext<HTMLElement,Chip>
-