|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface GenericEdgeRealizer.Painter
This interface is used as a callback by GenericEdgeRealizer to perform the painting.
EdgeRealizer.paint(java.awt.Graphics2D),
EdgeRealizer.paintSloppy(java.awt.Graphics2D)
| Method Summary | |
|---|---|
void |
paint(EdgeRealizer context,
BendList bends,
GeneralPath path,
Graphics2D gfx,
boolean selected)
Paint the edge, including all of its decorations (bends, labels, ports, etc.) |
void |
paintSloppy(EdgeRealizer context,
BendList bends,
GeneralPath path,
Graphics2D gfx,
boolean selected)
Paints the edge sloppily. |
| Method Detail |
|---|
void paint(EdgeRealizer context,
BendList bends,
GeneralPath path,
Graphics2D gfx,
boolean selected)
context - the EdgeRealizer context that is used for the paintingbends - the list of bends that the current context holdspath - the GeneralPath instance that is associated with the current contextselected - whether the edge should be painted in selected state
void paintSloppy(EdgeRealizer context,
BendList bends,
GeneralPath path,
Graphics2D gfx,
boolean selected)
context - the EdgeRealizer context that is used for the paintingbends - the list of bends that the current context holdspath - the GeneralPath instance that is associated with the current contextselected - whether the edge should be painted in selected state
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||