Package org.patternfly.component.list
Class DescriptionList
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,DescriptionList>
org.patternfly.component.list.DescriptionList
- All Implemented Interfaces:
Iterable<DescriptionListGroup>,ElementAttributeMethods<HTMLElement,,DescriptionList> ElementClassListMethods<HTMLElement,,DescriptionList> ElementConsumerMethods<HTMLElement,,DescriptionList> ElementContainerMethods<HTMLElement,,DescriptionList> ElementEventMethods<HTMLElement,,DescriptionList> ElementIdMethods<HTMLElement,,DescriptionList> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,DescriptionList> HTMLElementDataMethods<HTMLElement,,DescriptionList> HTMLElementStyleMethods<HTMLElement,,DescriptionList> HTMLElementVisibilityMethods<HTMLElement,,DescriptionList> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,DescriptionList> Component,HasItems<HTMLElement,,DescriptionList, DescriptionListGroup> org.patternfly.style.Modifiers.Compact<HTMLElement,,DescriptionList> org.patternfly.style.Modifiers.Horizontal<HTMLElement,DescriptionList>
public class DescriptionList
extends BaseComponent<HTMLElement,DescriptionList>
implements org.patternfly.style.Modifiers.Compact<HTMLElement,DescriptionList>, org.patternfly.style.Modifiers.Horizontal<HTMLElement,DescriptionList>, HasItems<HTMLElement,DescriptionList,DescriptionListGroup>
A description list contains terms and their corresponding descriptions.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(DescriptionListGroup item) Same as autoColumnWidths(true)autoColumnWidths(boolean autoColumnWidths) Sets the description list to format automatically.autoFit()Same as autoFit(true)autoFit(boolean autoFit) Sets the description list to auto fit.autoFitMin(String autoFitMin) Same asautoFitMin(breakpoints(default_, autoFitMin))autoFitMin(org.patternfly.style.Breakpoints<String> autoFitMin) Sets the minimum column size for the auto-fit layout at various breakpoints.voidclear()Same ascolumns(breakpoints(default_, columns))Sets the number of columns on the description list at various breakpoints.booleanstatic DescriptionListdisplaySize(org.patternfly.style.Size size) Sets the display size of the descriptions in the description list.Same as fillColumns(true)fillColumns(boolean fillColumns) Sets the default placement of description list groups to fill from top to bottom.fluid()Same as fluid(true)fluid(boolean fluid) Sets a horizontal description list to have fluid styling.horizontalTermWidth(String horizontalTermWidth) Same ashorizontalTermWidth(breakpoints(default_, horizontalTermWidth))horizontalTermWidth(org.patternfly.style.Breakpoints<String> horizontalTermWidth) Sets the horizontal description list's term column width at various breakpoints.Same as inlineGrid(true)inlineGrid(boolean inlineGrid) Modifies the description list display to inline-grid.booleanisEmpty()iterator()orientation(org.patternfly.style.Breakpoints<org.patternfly.style.Orientation> orientation) Indicates how the menu will align at various breakpoints.orientation(org.patternfly.style.Orientation orientation) Same asorientation(breakpoints(default_, orientation))intsize()that()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.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.patternfly.style.Modifiers.Compact
compact, compactMethods inherited from interface org.patternfly.style.Modifiers.Horizontal
horizontal, horizontal
-
Method Details
-
descriptionList
-
add
- Specified by:
addin interfaceHasItems<HTMLElement,DescriptionList, DescriptionListGroup>
-
autoColumnWidths
Same as autoColumnWidths(true) -
autoColumnWidths
Sets the description list to format automatically. -
autoFit
Same as autoFit(true) -
autoFit
Sets the description list to auto fit. -
autoFitMin
Same asautoFitMin(breakpoints(default_, autoFitMin)) -
autoFitMin
Sets the minimum column size for the auto-fit layout at various breakpoints. -
columns
Same ascolumns(breakpoints(default_, columns)) -
columns
Sets the number of columns on the description list at various breakpoints. -
displaySize
Sets the display size of the descriptions in the description list. -
fillColumns
Same as fillColumns(true) -
fillColumns
Sets the default placement of description list groups to fill from top to bottom. -
fluid
Same as fluid(true) -
fluid
Sets a horizontal description list to have fluid styling. -
horizontalTermWidth
Same ashorizontalTermWidth(breakpoints(default_, horizontalTermWidth)) -
horizontalTermWidth
public DescriptionList horizontalTermWidth(org.patternfly.style.Breakpoints<String> horizontalTermWidth) Sets the horizontal description list's term column width at various breakpoints. -
inlineGrid
Same as inlineGrid(true) -
inlineGrid
Modifies the description list display to inline-grid. -
orientation
Same asorientation(breakpoints(default_, orientation)) -
orientation
public DescriptionList orientation(org.patternfly.style.Breakpoints<org.patternfly.style.Orientation> orientation) Indicates how the menu will align at various breakpoints. -
termWidth
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,DescriptionList>
-
iterator
- Specified by:
iteratorin interfaceIterable<DescriptionListGroup>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLElement,DescriptionList, DescriptionListGroup>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLElement,DescriptionList, DescriptionListGroup>
-
contains
- Specified by:
containsin interfaceHasItems<HTMLElement,DescriptionList, DescriptionListGroup>
-
item
- Specified by:
itemin interfaceHasItems<HTMLElement,DescriptionList, DescriptionListGroup>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement,DescriptionList, DescriptionListGroup>
-