|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDefaultContext
org.eclipse.graphiti.features.context.impl.LocationContext
public class LocationContext
The Class LocationContext.
Field Summary | |
---|---|
private int |
x
|
private int |
y
|
Constructor Summary | |
---|---|
LocationContext()
Creates a new LocationContext . |
|
LocationContext(int x,
int y)
Creates a new LocationContext . |
Method Summary | |
---|---|
int |
getX()
Gets the x. |
int |
getY()
Gets the y. |
void |
setLocation(int x,
int y)
Sets the location. |
void |
setX(int x)
Sets the x. |
void |
setY(int y)
Sets the y. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.graphiti.IPropertyBag |
---|
getProperty, getPropertyKeys, putProperty |
Field Detail |
---|
private int x
private int y
Constructor Detail |
---|
public LocationContext(int x, int y)
LocationContext
.
x
- the xy
- the ypublic LocationContext()
LocationContext
.
Method Detail |
---|
public int getX()
ILocationContext
getX
in interface ILocationContext
public int getY()
ILocationContext
getY
in interface ILocationContext
public void setLocation(int x, int y)
x
- the xy
- the ypublic void setX(int x)
x
- The x to set.public void setY(int y)
y
- The y to set.public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |