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

All Superinterfaces:
IsElement<E>, TypedBuilder<E,B>
All Known Implementing Classes:
Alert, Button, CodeBlockAction, DataListCell, DescriptionListTerm, EmptyState, HelperTextItem, InputGroupText, Label, ListItem, MenuItem, MenuItemAction, MenuToggle, ModalHeaderTitle, NavigationItem, NotificationBadge, Popover, ProgressStep, Tab, TextInput, TextInputGroupMain, TitleCell, ToggleGroupItem, TreeViewItem

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 org.jboss.elemento.IsElement

    element

    Methods inherited from interface org.jboss.elemento.TypedBuilder

    that
  • Method Details

    • icon

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

      B icon(Element icon)
    • removeIcon

      B removeIcon()