|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.edu.unr.fceia.bottallo.Connector
public class Connector
Represent a Statechart connector
Field Summary | |
---|---|
static int |
CONDITION
|
static int |
FORK
|
static int |
JOINT
|
static int |
SELECTION
|
static int |
UNSUPPORTED
|
Constructor Summary | |
---|---|
Connector()
Creates a new instance of Connector |
Method Summary | |
---|---|
protected void |
addInTransition(Transition t)
Add an incoming transition to the connector |
protected void |
addOutTransition(Transition t)
Add an outcoming transition to the connector |
protected Dimension |
getDimension()
Get the dimension of the connector |
protected State |
getFather()
Get the connector's father |
protected java.lang.String |
getId()
Get the id of the connector |
protected java.util.List<Transition> |
getInTransitions()
List all incoming transitions of the connector |
protected int |
getLevel(int l)
Get the level of this element |
protected float |
getMetric()
Get the metric of the connector |
protected java.util.List<Transition> |
getOutTransitions()
List all outcoming transitions of the connector |
protected int |
getType()
Get the type of the connector |
protected java.lang.String |
getTypeStr()
Translate numerical-type to text type, useful to error messages |
protected void |
removeInTransition(Transition t)
Remove an incoming transition to the connector |
protected void |
removeOutTransition(Transition t)
Remove an outcoming transition to the connector |
protected void |
setDimension(Dimension d)
Set the dimension of the connector, useful to detect inclusions |
protected void |
setFather(State s)
Set the connector's father |
protected void |
setId(java.lang.String i)
Set the id of the connector |
protected void |
setLevel(int l)
Set the level of this element |
protected void |
setMetric(float m)
Set the metric of the connector, useful to detect inclusions |
protected void |
setType(int t)
Set the type of the connector |
protected void |
setVertices()
Set the vertices of the connector, Useful to detect inclusions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNSUPPORTED
public static final int CONDITION
public static final int SELECTION
public static final int FORK
public static final int JOINT
Constructor Detail |
---|
public Connector()
Method Detail |
---|
protected void setId(java.lang.String i)
i
- string with the connector's idprotected java.lang.String getId()
protected void setType(int t)
t
- connectors' typeprotected int getType()
protected java.lang.String getTypeStr()
protected void setFather(State s)
s
- A stateprotected State getFather()
protected void addInTransition(Transition t)
protected void removeInTransition(Transition t)
protected java.util.List<Transition> getInTransitions()
protected void addOutTransition(Transition t)
protected void removeOutTransition(Transition t)
protected java.util.List<Transition> getOutTransitions()
protected void setDimension(Dimension d)
protected Dimension getDimension()
protected void setVertices()
protected void setLevel(int l)
protected int getLevel(int l)
protected void setMetric(float m)
protected float getMetric()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |