Package org.teamapps.icons.spi
Schnittstelle IconDecoder<ICON extends Icon<ICON,?>>
- Typparameter:
ICON- The icon class this provider will return.
- Alle bekannten Implementierungsklassen:
CompositeIconDecoder
public interface IconDecoder<ICON extends Icon<ICON,?>>
Decodes icons from an encoded icon
Strings such as they are produced by the IconEncoder.
Implementations MUST provide a default constructor!
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdecodeIcon(String encodedIconString, IconDecoderContext context) Decodes an icon from an encoded iconString.
-
Methodendetails
-
decodeIcon
Decodes 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.
- Parameter:
encodedIconString- The encoded icon String as produced by the correspondingIconEncoder.- Gibt zurück:
- The icon.
-