|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface NodePort.ContainsTest
This interface is used by NodePort
to delegate the work of
the NodePort.contains(double, double)
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 | |
---|---|
boolean |
contains(NodePort port,
double x,
double y)
Returns true if the specified port contains the specified
point and false otherwise. |
Method Detail |
---|
boolean contains(NodePort port, double x, double y)
true
if the specified port contains the specified
point and false
otherwise.
Callback method for NodePort.contains(double, double)
.
port
- the port instance to check.x
- the x-coordinate of the point to check.y
- the y-coordinate of the point to check.
true
if the specified port contains the specified
point and false
otherwise.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |