|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.graph2d.NodePortProvider
public class NodePortProvider
Default PortProvider
implementation for
NodePort
s.
Constructor Summary | |
---|---|
NodePortProvider()
|
Method Summary | |
---|---|
java.util.Collection |
getPorts(Node node,
GraphMLWriteContext context)
Retrieve the port objects that belong to node . |
Port |
getSourcePort(Edge e,
GraphMLWriteContext context)
Retrieve the source port object for the given edge. |
Port |
getTargetPort(Edge e,
GraphMLWriteContext context)
Retrieve the target port object for the given edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodePortProvider()
Method Detail |
---|
public java.util.Collection getPorts(Node node, GraphMLWriteContext context)
PortProvider
node
.
getPorts
in interface PortProvider
node
- The node for which the ports are needed.
Port
objects.public Port getSourcePort(Edge e, GraphMLWriteContext context)
PortProvider
getSourcePort
in interface PortProvider
e
- The edge to query.
e
.public Port getTargetPort(Edge e, GraphMLWriteContext context)
PortProvider
getTargetPort
in interface PortProvider
e
- The edge to query.
e
.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |