|
||||||||||
| 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(File file)
Create a new PNG icon bundle from a base image that will be read from the specified file. |
|
PNGIconBundle(ImageInputStream imageInputStream)
Create a new PNG icon bundle from a base image that will be read from the specified image input stream. |
|
PNGIconBundle(InputStream inputStream)
Create a new PNG icon bundle from a base image that will be read from the specified input stream. |
|
PNGIconBundle(String baseImageName)
Create a new PNG icon bundle from a base image name. |
|
PNGIconBundle(URL url)
Create a new PNG icon bundle from a base image that will be read from the specified URL. |
|
| Method Summary | |
|---|---|
Image |
getImage(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(File file)
file - file, must not be nullpublic PNGIconBundle(InputStream inputStream)
inputStream - input stream, must not be nullpublic PNGIconBundle(ImageInputStream imageInputStream)
imageInputStream - image input stream, must not be nullpublic PNGIconBundle(URL url)
url - URL, must not be nullpublic PNGIconBundle(String baseImageName)
baseImageName + iconSize.toString() + ".png".
baseImageName - base image name, must not be null| Method Detail |
|---|
public Image getImage(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 | |||||||||