|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.iconbundle.impl.SVGIconBundle
public final class SVGIconBundle
Icon bundle derived from a single scalable base image in SVG format.
| Constructor Summary | |
|---|---|
SVGIconBundle(java.io.File file)
Create a new SVG icon bundle from a base scalable image that will be read from the specified file. |
|
SVGIconBundle(java.net.URL url)
Create a new SVG icon bundle from a base scalable image that will 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 SVGIconBundle(java.io.File file)
file - file, must not be nullpublic SVGIconBundle(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 | |||||||||