|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsources.MapImage
This class represents an image file that can be imported into VanGogh
Constructor Summary | |
MapImage(java.awt.Image im,
double x,
double y,
double width,
double height,
java.lang.String name)
Creates new MapImage |
Method Summary | |
static MapImage |
createMapImageFromFile(java.lang.String filename,
java.awt.Component com)
|
double |
getHeight()
Getter for property height. |
java.awt.Image |
getImage()
Getter for property image. |
java.lang.String |
getName()
Getter for property name. |
double |
getWidth()
Getter for property width. |
double |
getX()
Getter for property x. |
double |
getY()
Getter for property y. |
static void |
main(java.lang.String[] args)
|
void |
setHeight(double height)
Setter for property height. |
void |
setImage(java.awt.Image image)
Setter for property image. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setWidth(double width)
Setter for property width. |
void |
setX(double x)
Setter for property x. |
void |
setY(double y)
Setter for property y. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapImage(java.awt.Image im, double x, double y, double width, double height, java.lang.String name)
Method Detail |
public double getHeight()
public void setHeight(double height)
height
- New value of property height.public java.awt.Image getImage()
public void setImage(java.awt.Image image)
image
- New value of property image.public double getWidth()
public void setWidth(double width)
width
- New value of property width.public double getX()
public void setX(double x)
x
- New value of property x.public double getY()
public void setY(double y)
y
- New value of property y.public static MapImage createMapImageFromFile(java.lang.String filename, java.awt.Component com)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- New value of property name.public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |