Package org.patternfly.dataprovider
Class ItemDisplay<E extends HTMLElement,T>
java.lang.Object
org.patternfly.dataprovider.ItemDisplay<E,T>
Reusable class for typed components to customize the item ID, string value and display.
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionItemDisplay
(Function<T, String> identifier, Function<T, String> asString, BiConsumer<HTMLContainerBuilder<E>, T> display) -
Method Summary
-
Field Details
-
identifier
-
asString
-
display
-
-
Constructor Details
-
ItemDisplay
public ItemDisplay() -
ItemDisplay
public ItemDisplay(Function<T, String> identifier, Function<T, String> asString, BiConsumer<HTMLContainerBuilder<E>, T> display)
-
-
Method Details
-
itemId
-