Package org.patternfly.component.chip
Class Chip
java.lang.Object
org.patternfly.component.BaseComponent<elemental2.dom.HTMLElement,Chip>
org.patternfly.component.chip.Chip
- All Implemented Interfaces:
Attachable,Container<elemental2.dom.HTMLElement,,Chip> Finder<elemental2.dom.HTMLElement>,HasElement<elemental2.dom.HTMLElement,,Chip> HasHTMLElement<elemental2.dom.HTMLElement,,Chip> IsElement<elemental2.dom.HTMLElement>,TypedBuilder<elemental2.dom.HTMLElement,,Chip> Closeable<elemental2.dom.HTMLElement,,Chip> Component,HasValue<String>,WithIdentifier<elemental2.dom.HTMLElement,,Chip> WithText<elemental2.dom.HTMLElement,,Chip> ComponentContext<elemental2.dom.HTMLElement,Chip>
public class Chip
extends BaseComponent<elemental2.dom.HTMLElement,Chip>
implements ComponentContext<elemental2.dom.HTMLElement,Chip>, Closeable<elemental2.dom.HTMLElement,Chip>, HasValue<String>, WithIdentifier<elemental2.dom.HTMLElement,Chip>, WithText<elemental2.dom.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.
-
Method Summary
Modifier and TypeMethodDescriptionariaCloseLabel(String label) voidattach(elemental2.dom.MutationRecord mutationRecord) badge()static Chipstatic Chipvoidclose(elemental2.dom.Event event, boolean fireEvent) voiddetach(elemental2.dom.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
public void attach(elemental2.dom.MutationRecord mutationRecord) - Specified by:
attachin interfaceAttachable
-
detach
public void detach(elemental2.dom.MutationRecord mutationRecord) - Specified by:
detachin interfaceAttachable
-
addBadge
-
add
-
readonly
-
text
-
textMaxWidth
-
store
- Specified by:
storein interfaceComponentContext<elemental2.dom.HTMLElement,Chip>
-
that
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLElement,Chip>
-
ariaCloseLabel
-
onClose
-
identifier
- Specified by:
identifierin interfaceWithIdentifier<elemental2.dom.HTMLElement,Chip>
-
value
-
close
public void close(elemental2.dom.Event event, boolean fireEvent) -
badge
-
text
-
has
- Specified by:
hasin interfaceComponentContext<elemental2.dom.HTMLElement,Chip>
-
get
- Specified by:
getin interfaceComponentContext<elemental2.dom.HTMLElement,Chip>
-