Top Fields Constructors Methods
org.kordamp.ikonli.swing

public Class IkonResolver

extends AbstractIkonResolver
Class Inheritance
Imports
org.kordamp.ikonli.AbstractIkonResolver, .IkonHandler, java.awt.*, java.io.IOException, .InputStream, java.util.LinkedHashSet, .ServiceLoader, .Set

Author
Andres Almiray

Field Summary

Modifier and TypeField and Description
private static final Set<IkonHandler>
private static final Set<IkonHandler>
private static final IkonResolver

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static IkonResolver
public boolean

Returns:

true if the specified handler was not already registered
registerHandler
(IkonHandler handler)

public IkonHandler
resolve(String value)

public boolean

Returns:

true if the specified handler was removed from the set of handlers
unregisterHandler
(IkonHandler handler)

Inherited from org.kordamp.ikonli.AbstractIkonResolver:
registerHandlerresolveresolveServiceLoaderunregisterHandler

Field Detail

CUSTOM_HANDLERSback to summary
private static final Set<IkonHandler> CUSTOM_HANDLERS
HANDLERSback to summary
private static final Set<IkonHandler> HANDLERS
INSTANCEback to summary
private static final IkonResolver INSTANCE

Constructor Detail

IkonResolverback to summary
private IkonResolver()

Method Detail

getInstanceback to summary
public static IkonResolver getInstance()
registerHandlerback to summary
public boolean registerHandler(IkonHandler handler)
Returns:boolean

true if the specified handler was not already registered

Exceptions
IllegalArgumentException:
if the specified handler was already registered via classpath and property "-Dorg.kordamp.ikonli.strict" is set to true or null.
resolveback to summary
public IkonHandler resolve(String value)
unregisterHandlerback to summary
public boolean unregisterHandler(IkonHandler handler)
Returns:boolean

true if the specified handler was removed from the set of handlers

Exceptions
IllegalArgumentException:
if the specified handler was registered via classpath and property "-Dorg.kordamp.ikonli.strict" is set to true or null.