Package org.patternfly.component.list
Class DescriptionList
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLElement,DescriptionList>
-
- org.patternfly.component.list.DescriptionList
-
- All Implemented Interfaces:
Container<HTMLElement,DescriptionList>,Finder<HTMLElement>,HasElement<HTMLElement,DescriptionList>,HasHTMLElement<HTMLElement,DescriptionList>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,DescriptionList>,Component,Modifiers.Compact<HTMLElement,DescriptionList>,Modifiers.Horizontal<HTMLElement,DescriptionList>
public class DescriptionList extends BaseComponent<HTMLElement,DescriptionList> implements Modifiers.Compact<HTMLElement,DescriptionList>, Modifiers.Horizontal<HTMLElement,DescriptionList>
A description list contains terms and their corresponding descriptions.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptionListaddGroup(DescriptionListGroup group)DescriptionListautoColumnWidths()Same as autoColumnWidths(true)DescriptionListautoColumnWidths(boolean autoColumnWidths)Sets the description list to format automatically.DescriptionListautoFit()Same as autoFit(true)DescriptionListautoFit(boolean autoFit)Sets the description list to auto fit.DescriptionListautoFitMin(Breakpoints<String> autoFitMin)Sets the minimum column size for the auto-fit layout at various breakpoints.DescriptionListcolumns(Breakpoints<Integer> columns)Sets the number of columns on the description list at various breakpoints.static DescriptionListdescriptionList()DescriptionListdisplaySize(Size size)Sets the display size of the descriptions in the description list.DescriptionListfillColumns()Same as fillColumns(true)DescriptionListfillColumns(boolean fillColumns)Sets the default placement of description list groups to fill from top to bottom.DescriptionListfluid()Same as fluid(true)DescriptionListfluid(boolean fluid)Sets a horizontal description list to have fluid styling.DescriptionListhorizontalTermWidth(Breakpoints<String> horizontalTermWidth)Sets the horizontal description list's term column width at various breakpoints.DescriptionListinlineGrid()Same as inlineGrid(true)DescriptionListinlineGrid(boolean inlineGrid)Modifies the description list display to inline-grid.DescriptionListorientation(Breakpoints<Orientation> orientation)Indicates how the menu will align at various breakpoints.DescriptionListtermWidth(String width)DescriptionListthat()-
Methods inherited from class org.patternfly.component.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, 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
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
-
Methods inherited from interface org.patternfly.style.Modifiers.Compact
compact, compact
-
Methods inherited from interface org.patternfly.style.Modifiers.Horizontal
horizontal, horizontal
-
-
-
-
Method Detail
-
descriptionList
public static DescriptionList descriptionList()
-
addGroup
public DescriptionList addGroup(DescriptionListGroup group)
-
autoColumnWidths
public DescriptionList autoColumnWidths()
Same as autoColumnWidths(true)
-
autoColumnWidths
public DescriptionList autoColumnWidths(boolean autoColumnWidths)
Sets the description list to format automatically.
-
autoFit
public DescriptionList autoFit()
Same as autoFit(true)
-
autoFit
public DescriptionList autoFit(boolean autoFit)
Sets the description list to auto fit.
-
autoFitMin
public DescriptionList autoFitMin(Breakpoints<String> autoFitMin)
Sets the minimum column size for the auto-fit layout at various breakpoints.
-
columns
public DescriptionList columns(Breakpoints<Integer> columns)
Sets the number of columns on the description list at various breakpoints.
-
displaySize
public DescriptionList displaySize(Size size)
Sets the display size of the descriptions in the description list.
-
fillColumns
public DescriptionList fillColumns()
Same as fillColumns(true)
-
fillColumns
public DescriptionList fillColumns(boolean fillColumns)
Sets the default placement of description list groups to fill from top to bottom.
-
fluid
public DescriptionList fluid()
Same as fluid(true)
-
fluid
public DescriptionList fluid(boolean fluid)
Sets a horizontal description list to have fluid styling.
-
horizontalTermWidth
public DescriptionList horizontalTermWidth(Breakpoints<String> horizontalTermWidth)
Sets the horizontal description list's term column width at various breakpoints.
-
inlineGrid
public DescriptionList inlineGrid()
Same as inlineGrid(true)
-
inlineGrid
public DescriptionList inlineGrid(boolean inlineGrid)
Modifies the description list display to inline-grid.
-
orientation
public DescriptionList orientation(Breakpoints<Orientation> orientation)
Indicates how the menu will align at various breakpoints.
-
termWidth
public DescriptionList termWidth(String width)
-
that
public DescriptionList that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,DescriptionList>
-
-