|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface GenericEdgeRealizer.BendHandler
This interface is used as a callback by GenericEdgeRealizer
to handle the list of bends.
Method Summary | |
---|---|
void |
bendChanged(EdgeRealizer context,
BendList bends,
Bend b,
double oldX,
double oldY)
Callback method for EdgeRealizer.bendChanged(Bend, double, double) |
Bend |
createBend(EdgeRealizer context,
BendList bends,
double x,
double y,
Bend refBend,
int dir)
Callback method for EdgeRealizer.createBend(double, double, Bend, int) |
int |
getMinBendCount(EdgeRealizer context)
Callback method for EdgeRealizer.getMinBendCount() |
Bend |
insertBend(EdgeRealizer context,
BendList bends,
double x,
double y)
Callback method for EdgeRealizer.insertBend(double, double) |
void |
reInsertBend(EdgeRealizer context,
BendList bends,
Bend bend,
Bend refBend,
int dir)
Callback method for EdgeRealizer.reInsertBend(Bend, Bend, int) |
Bend |
removeBend(EdgeRealizer context,
BendList bends,
Bend b)
Callback method for EdgeRealizer.removeBend(Bend) |
Method Detail |
---|
int getMinBendCount(EdgeRealizer context)
EdgeRealizer.getMinBendCount()
context
- the context EdgeRealizer
EdgeRealizer.getMinBendCount()
void reInsertBend(EdgeRealizer context, BendList bends, Bend bend, Bend refBend, int dir)
EdgeRealizer.reInsertBend(Bend, Bend, int)
context
- the context EdgeRealizerbends
- the current BendListbend
- the bend to be reinsertedrefBend
- the reference benddir
- the direction of the insertion, either Graph.BEFORE
or Graph.AFTER
EdgeRealizer.reInsertBend(Bend, Bend, int)
Bend removeBend(EdgeRealizer context, BendList bends, Bend b)
EdgeRealizer.removeBend(Bend)
context
- the context EdgeRealizerbends
- the current BendListb
- the bend to be removedEdgeRealizer.removeBend(Bend)
Bend createBend(EdgeRealizer context, BendList bends, double x, double y, Bend refBend, int dir)
EdgeRealizer.createBend(double, double, Bend, int)
context
- the context EdgeRealizerbends
- the current BendListEdgeRealizer.createBend(double, double, Bend, int)
Bend insertBend(EdgeRealizer context, BendList bends, double x, double y)
EdgeRealizer.insertBend(double, double)
context
- the context EdgeRealizerbends
- the current BendListEdgeRealizer.insertBend(double, double)
void bendChanged(EdgeRealizer context, BendList bends, Bend b, double oldX, double oldY)
EdgeRealizer.bendChanged(Bend, double, double)
context
- the context EdgeRealizerbends
- the current BendListb
- the bend that changedoldX
- the old x coordinateoldY
- the old y coordinate
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |