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

All Superinterfaces:
IsElement<E>, TypedBuilder<E,B>
All Known Implementing Classes:
Button, HelperTextItem, Label, MenuItem, MenuToggle, ToggleGroupItem

public interface ComponentIconAndText<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 and a text and where the order is important.
  • Method Details

    • iconAndText

      default B iconAndText(org.patternfly.icon.PredefinedIcon icon, String text)
    • iconAndText

      default B iconAndText(org.patternfly.icon.PredefinedIcon icon, String text, IconPosition position)
    • iconAndText

      B iconAndText(Element icon, String text, IconPosition iconPosition)