|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface NodePort.UnionRectCalculator
This interface is used by NodePort
to delegate the work of
the NodePort.calcUnionRect(java.awt.geom.Rectangle2D)
method
to.
Classes implementing this interface should query the given context
port instance for the necessary information each time the methods are
called since instances of this interface will be shared for multiple
NodePort
instances.
Method Summary | |
---|---|
void |
calcUnionRect(NodePort port,
java.awt.geom.Rectangle2D rectangle)
Calculates the rectangular union of the specified rectangle and the specified port's bounds. |
Method Detail |
---|
void calcUnionRect(NodePort port, java.awt.geom.Rectangle2D rectangle)
Callback method for
NodePort.calcUnionRect(java.awt.geom.Rectangle2D)
.
port
- the port instance whose bounds have to be added to the given
rectangle.rectangle
- the rectangle to be enlarged such that it contains the
bounds of the specified port.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |