public final class PluginRealLineInformationDataObjOfReactionLink
extends java.lang.Object
Constructor and Description |
---|
PluginRealLineInformationDataObjOfReactionLink() |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D.Double |
getMidPointInLine()
Get the junction information of three linked lines
if this link is three-linked line.
|
java.util.Vector |
getPointsInLine()
Get all the key points information in the line of the link.
|
int |
getProcessNodeIdx()
Get the process node index which rely on the index of the subline included process node in BaseReactionLink
if this link have process node.
|
java.util.Vector |
getReactionLinkMembers()
Get the members of this link, for instance the members will be Add_reactant, Add_product, modification link, gate link information,
if this link is BaseReactionLink.
|
java.lang.String |
getTypeOfLine()
Get the type of the Link, only Add_reactant and Add_product has this type,
which is Curve or Straight based on the property of the link.
|
void |
setMidPointInLine(java.awt.geom.Point2D.Double pnt)
Set the junction information of three linked lines
if this link is three-linked line.
|
void |
setPointsInLine(java.util.Vector vect)
Set all the key points information in the line of the link.
|
void |
setProcessNodeIdx(int idx)
Set the process node index which rely on the index of the subline included processNode in BaseReactionLink
if this link have process node.
|
void |
setReactionLinkMembers(java.util.Vector vect)
Set the members of this link, for instance the members will be Add_reactant, Add_product, modification link, gate information.
|
void |
setTypeOfLine(java.lang.String str)
Set the type of the Link, only Add_reactant and Add_product has this type,
which is Curve or Straight based on the property of the link.
|
public PluginRealLineInformationDataObjOfReactionLink()
public int getProcessNodeIdx()
public void setProcessNodeIdx(int idx)
idx
- the index of the sublinepublic java.awt.geom.Point2D.Double getMidPointInLine()
public void setMidPointInLine(java.awt.geom.Point2D.Double pnt)
pnt
- junction information of three linked linespublic java.util.Vector getPointsInLine()
public void setPointsInLine(java.util.Vector vect)
vect
- all the key points information in the linepublic java.util.Vector getReactionLinkMembers()
public void setReactionLinkMembers(java.util.Vector vect)
vect
- member-lines information by same data type as thispublic java.lang.String getTypeOfLine()
public void setTypeOfLine(java.lang.String str)
str
- Curve or Straight