Class IkonResolver


  • public class IkonResolver
    extends org.kordamp.ikonli.AbstractIkonResolver
    Author:
    Andres Almiray
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static IkonResolver getInstance()  
      boolean registerHandler​(org.kordamp.ikonli.IkonHandler handler)  
      org.kordamp.ikonli.IkonHandler resolve​(java.lang.String value)  
      boolean unregisterHandler​(org.kordamp.ikonli.IkonHandler handler)  
      • Methods inherited from class org.kordamp.ikonli.AbstractIkonResolver

        registerHandler, resolve, resolveServiceLoader, unregisterHandler
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • registerHandler

        public boolean registerHandler​(org.kordamp.ikonli.IkonHandler handler)
        Returns:
        true if the specified handler was not already registered
        Throws:
        java.lang.IllegalArgumentException - if the specified handler was already registered via classpath and property "-Dorg.kordamp.ikonli.strict" is set to true or null.
      • unregisterHandler

        public boolean unregisterHandler​(org.kordamp.ikonli.IkonHandler handler)
        Returns:
        true if the specified handler was removed from the set of handlers
        Throws:
        java.lang.IllegalArgumentException - if the specified handler was registered via classpath and property "-Dorg.kordamp.ikonli.strict" is set to true or null.
      • resolve

        public org.kordamp.ikonli.IkonHandler resolve​(java.lang.String value)