|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortProvider
Helper interface that allows to retrieve port objects for GraphML dialects
that actually support port elements.
If you want to use instances of this class, you have to provide them in
Lookup.lookup(Class)
, otherwise,
no port elements are written.
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. |
Method Detail |
---|
java.util.Collection getPorts(Node node, GraphMLWriteContext context)
node
.
node
- The node for which the ports are needed.
Port
objects.Port getSourcePort(Edge e, GraphMLWriteContext context)
e
- The edge to query.
e
.Port getTargetPort(Edge e, GraphMLWriteContext context)
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 |