public class ResizeShapeContext extends ResizeContext implements IResizeShapeContext
DIRECTION_EAST, DIRECTION_NORTH, DIRECTION_NORTH_EAST, DIRECTION_NORTH_WEST, DIRECTION_SOUTH, DIRECTION_SOUTH_EAST, DIRECTION_SOUTH_WEST, DIRECTION_UNSPECIFIED, DIRECTION_WEST| Constructor and Description |
|---|
ResizeShapeContext(Shape shape)
Creates a new
ResizeShapeContext. |
| Modifier and Type | Method and Description |
|---|---|
int |
getDirection()
Returns the specified direction.
|
PictogramElement |
getPictogramElement()
Gets the pictogram element.
|
Shape |
getShape()
Gets the shape.
|
void |
setDirection(int direction) |
java.lang.String |
toString() |
getHeight, getWidth, setHeight, setSize, setWidthgetX, getY, setLocation, setX, setYgetProperty, getPropertyKeys, putPropertyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeight, getWidthgetX, getYgetProperty, getPropertyKeys, putPropertypublic ResizeShapeContext(Shape shape)
ResizeShapeContext.shape - the shapepublic Shape getShape()
getShape in interface IResizeShapeContextpublic PictogramElement getPictogramElement()
IPictogramElementContextgetPictogramElement in interface IPictogramElementContextpublic java.lang.String toString()
toString in class AreaContextpublic int getDirection()
IResizeShapeContextIResizeShapeContext#NORTH, IResizeShapeContext#NORTH_EAST
, etc.getDirection in interface IResizeShapeContextpublic void setDirection(int direction)