|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.gameleader.animation2D.ImageDataElement
The ImageDataElement contains data in order to facilitate displaying images on a remote animation panel.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.
Constructor Summary | |
ImageDataElement(java.lang.String type,
java.lang.String key,
nl.tudelft.simulation.language.d3.DirectedPoint location,
java.lang.String image)
constructs a new ImageDataElement |
Method Summary | |
java.lang.String |
getImage()
returns the url of the image as a String |
java.lang.String |
getKey()
method get key |
double[] |
getPoint()
|
java.lang.String |
getType()
Method getType returns a String reflecting the type of image, e.g. |
void |
setPoints(nl.tudelft.simulation.language.d3.DirectedPoint point)
sets the directed point |
void |
setPoints(double[] points)
sets the directed point |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageDataElement(java.lang.String type, java.lang.String key, nl.tudelft.simulation.language.d3.DirectedPoint location, java.lang.String image)
type
- the type of the imagekey
- the keylocation
- the locationimage
- the url of the image as a stringMethod Detail |
public double[] getPoint()
getPoint
in interface ImageDataInterface
ImageDataInterface.getPoint()
public void setPoints(double[] points)
ImageDataInterface
setPoints
in interface ImageDataInterface
points
- the points reflecting the directed pointImageDataInterface.setPoints(double[])
public void setPoints(nl.tudelft.simulation.language.d3.DirectedPoint point)
point
- the directed pointpublic java.lang.String getKey()
ImageDataInterface
getKey
in interface ImageDataInterface
ImageDataInterface.getKey()
public java.lang.String getType()
ImageDataInterface
getType
in interface ImageDataInterface
ImageDataInterface.getType()
public java.lang.String getImage()
ImageDataInterface
getImage
in interface ImageDataInterface
ImageDataInterface.getImage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |