Interface ComponentIcon<E extends Element, B extends TypedBuilder<E,B>>

All Superinterfaces:
IsElement<E>, TypedBuilder<E,B>
All Known Implementing Classes:
Alert, BaseFilterInput, BaseSearchInput, BaseTextInputGroup, Button, CodeBlockAction, DataListCell, DescriptionListTerm, EmptyState, FilterInput, HelperTextItem, InputGroupText, Label, ListItem, MenuItem, MenuItemAction, MenuToggle, ModalHeaderTitle, NavigationItem, PageHeader, Popover, PopperPopover, ProgressStep, SearchInput, ServiceCard, Tab, TextInput, TextInputGroup, TitleCell, ToggleGroupItem, TreeViewItem, WizardNavItem

public interface ComponentIcon<E extends Element, B extends TypedBuilder<E,B>> extends TypedBuilder<E,B>, IsElement<E>
Interface to be implemented by (sub)components that have an icon.
  • Method Summary

    Modifier and Type
    Method
    Description
    icon(Element icon)
     
    default B
    icon(org.patternfly.icon.PredefinedIcon icon)
     
     

    Methods inherited from interface IsElement

    element

    Methods inherited from interface TypedBuilder

    that
  • Method Details

    • icon

      default B icon(org.patternfly.icon.PredefinedIcon icon)
    • icon

      B icon(Element icon)
    • removeIcon

      B removeIcon()