Package net.sourceforge.jnlp
Class IconDesc
- java.lang.Object
-
- net.sourceforge.jnlp.IconDesc
-
public class IconDesc extends java.lang.ObjectThe icon element.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.ObjectDEFAULTdefault iconstatic java.lang.ObjectDISABLEDdisabled iconstatic java.lang.ObjectROLLOVERrollover iconstatic java.lang.ObjectSELECTEDselected iconstatic java.lang.ObjectSHORTCUTdestop shortcut iconstatic java.lang.ObjectSPLASHsplash icon
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDepth()intgetHeight()java.lang.ObjectgetKind()java.net.URLgetLocation()intgetSize()intgetWidth()
-
-
-
Field Detail
-
DEFAULT
public static final java.lang.Object DEFAULT
default icon
-
SELECTED
public static final java.lang.Object SELECTED
selected icon
-
DISABLED
public static final java.lang.Object DISABLED
disabled icon
-
ROLLOVER
public static final java.lang.Object ROLLOVER
rollover icon
-
SPLASH
public static final java.lang.Object SPLASH
splash icon
-
SHORTCUT
public static final java.lang.Object SHORTCUT
destop shortcut icon
-
-
Method Detail
-
getLocation
public java.net.URL getLocation()
- Returns:
- the location of the icon.
-
getKind
public java.lang.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.
-
-