Class IconDesc

java.lang.Object
net.sourceforge.jnlp.IconDesc

public class IconDesc extends Object
The icon element.
  • Field Details

    • DEFAULT

      public static final Object DEFAULT
      default icon
    • SELECTED

      public static final Object SELECTED
      selected icon
    • DISABLED

      public static final Object DISABLED
      disabled icon
    • ROLLOVER

      public static final Object ROLLOVER
      rollover icon
    • SPLASH

      public static final Object SPLASH
      splash icon
    • SHORTCUT

      public static final Object SHORTCUT
      destop shortcut icon
  • Method Details

    • getLocation

      public URL getLocation()
      Returns:
      the location of the icon.
    • getKind

      public Object getKind()
      Returns:
      the icon type.
    • getWidth

      public int getWidth()
      Returns:
      the icon width or -1 if not specified in the JNLPFile.
    • getHeight

      public int getHeight()
      Returns:
      the icon height or -1 if not specified in the JNLPFile.
    • getSize

      public int getSize()
      Returns:
      the icon size or -1 if not specified in the JNLPFile.
    • getDepth

      public int getDepth()
      Returns:
      the icon depth or -1 if not specified in the JNLPFile.