Class IconFactory

java.lang.Object
org.fife.rsta.ac.css.IconFactory

final class IconFactory extends Object
The icons for CSS properties and values.
Version:
1.0
  • Field Details

  • Constructor Details

    • IconFactory

      private IconFactory()
      Private constructor to prevent instantiation.
  • Method Details

    • get

      public static IconFactory get()
      Returns the singleton instance of this class.
      Returns:
      The singleton instance.
    • getIcon

      public Icon getIcon(String key)
      Returns the icon requested.
      Parameters:
      key - The key for the icon.
      Returns:
      The icon.
    • loadIcon

      private Icon loadIcon(String name)
      Loads an icon by file name.
      Parameters:
      name - The icon file name.
      Returns:
      The icon.