|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectyext.svg.view.SVGIcon
public class SVGIcon
An icon implementation that can display SVG graphics
| Constructor Summary | |
|---|---|
SVGIcon()
Creates a new SVGIcon that is not yet bound to any SVG model or URL. |
|
SVGIcon(SVGModel model)
Creates a new SVGIcon that displays the given SVG model |
|
SVGIcon(URL svgURL)
Creates a new SVGIcon that displays the SVG graphics loaded from the given URL. |
|
| Method Summary | |
|---|---|
int |
getIconHeight()
|
int |
getIconWidth()
|
SVGModel |
getModel()
Returns the underlying SVG model of this class. |
void |
paintIcon(Component c,
Graphics gfx,
int x,
int y)
|
void |
setModel(SVGModel model)
Sets the underlying SVG model of this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGIcon(URL svgURL)
public SVGIcon(SVGModel model)
public SVGIcon()
| Method Detail |
|---|
public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Icon
public void paintIcon(Component c,
Graphics gfx,
int x,
int y)
paintIcon in interface Iconpublic SVGModel getModel()
public void setModel(SVGModel model)
|
© Copyright 2000-2007, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||