Schnittstelle IconLoader<ICON extends Icon<ICON,?>>

Typparameter:
ICON - The icon class this encoder can handle.
Alle bekannten Implementierungsklassen:
CompositeIconLoader

public interface IconLoader<ICON extends Icon<ICON,?>>
Loads icons, providing them in binary form.
  • Methodendetails

    • loadIcon

      IconResource loadIcon(ICON icon, int size, IconLoaderContext context)
      Loads an icon.

      The specified icon MUST have a style set (unless the STYLE type is Void). Callers need to ensure this!

      Implementations MAY therefore assume the icon's to be styled.

      Parameter:
      size - The size of the requested icon.
      Gibt zurück:
      The icon in binary form and type and size of the icon (as IconResource), or null, if the icon could not be loaded.