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>,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
Modifier and TypeMethodDescriptionariaCloseLabel(String label) voidattach(MutationRecord mutationRecord) badge()static Chipvoidvoiddetach(MutationRecord mutationRecord) booleaninthashCode()onClose(CloseHandler<Chip> closeHandler) readonly()text()textMaxWidth(String maxWidth) that()value()Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods 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, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Method Details
-
chip
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
equals
-
hashCode
public int hashCode() -
addBadge
-
add
-
readonly
-
text
- Specified by:
textin interfaceWithText<HTMLElement,Chip>
-
textMaxWidth
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Chip>
-
ariaCloseLabel
-
onClose
- Specified by:
onClosein interfaceCloseable<HTMLElement,Chip>
-
value
-
close
- Specified by:
closein interfaceCloseable<HTMLElement,Chip>
-
badge
-
text
- Specified by:
textin interfaceWithText<HTMLElement,Chip>
-