Package org.patternfly.components
Class OldToolbar<T>
- java.lang.Object
-
- org.patternfly.components.BaseComponent<elemental2.dom.HTMLDivElement,OldToolbar<T>>
-
- org.patternfly.components.OldToolbar<T>
-
- All Implemented Interfaces:
Attachable,Container<elemental2.dom.HTMLDivElement,OldToolbar<T>>,Finder<elemental2.dom.HTMLDivElement>,HasElement<elemental2.dom.HTMLDivElement,OldToolbar<T>>,HasHTMLElement<elemental2.dom.HTMLDivElement,OldToolbar<T>>,IsElement<elemental2.dom.HTMLDivElement>,TypedBuilder<elemental2.dom.HTMLDivElement,OldToolbar<T>>,Component,Display<T>
public class OldToolbar<T> extends BaseComponent<elemental2.dom.HTMLDivElement,OldToolbar<T>> implements Display<T>, Attachable
PatternFly data toolbar component.All elements of a toolbar have to be nested inside instances of type
OldToolbar.Content. In general the structure of a toolbar should apply to the following EBNF (the symbols enclosed in '?' represent PatternFly components / HTML nodes):toolbar = content, { content } ; content = { group | item | node } ; group = { group | item | node } ; item = bulk_select | filter | sort_menu | pagination ; node = ? HTML node ? ; filter = basic_filter | attribute_value | faceted_filter | type_ahead_filter | multiple_filter ; basic_filter = single_value | multi_value | date_range ; attribute_value = ? dropdown ?, basic_filter ; faceted_filter = ? grouped multi select ? ; type_ahead_filter = ? type ahead single select ? | ? type ahead multi select ? ; multiple_filter = named_filter, { named_filter }, clear_filter ; single_value = ? search box ? | ? single select ? ; multi_value = ? multi select ? ; date_range = ? date picker ? ; named_filter = ? label ?, basic_filter ; clear_filter = ? clear filter link ? ;
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOldToolbar.Contentstatic classOldToolbar.Groupstatic classOldToolbar.Itemstatic classOldToolbar.SortOption<T>static classOldToolbar.SortOptions<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OldToolbar<T>add(OldToolbar.Content content)voidattach(elemental2.dom.MutationRecord mutationRecord)static org.patternfly.components.OldToolbar.BulkSelectbulkSelect()static OldToolbar.Contentcontent()voiddetach(elemental2.dom.MutationRecord mutationRecord)static OldToolbar.Groupgroup()static OldToolbar.Itemitem()voidshowItems(Iterable<T> items, PageInfo pageInfo)static <T> org.patternfly.components.OldToolbar.SortMenu<T>sortMenu(OldToolbar.SortOptions<T> sortOptions)OldToolbar<T>that()static <T> OldToolbar<T>toolbar()static <T> OldToolbar<T>toolbar(DataProvider<T> dataProvider)voidupdateSelection(SelectionInfo<T> selectionInfo)voidupdateSortInfo(SortInfo<T> sortInfo)-
Methods inherited from class org.patternfly.components.BaseComponent
componentType, element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
toolbar
public static <T> OldToolbar<T> toolbar()
-
toolbar
public static <T> OldToolbar<T> toolbar(DataProvider<T> dataProvider)
-
content
public static OldToolbar.Content content()
-
group
public static OldToolbar.Group group()
-
item
public static OldToolbar.Item item()
-
bulkSelect
public static org.patternfly.components.OldToolbar.BulkSelect bulkSelect()
-
sortMenu
public static <T> org.patternfly.components.OldToolbar.SortMenu<T> sortMenu(OldToolbar.SortOptions<T> sortOptions)
-
attach
public void attach(elemental2.dom.MutationRecord mutationRecord)
- Specified by:
attachin interfaceAttachable
-
detach
public void detach(elemental2.dom.MutationRecord mutationRecord)
- Specified by:
detachin interfaceAttachable
-
that
public OldToolbar<T> that()
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLDivElement,OldToolbar<T>>
-
add
public OldToolbar<T> add(OldToolbar.Content content)
-
updateSelection
public void updateSelection(SelectionInfo<T> selectionInfo)
- Specified by:
updateSelectionin interfaceDisplay<T>
-
updateSortInfo
public void updateSortInfo(SortInfo<T> sortInfo)
- Specified by:
updateSortInfoin interfaceDisplay<T>
-
-