public class ImageDecorator extends AbstractDecorator implements IImageDecorator
IDecorator
.Constructor and Description |
---|
ImageDecorator(String imageId)
Creates a new image decorator that decorates a shape with the image
identified by the given image id.
|
Modifier and Type | Method and Description |
---|---|
String |
getImageId()
Gets the image id of the image used to decorate a shape.
|
int |
getX()
Gets the x value.
|
int |
getY()
Gets the y value.
|
void |
setX(int x)
Sets the x coordinate of this location.
|
void |
setY(int y)
Sets the y coordinate of this location.
|
getMessage, setMessage
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, setMessage
public String getImageId()
IImageDecorator
getImageId
in interface IImageDecorator
String
holding the image idpublic int getX()
ILocation
public int getY()
ILocation
public void setX(int x)
ILocation