Interface IconFactory<T extends com.vaadin.flow.component.Component>

Type Parameters:
T - the type of Component that the factory creates
All Known Implementing Classes:
JmixFontIcon

public interface IconFactory<T extends com.vaadin.flow.component.Component>
Interface for enumerations representing a factory for creating icons.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new instance of a component representing an icon.
    Returns an icon name.
  • Method Details

    • name

      String name()
      Returns an icon name.
      Returns:
      an icon name, e.g. "OK", "CREATE_ACTION", "CHECK".
    • create

      T create()
      Creates a new instance of a component representing an icon.
      Returns:
      a new instance of a component representing an icon