Class IconResource

java.lang.Object
javax.swing.ImageIcon
xal.extension.bricks.IconResource
All Implemented Interfaces:
Serializable, Accessible, Icon

public class IconResource extends ImageIcon
Icon identified by a URL
See Also:
  • Field Details

    • group

      protected final String group
      group of icons
    • iconName

      protected final String iconName
      icon name
  • Method Details

    • getURL

      public URL getURL()
      Get the icon's URL
      Returns:
      the icon's URL
    • getGroup

      public String getGroup()
      Get the icon's group
      Returns:
      the icon's group
    • getIconName

      public String getIconName()
      Get the icon's name
      Returns:
      the icon's name
    • toString

      public String toString()
      Description of this icon
      Overrides:
      toString in class ImageIcon
      Returns:
      the description of this icon