|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.MoveSnapContext.MovingInfo
y.view.MoveSnapContext.MovingBendInfo
public static final class MoveSnapContext.MovingBendInfo
Concrete subclass of MoveSnapContext.MovingInfo that
describes the movement of a Bend.

| Constructor Summary | |
|---|---|
MoveSnapContext.MovingBendInfo(Bend bend,
YPoint originalLocation,
byte mode)
Creates a new instance for the given bend, location and mode |
|
| Method Summary | |
|---|---|
void |
applyLocation(double dx,
double dy)
Calls Bend.setLocation(double, double) according to the movement constraints. |
Bend |
getBend()
Yields the bend that is moved. |
| Methods inherited from class y.view.MoveSnapContext.MovingInfo |
|---|
getOriginalLocation, isFreelyMovable, isHorizontallyFixed, isVerticallyFixed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoveSnapContext.MovingBendInfo(Bend bend,
YPoint originalLocation,
byte mode)
bend - The bend to moveoriginalLocation - The location of the bend before the move started.mode - The mode of the movement, which is a bitwise combination of MoveSnapContext.MOVE_X,
MoveSnapContext.MOVE_Y, or MoveSnapContext.MOVE_XY.| Method Detail |
|---|
public Bend getBend()
public void applyLocation(double dx,
double dy)
Bend.setLocation(double, double) according to the movement constraints.
applyLocation in class MoveSnapContext.MovingInfodx - The delta in x coordinate direction of the move since the movement started.dy - The delta in y coordinate direction of the move since the movement started.
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||