Rectangle2DChangeStrategy. Checks whether the specified points are not-null
and the "begin-continue-end"-contract.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | beforeBegin
Indicates whether |
| Access | Constructor and Description |
|---|---|
| protected | AbstractBeginEndCheckingChangeStrategy()
Creates a change strategy which checks whether begin and end are correctly called. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public final Rectangle2D | beginChange(Point2D point)
Implements impl. Begins the change at the specified point. |
| public final Rectangle2D | continueChange(Point2D point)
Implements impl. Continues the change to the specified point. |
| protected abstract Rectangle2D | |
| protected abstract Rectangle2D | Returns: the new rectanglea point point)Continues the change to the specified point. |
| protected abstract Rectangle2D | |
| public final Rectangle2D | endChange(Point2D point)
Implements impl. Ends the change at the specified point. |
| beforeBegin | back to summary |
|---|---|
| private boolean beforeBegin Indicates whether | |
| AbstractBeginEndCheckingChangeStrategy | back to summary |
|---|---|
| protected AbstractBeginEndCheckingChangeStrategy() Creates a change strategy which checks whether begin and end are correctly called. | |
| afterEndHook | back to summary |
|---|---|
| protected void afterEndHook(Point2D point) Called after the change ends at the specified point.
| |
| beforeBeginHook | back to summary |
|---|---|
| protected void beforeBeginHook(Point2D point) Called before the change begins at the specified point.
| |
| beginChange | back to summary |
|---|---|
| public final Rectangle2D beginChange(Point2D point) Implements impl. Doc from impl. Begins the change at the specified point.
| |
| continueChange | back to summary |
|---|---|
| public final Rectangle2D continueChange(Point2D point) Implements impl. Doc from impl. Continues the change to the specified point. Must not be called before a call to
| |
| doBegin | back to summary |
|---|---|
| protected abstract Rectangle2D doBegin(Point2D point) Begins the change at the specified point.
| |
| doContinue | back to summary |
|---|---|
| protected abstract Rectangle2D doContinue(Point2D point) Continues the change to the specified point. Must not be called before a call to
| |
| doEnd | back to summary |
|---|---|
| protected abstract Rectangle2D doEnd(Point2D point) Ends the change at the specified point. Must not be called before a call to
| |
| endChange | back to summary |
|---|---|
| public final Rectangle2D endChange(Point2D point) Implements impl. Doc from impl. Ends the change at the specified point. Must not be called before a call to
| |