ptolemy.vergil.basic
Class BasicGraphFrame.LinkElementProperties

java.lang.Object
  extended by 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


Field Summary
 java.lang.Object element
           
 IOPort port
           
 BasicGraphFrame.ElementInLinkType type
           
 
Constructor Summary
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
 
Method Summary
(package private) 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

public final java.lang.Object element

port

public final IOPort port

type

public final BasicGraphFrame.ElementInLinkType type
Constructor Detail

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

Method Detail

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