|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.tb.AbstractDecorator
org.eclipse.graphiti.tb.ImageDecorator
public class ImageDecorator
The Class ImageDecorator.
| Field Summary | |
|---|---|
private static int |
DEFAULT_LOCATION
|
private java.lang.String |
imageId
|
private int |
x
|
private int |
y
|
| Constructor Summary | |
|---|---|
ImageDecorator(java.lang.String imageId)
Creates a new ImageDecorator. |
|
| Method Summary | |
|---|---|
java.lang.String |
getImageId()
Gets the image id. |
int |
getX()
Gets the x value. |
int |
getY()
Gets the y value. |
private void |
setImageId(java.lang.String imageId)
|
void |
setX(int x)
Sets the x coordinate of this location. |
void |
setY(int y)
Sets the y coordinate of this location. |
| Methods inherited from class org.eclipse.graphiti.tb.AbstractDecorator |
|---|
getMessage, setMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.graphiti.tb.IDecorator |
|---|
getMessage, setMessage |
| Field Detail |
|---|
private static final int DEFAULT_LOCATION
private java.lang.String imageId
private int y
private int x
| Constructor Detail |
|---|
public ImageDecorator(java.lang.String imageId)
ImageDecorator.
imageId - the image id| Method Detail |
|---|
public java.lang.String getImageId()
IImageDecorator
getImageId in interface IImageDecoratorpublic int getX()
ILocation
getX in interface ILocationpublic int getY()
ILocation
getY in interface ILocationpublic void setX(int x)
ILocation
setX in interface ILocationx - the new x coordinatepublic void setY(int y)
ILocation
setY in interface ILocationy - the new y coordinateprivate void setImageId(java.lang.String imageId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||