Package org.teamapps.icons.composite
Class CompositeIconDecoder
- java.lang.Object
-
- org.teamapps.icons.composite.CompositeIconDecoder
-
- All Implemented Interfaces:
IconDecoder<CompositeIcon>
public class CompositeIconDecoder extends java.lang.Object implements IconDecoder<CompositeIcon>
-
-
Constructor Summary
Constructors Constructor Description CompositeIconDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompositeIcondecodeIcon(java.lang.String encodedIconString, IconDecoderContext context)Decodes an icon from an encoded iconString.
-
-
-
Method Detail
-
decodeIcon
public CompositeIcon decodeIcon(java.lang.String encodedIconString, IconDecoderContext context)
Description copied from interface:IconDecoderDecodes an icon from an encoded iconString.Implementations MUST return an icon, even if the requested size is not available. In this case, a larger or smaller icon should be returned. The resizing will be done elsewhere.
Implementations MUST support unstyled icons.
- Specified by:
decodeIconin interfaceIconDecoder<CompositeIcon>- Parameters:
encodedIconString- The encoded icon String as produced by the correspondingIconEncoder.- Returns:
- The icon.
-
-