Package org.teamapps.icons.composite
Class CompositeIconLoader
java.lang.Object
org.teamapps.icons.composite.CompositeIconLoader
- All Implemented Interfaces:
IconLoader<CompositeIcon,java.lang.Void>
public class CompositeIconLoader extends java.lang.Object implements IconLoader<CompositeIcon,java.lang.Void>
-
Constructor Summary
Constructors Constructor Description CompositeIconLoader() -
Method Summary
Modifier and Type Method Description IconResourceloadIcon(CompositeIcon icon, int size, IconLoaderContext context)Loads an icon.
-
Constructor Details
-
CompositeIconLoader
public CompositeIconLoader()
-
-
Method Details
-
loadIcon
Description copied from interface:IconLoaderLoads 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.
- Specified by:
loadIconin interfaceIconLoader<CompositeIcon,java.lang.Void>size- The size of the requested icon.- Returns:
- The icon in binary form and type and size of the icon (as
IconResource), or null, if the icon could not be loaded.
-