|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.phoenix_int.aserver.util.PHXIcon
public class PHXIcon
This class provides utility functions for loading and creating an icon file
| Constructor Summary | |
|---|---|
PHXIcon()
creates an icon with values set to "unknown" |
|
PHXIcon(byte[] iconData,
java.lang.String iconType)
|
|
PHXIcon(java.lang.String iconFileName)
|
|
| Method Summary | |
|---|---|
byte[] |
getData()
retrieves the data for the image |
java.lang.String |
getType()
retrieves the type for the image |
java.awt.Image |
toImage()
converts the icon to an Image |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PHXIcon()
public PHXIcon(java.lang.String iconFileName)
throws java.io.IOException
iconFileName - the file containing the icon
java.io.IOException - thrown if there is a
problem opening or reading the icon file
public PHXIcon(byte[] iconData,
java.lang.String iconType)
iconData - the data making up the fileiconType - the data type (gif, jpg, etc)| Method Detail |
|---|
public byte[] getData()
public java.lang.String getType()
public java.awt.Image toImage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||