public class PASEProcessLink
extends java.lang.Object
implements java.io.Serializable
ProLinkTerm
.
The line information involves the color, pattern, width.ProLinkTerm
,
Serialized FormConstructor and Description |
---|
PASEProcessLink() |
PASEProcessLink(java.lang.String from,
java.lang.String to)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
_setProperty(java.lang.String property,
java.lang.String value)
Set the property
|
java.awt.Color |
getColor()
Get color of the line
|
java.lang.String |
getFromProcessID()
Get the id of process which is the origin of the link.
|
java.awt.Point |
getInflectionPoint()
Deprecated.
|
java.util.Vector<java.awt.Point> |
getInflectionPointList()
Get the inflection point list
|
java.lang.String |
getLabel()
Get the label of link
|
java.lang.String |
getLinkCondition()
Get link condition
|
ProLinkTerm |
getLinkTerm()
Get the link term
|
java.util.HashMap |
getLocaleInfo() |
int |
getPatternIdx()
Get pattern index of the line
|
java.lang.String |
getPropertys()
Pack the properties into a string.
|
boolean |
getRectJoint()
Rect-joint
|
boolean |
getRotateLabel()
whether the lable is rotated
|
boolean |
getSingleLine()
Replace m_lineProperty
|
java.lang.String |
getToProcessID()
Get the id of process which is the destination of the link.
|
int |
getWidthIdx()
Get width index of the line
|
void |
setColor(java.awt.Color color)
Set color of the line
|
void |
setFromProcessID(java.lang.String from) |
void |
setInflectionPoint(int x,
int y)
Deprecated.
|
void |
setInflectionPointList(java.util.Vector<java.awt.Point> v)
Set the inflection point list
|
void |
setLabel(java.lang.String label)
Set the label of link
|
void |
setLinkTerm(ProLinkTerm term)
Set the link term
|
void |
setLocaleInfo(java.util.HashMap localeInfo) |
void |
setPatternIdx(int idx)
Set pattern index of the line
|
void |
setPropertys(java.lang.String propertyList)
Parse the specified property string and set the properties
|
void |
setRectJoint(boolean value) |
void |
setRotateLabel(boolean bRotate)
set the lable is rotated.
|
void |
setSingleLine(boolean value) |
void |
setToProcessID(java.lang.String to) |
void |
setWidthIdx(int idx)
Set width index of the line
|
java.lang.String |
toString()
Represent the string format of the
PASEProcess instance |
public PASEProcessLink()
public PASEProcessLink(java.lang.String from, java.lang.String to)
PASEProcessLink
with the specified parameters.form
- the given from-process idto
- the given to-process idpublic java.lang.String getToProcessID()
public void setToProcessID(java.lang.String to)
public java.lang.String getFromProcessID()
public void setFromProcessID(java.lang.String from)
public void setInflectionPoint(int x, int y)
public java.awt.Point getInflectionPoint()
public void setLabel(java.lang.String label)
label
- the given labelpublic java.lang.String getLabel()
public void setLinkTerm(ProLinkTerm term)
term
- the given ProLinkTerm
instanceProLinkTerm
public ProLinkTerm getLinkTerm()
ProLinkTerm
instanceProLinkTerm
public java.lang.String getLinkCondition()
public java.lang.String toString()
PASEProcess
instancetoString
in class java.lang.Object
public void setInflectionPointList(java.util.Vector<java.awt.Point> v)
v
- the given inflection point list. (element in Vector
is the Point
instance)public java.util.Vector<java.awt.Point> getInflectionPointList()
Vector
is the Point
instance)public int getPatternIdx()
public void setPatternIdx(int idx)
idx
- the given indexpublic int getWidthIdx()
public void setWidthIdx(int idx)
idx
- the given width indexpublic java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- the given colorpublic boolean getRotateLabel()
public void setRotateLabel(boolean bRotate)
public boolean getSingleLine()
public void setSingleLine(boolean value)
public boolean getRectJoint()
public void setRectJoint(boolean value)
public java.lang.String getPropertys()
public void setPropertys(java.lang.String propertyList)
propertyList
- the given stringpublic void _setProperty(java.lang.String property, java.lang.String value)
property
- the given property namevalue
- the given property valuepublic java.util.HashMap getLocaleInfo()
public void setLocaleInfo(java.util.HashMap localeInfo)
Copyright ? 2022. All Rights Reserved.