Package org.pathvisio.libgpml.model
Class GraphLink
java.lang.Object
org.pathvisio.libgpml.model.GraphLink
public abstract class GraphLink
extends java.lang.Object
This class only contains static methods and should not be instantiated.
- Author:
- finterly
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GraphLink.LinkableFrom
Classes which want to refer *to* aGraphLink.LinkableTo
PathwayElement must implement this interface.static interface
GraphLink.LinkableTo
PathwayElements which can be referred to must implement this interface. -
Constructor Summary
Constructors Constructor Description GraphLink()
-
Method Summary
Modifier and Type Method Description static java.util.Set<GraphLink.LinkableFrom>
getReferences(GraphLink.LinkableTo elementRef, PathwayModel pathwayModel)
Return a list ofGraphLink.LinkableFrom
LineElement.LinePoint
(s) referring to a certainGraphLink.LinkableTo
pathway element or anchor.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GraphLink
public GraphLink()
-
-
Method Details
-
getReferences
public static java.util.Set<GraphLink.LinkableFrom> getReferences(GraphLink.LinkableTo elementRef, PathwayModel pathwayModel)Return a list ofGraphLink.LinkableFrom
LineElement.LinePoint
(s) referring to a certainGraphLink.LinkableTo
pathway element or anchor.- Parameters:
elementRef
- the LinkableTo.pathwayModel
- the pathway model.- Returns:
-