|
GEF v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.eclipse.gef.Request
|
+--org.eclipse.gef.requests.GroupRequest
|
+--org.eclipse.gef.requests.ChangeBoundsRequest
A Request to change the bounds the EditPart(s).
| Constructor Summary | |
ChangeBoundsRequest()
Default constructor. |
|
ChangeBoundsRequest(Object type)
Creates a ChangeBoundsRequest with the given type. |
|
| Method Summary | |
Point |
getLocation()
Returns the location of the mouse pointer. |
Point |
getMouseLocation()
Deprecated. |
Point |
getMoveDelta()
Returns a Point representing the distance the EditPart has moved. |
int |
getResizeDirection()
Returns the direction the figure is being resized. |
Dimension |
getSizeDelta()
Returns a Dimension representing how much the EditPart has been resized. |
Rectangle |
getTransformedRectangle(Rectangle rect)
Returns a Rectangle representing the new bounds. |
void |
setLocation(Point p)
Sets the location of the mouse pointer. |
void |
setMouseLocation(Point p)
Deprecated. |
void |
setMoveDelta(Point p)
Sets the move delta. |
void |
setResizeDirection(int dir)
Sets the direction the figure is being resized. |
void |
setSizeDelta(Dimension d)
Sets the size delta. |
| Methods inherited from class org.eclipse.gef.requests.GroupRequest |
getEditParts, setEditParts, setEditParts |
| Methods inherited from class org.eclipse.gef.Request |
getType, setType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChangeBoundsRequest()
public ChangeBoundsRequest(Object type)
type - The type of Request.| Method Detail |
public Point getLocation()
getLocation in interface DropRequestpublic Point getMouseLocation()
public Point getMoveDelta()
public int getResizeDirection()
public Dimension getSizeDelta()
public Rectangle getTransformedRectangle(Rectangle rect)
public void setMoveDelta(Point p)
p - The Point representing the move delta.public void setResizeDirection(int dir)
public void setMouseLocation(Point p)
public void setLocation(Point p)
p - The location of the mouse pointer.public void setSizeDelta(Dimension d)
d - The Dimension representing the size delta.
|
GEF v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||