|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.iconbundle.impl.PNGIconBundle
public final class PNGIconBundle
Icon bundle derived from a single base image in PNG format.
| Constructor Summary | |
|---|---|
PNGIconBundle(java.io.File file)
Create a new PNG icon bundle from a base image that will be read from the specified file. |
|
PNGIconBundle(javax.imageio.stream.ImageInputStream imageInputStream)
Create a new PNG icon bundle from a base image that will be read from the specified image input stream. |
|
PNGIconBundle(java.io.InputStream inputStream)
Create a new PNG icon bundle from a base image that will be read from the specified input stream. |
|
PNGIconBundle(java.net.URL url)
Create a new PNG icon bundle from a base image that will be read from the specified URL. |
|
| Method Summary | |
|---|---|
java.awt.Image |
getImage(java.awt.Component component,
IconTextDirection direction,
IconState state,
IconSize size)
Return an icon image in the specified icon text direction, size, and state suitable for the specified component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PNGIconBundle(java.io.File file)
file - file, must not be nullpublic PNGIconBundle(java.io.InputStream inputStream)
inputStream - input stream, must not be nullpublic PNGIconBundle(javax.imageio.stream.ImageInputStream imageInputStream)
imageInputStream - image input stream, must not be nullpublic PNGIconBundle(java.net.URL url)
url - URL, must not be null| Method Detail |
|---|
public java.awt.Image getImage(java.awt.Component component,
IconTextDirection direction,
IconState state,
IconSize size)
getImage in interface IconBundlecomponent - AWT or Swing component hint, if anydirection - icon text direction, must not be nullstate - icon state, must not be nullsize - icon size, must not be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||