|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.grappa.ALDGrappaNodePortInfo
public class ALDGrappaNodePortInfo
Serializable object attached to node ports to store meta information.
Constructor Summary | |
---|---|
ALDGrappaNodePortInfo()
|
|
ALDGrappaNodePortInfo(com.mxgraph.model.mxCell pnode,
ALDOpParameterDescriptor descr)
Default constructor. |
Method Summary | |
---|---|
com.mxgraph.model.mxCell |
getNode()
|
java.lang.String |
getPortClassName()
Returns the class name of the port/parameter datatype. |
java.lang.String |
getPortDirection()
Returns the direction of the port/parameter. |
java.lang.String |
getPortExplanation()
Returns the explanation of the port/parameter. |
java.lang.String |
getPortLabel()
Returns the label of the port/parameter. |
java.lang.String |
getPortName()
Returns the name of the port/parameter. |
void |
setDirection(java.lang.String direction)
|
void |
setNode(com.mxgraph.model.mxCell node)
|
void |
setPortClassName(java.lang.String portClassName)
|
void |
setPortExplanation(java.lang.String portExplanation)
|
void |
setPortLabel(java.lang.String portLabel)
|
void |
setPortName(java.lang.String portName)
|
java.lang.String |
toString()
Returns an identifier string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ALDGrappaNodePortInfo(com.mxgraph.model.mxCell pnode, ALDOpParameterDescriptor descr)
pnode
- Parent node.descr
- Operator parameter descriptor of port.public ALDGrappaNodePortInfo()
Method Detail |
---|
public java.lang.String getPortLabel()
public java.lang.String getPortName()
public java.lang.String getPortClassName()
public java.lang.String getPortExplanation()
public java.lang.String getPortDirection()
public com.mxgraph.model.mxCell getNode()
public void setNode(com.mxgraph.model.mxCell node)
node
- the node to setpublic void setPortLabel(java.lang.String portLabel)
portLabel
- the portLabel to setpublic void setPortName(java.lang.String portName)
portName
- the portName to setpublic void setPortExplanation(java.lang.String portExplanation)
portExplanation
- the portExplanation to setpublic void setPortClassName(java.lang.String portClassName)
portClassName
- the portClassName to setpublic void setDirection(java.lang.String direction)
direction
- the direction to setpublic java.lang.String toString()
The length of the string is dynamically updated according to the size of the parent node. The different numerical values used in this function have been empirically determined and might not be optimal in all cases.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |