ptolemy.vergil.basic
Class BasicGraphFrame.LinkElementProperties
java.lang.Object
ptolemy.vergil.basic.BasicGraphFrame.LinkElementProperties
- Enclosing class:
- BasicGraphFrame
private static class BasicGraphFrame.LinkElementProperties
- extends java.lang.Object
A class that keeps stores basic properties of element (head, tail) in a link
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
element
public final java.lang.Object element
port
public final IOPort port
type
public final BasicGraphFrame.ElementInLinkType type
BasicGraphFrame.LinkElementProperties
BasicGraphFrame.LinkElementProperties(java.lang.Object element,
IOPort port,
BasicGraphFrame.ElementInLinkType type)
- Create a LinkElementProperties from the element (head or tail), a port if one is available and the ElementInLinkType
extractLinkProperties
static BasicGraphFrame.LinkElementProperties extractLinkProperties(java.lang.Object element)
- Extract the properties from an element (head or tail) in a link a return these as an ElementInLinkType