|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.graphml.graph2d.NodePortProvider
public class NodePortProvider
Default PortProvider implementation for
NodePorts.
![]() |
![]() |
| 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)
PortProvidernode.
getPorts in interface PortProvidernode - The node for which the ports are needed.
Port objects.
public Port getSourcePort(Edge e,
GraphMLWriteContext context)
PortProvider
getSourcePort in interface PortProvidere - The edge to query.
e.
public Port getTargetPort(Edge e,
GraphMLWriteContext context)
PortProvider
getTargetPort in interface PortProvidere - The edge to query.
e.
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||