Homepage | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
netx.jnlp.IconDesc
public class IconDesc
extends java.lang.Object
Field Summary | |
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
Constructor Summary | |
|
Method Summary | |
int |
|
int |
|
Object |
|
URL |
|
int |
|
int |
|
public static final Object DEFAULT
default icon
public static final Object DISABLED
disabled icon
public static final Object ROLLOVER
rollover icon
public static final Object SELECTED
selected icon
public static final Object SPLASH
splash icon
(package private) IconDesc(URL location, Object kind, int width, int height, int depth, int size)
Creates an icon descriptor with the specified information.
- Parameters:
location
- the location of the iconkind
- the type of iconwidth
- the width, or -1 if unknownheight
- the height, or -1 if unknowndepth
- the depth, or -1 if unknownsize
- the size, or -1 if unknown
public int getDepth()
Returns the icon depth or -1 if not specified in the JNLPFile.
public int getHeight()
Returns the icon height or -1 if not specified in the JNLPFile.
public Object getKind()
Returns the icon type.
public URL getLocation()
Returns the location of the icon.
public int getSize()
Returns the icon size or -1 if not specified in the JNLPFile.
public int getWidth()
Returns the icon width or -1 if not specified in the JNLPFile.