Package org.patternfly.component.chip
Class Chip
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLElement,Chip>
-
- org.patternfly.component.chip.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>,WithText<HTMLElement,Chip>
public class Chip extends BaseComponent<HTMLElement,Chip> implements Closeable<HTMLElement,Chip>, HasValue<String>, 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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Chipadd(Badge badge)ChipaddBadge(Badge badge)ChipariaCloseLabel(String label)voidattach(MutationRecord mutationRecord)Badgebadge()static Chipchip(String text)voidclose(Event event, boolean fireEvent)booleanequals(Object o)inthashCode()ChiponClose(CloseHandler<Chip> closeHandler)Chipreadonly()Stringtext()Chiptext(String text)ChiptextMaxWidth(String maxWidth)Chipthat()Stringvalue()-
Methods inherited from class org.patternfly.component.BaseComponent
componentType, element
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Attachable
detach
-
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, id, innerHtml, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
-
-
-
Method Detail
-
attach
public void attach(MutationRecord mutationRecord)
- Specified by:
attachin interfaceAttachable
-
readonly
public Chip readonly()
-
that
public Chip that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Chip>
-
onClose
public Chip onClose(CloseHandler<Chip> closeHandler)
- Specified by:
onClosein interfaceCloseable<HTMLElement,Chip>
-
close
public void close(Event event, boolean fireEvent)
- Specified by:
closein interfaceCloseable<HTMLElement,Chip>
-
badge
public Badge badge()
-
text
public String text()
- Specified by:
textin interfaceWithText<HTMLElement,Chip>
-
-