Klasse CompositeIconLoader

java.lang.Object
org.teamapps.icons.composite.CompositeIconLoader
Alle implementierten Schnittstellen:
IconLoader<CompositeIcon>

public class CompositeIconLoader extends Object implements IconLoader<CompositeIcon>
  • Konstruktordetails

    • CompositeIconLoader

      public CompositeIconLoader()
  • Methodendetails

    • loadIcon

      public IconResource loadIcon(CompositeIcon icon, int size, IconLoaderContext context)
      Beschreibung aus Schnittstelle kopiert: IconLoader
      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.

      Angegeben von:
      loadIcon in Schnittstelle IconLoader<CompositeIcon>
      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.