| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.util.mxImage
public class mxImage
Implements a 2-dimensional point with double precision coordinates.
| Field Summary | |
|---|---|
| protected  int | heightHolds the image width and height. | 
| protected  String | srcHolds the path or URL for the image. | 
| protected  int | widthHolds the image width and height. | 
| Constructor Summary | |
|---|---|
| mxImage(String src,
        int width,
        int height)Constructs a new point at (0, 0). | |
| Method Summary | |
|---|---|
|  int | getHeight() | 
|  String | getSrc() | 
|  int | getWidth() | 
|  void | setHeight(int height) | 
|  void | setSrc(String src) | 
|  void | setWidth(int width) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected String src
protected int width
protected int height
| Constructor Detail | 
|---|
public mxImage(String src,
               int width,
               int height)
| Method Detail | 
|---|
public String getSrc()
public void setSrc(String src)
src - the src to setpublic int getWidth()
public void setWidth(int width)
width - the width to setpublic int getHeight()
public void setHeight(int height)
height - the height to set| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||