|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.ImageIcon
An IIcon
implementation for images specified as
a class name of the client application or as an URL.
Constructor Summary | |
ImageIcon(double width,
double height)
Creates a new instance with the given width and height |
Method Summary | |
java.lang.String |
getClassName()
Get the class name of the Flex client's class that is used for creating icon instances. |
double |
getHeight()
The width of the icon. |
java.lang.String |
getURL()
Get the url where the icon image is loaded from. |
double |
getWidth()
The width of the icon. |
void |
setClassName(java.lang.String className)
Set the class name of the Flex client's class that is used for creating icon instances. |
void |
setHeight(double height)
Set the height of the icon. |
void |
setURL(java.lang.String url)
Set the url where the icon image is loaded from. |
void |
setWidth(double width)
Set the width of the icon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageIcon(double width, double height)
width
- The icon's widthheight
- The icon's heightMethod Detail |
public double getWidth()
getWidth
in interface IIcon
public void setWidth(double width)
public double getHeight()
getHeight
in interface IIcon
public void setHeight(double height)
public void setClassName(java.lang.String className)
public void setURL(java.lang.String url)
public java.lang.String getClassName()
public java.lang.String getURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |