Annotation Type IconLibrary


@Retention(RUNTIME)
public @interface IconLibrary
Defines an IconLibrary. Icon classes SHOULD be annotated with this annotation.

All of the classes specified in this annotation MUST provide a default constructor!

  • Element Details

    • name

      java.lang.String name
      Returns:
      The name of this icon library. Should consist only of characters, digits and underscores. No "." allowed!
    • encoder

      java.lang.Class<? extends IconEncoder> encoder
      Returns:
      The IconEncoder class that handles these icons.
    • decoder

      java.lang.Class<? extends IconDecoder> decoder
      Returns:
      The IconDecoder class that handles these icons.
    • loader

      java.lang.Class<? extends IconLoader> loader
      Returns:
      The IconLoader class that handles these icons.
    • defaultStyleSupplier

      java.lang.Class<? extends DefaultStyleSupplier> defaultStyleSupplier
      Returns:
      A supplier class supplying the default style for this icon library.