|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ucware.icontools.IcoIcon
public class IcoIcon
An implementation of the Icon interface that paints Icons from the ICO file format. The ICO file format is an image file format used for icons in Microsoft Windows.
Constructor Summary | |
---|---|
IcoIcon(com.ucware.coff.rticon.IcoEntry icoEntry)
|
Method Summary | |
---|---|
int |
getBiBitCount()
Specifies the number of bits-per-pixel. |
com.ucware.coff.rticon.IcoEntry |
getIcoEntry()
Returns the IcoEntry for this icon. |
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's width. |
java.awt.Image |
getImage()
Returns the Image for this icon. |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Draw the icon at the specified location. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IcoIcon(com.ucware.coff.rticon.IcoEntry icoEntry)
Method Detail |
---|
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getBiBitCount()
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
public com.ucware.coff.rticon.IcoEntry getIcoEntry()
public java.awt.Image getImage()
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |