|
||||||||||
| 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 java.lang.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(java.io.InputStream is)
|
|
SVGIcon(java.lang.String uri)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
get a copy |
SVGIcon |
cloneIdentical()
|
void |
paintIcon(java.awt.Component c,
java.awt.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 java.lang.String SOURCECODE_VERSION
| Constructor Detail |
|---|
public SVGIcon()
public SVGIcon(java.lang.String uri)
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic SVGIcon(java.io.InputStream is)
| Method Detail |
|---|
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.IconpaintIcon in class com.kitfox.svg.app.beans.SVGIconpublic java.lang.Object clone()
clone in class java.lang.Objectpublic SVGIcon cloneIdentical()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||