|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kitfox.svg.app.beans.SVGIcon
org.tbee.swing.svg.SVGIcon
public class SVGIcon
Use a SVG as an Icon (based on SVGSalamander) SVGIcon is very slow, use SVGUtils to generate images.
| Field Summary | |
|---|---|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Fields inherited from class com.kitfox.svg.app.beans.SVGIcon |
|---|
INTERP_BICUBIC, INTERP_BILINEAR, INTERP_NEAREST_NEIGHBOR |
| Constructor Summary | |
|---|---|
SVGIcon()
|
|
SVGIcon(InputStream is)
|
|
SVGIcon(String uri)
|
|
| Method Summary | |
|---|---|
Object |
clone()
get a copy |
SVGIcon |
cloneIdentical()
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Force the icon to be painted centered and full component size |
| Methods inherited from class com.kitfox.svg.app.beans.SVGIcon |
|---|
addPropertyChangeListener, getAntiAlias, getIconHeight, getIconWidth, getInterpolation, getPreferredSize, getSvgUniverse, getSvgURI, getUseAntiAlias, isClipToViewbox, isScaleToFit, removePropertyChangeListener, setAntiAlias, setClipToViewbox, setInterpolation, setPreferredSize, setScaleToFit, setSvgResourcePath, setSvgUniverse, setSvgURI, setUseAntiAlias |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.Icon |
|---|
getIconHeight, getIconWidth |
| Field Detail |
|---|
public static final String SOURCECODE_VERSION
| Constructor Detail |
|---|
public SVGIcon()
public SVGIcon(String uri)
throws URISyntaxException
URISyntaxExceptionpublic SVGIcon(InputStream is)
| Method Detail |
|---|
public void paintIcon(Component c,
Graphics g,
int x,
int y)
paintIcon in interface IconpaintIcon in class com.kitfox.svg.app.beans.SVGIconpublic Object clone()
clone in class Objectpublic SVGIcon cloneIdentical()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||