public class QfsmTransition
extends java.lang.Object
transition
XML element.Modifier and Type | Class and Description |
---|---|
static class |
QfsmTransition.TransitionType
The transition type.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
The description of the transition.
|
private QfsmState |
destinationState
The destination state.
|
private int |
destinationStateId
The destination state ID.
|
private double |
drawBezier1PosX
The X coordinate of the first control point position.
|
private double |
drawBezier1PosY
The Y coordinate of the first control point position.
|
private double |
drawBezier2PosX
The X coordinate of the second control point position.
|
private double |
drawBezier2PosY
The Y coordinate of the second control point position.
|
private double |
drawEndPosX
The X coordinate of the end position.
|
private double |
drawEndPosY
The X coordinate of the end position.
|
private double |
drawPosX
The X coordinate of the position.
|
private double |
drawPosY
The Y coordinate of the position.
|
private boolean |
drawStraight
The transition is drawn as straight line (not as bezier curve).
|
private boolean |
inputAny
The input is any.
|
private boolean |
inputDefault
The input is default.
|
private java.lang.String |
inputEvent
The input information.
|
private boolean |
inputInverted
The input is inverted.
|
private java.lang.String |
outputText
The output information.
|
private QfsmState |
sourceState
The source state.
|
private int |
sourceStateId
The source state ID.
|
private QfsmTransition.TransitionType |
type
The transition type.
|
Constructor and Description |
---|
QfsmTransition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
QfsmState |
getDestinationState() |
int |
getDestinationStateId() |
double |
getDrawBezier1PosX() |
double |
getDrawBezier1PosY() |
double |
getDrawBezier2PosX() |
double |
getDrawBezier2PosY() |
double |
getDrawEndPosX() |
double |
getDrawEndPosY() |
double |
getDrawPosX() |
double |
getDrawPosY() |
java.lang.String |
getInputEvent() |
java.lang.String |
getOutputText() |
QfsmState |
getSourceState() |
int |
getSourceStateId() |
QfsmTransition.TransitionType |
getType() |
boolean |
isDrawStraight() |
boolean |
isInputAny() |
boolean |
isInputDefault() |
boolean |
isInputInverted() |
void |
setDescription(java.lang.String description) |
void |
setDestinationState(QfsmState destinationState) |
void |
setDestinationStateId(int destinationStateId) |
void |
setDrawBezier1PosX(double drawBezier1PosX) |
void |
setDrawBezier1PosY(double drawBezier1PosY) |
void |
setDrawBezier2PosX(double drawBezier2PosX) |
void |
setDrawBezier2PosY(double drawBezier2PosY) |
void |
setDrawEndPosX(double drawEndPosX) |
void |
setDrawEndPosY(double drawEndPosY) |
void |
setDrawPosX(double drawPosX) |
void |
setDrawPosY(double drawPosY) |
void |
setDrawStraight(boolean drawStraight) |
void |
setInputAny(boolean inputAny) |
void |
setInputDefault(boolean inputDefault) |
void |
setInputEvent(java.lang.String inputEvent) |
void |
setInputInverted(boolean inputInverted) |
void |
setOutputText(java.lang.String outputText) |
void |
setSourceState(QfsmState sourceState) |
void |
setSourceStateId(int sourceStateId) |
void |
setType(QfsmTransition.TransitionType type) |
private QfsmTransition.TransitionType type
private double drawPosX
private double drawPosY
private double drawEndPosX
private double drawEndPosY
private double drawBezier1PosX
private double drawBezier1PosY
private double drawBezier2PosX
private double drawBezier2PosY
private boolean drawStraight
private java.lang.String description
private int sourceStateId
private QfsmState sourceState
private int destinationStateId
private QfsmState destinationState
private boolean inputInverted
private boolean inputAny
private boolean inputDefault
private java.lang.String inputEvent
private java.lang.String outputText
public QfsmTransition.TransitionType getType()
public void setType(QfsmTransition.TransitionType type)
public double getDrawPosX()
public void setDrawPosX(double drawPosX)
public double getDrawPosY()
public void setDrawPosY(double drawPosY)
public double getDrawEndPosX()
public void setDrawEndPosX(double drawEndPosX)
public double getDrawEndPosY()
public void setDrawEndPosY(double drawEndPosY)
public double getDrawBezier1PosX()
public void setDrawBezier1PosX(double drawBezier1PosX)
public double getDrawBezier1PosY()
public void setDrawBezier1PosY(double drawBezier1PosY)
public double getDrawBezier2PosX()
public void setDrawBezier2PosX(double drawBezier2PosX)
public double getDrawBezier2PosY()
public void setDrawBezier2PosY(double drawBezier2PosY)
public boolean isDrawStraight()
public void setDrawStraight(boolean drawStraight)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public int getSourceStateId()
public void setSourceStateId(int sourceStateId)
public QfsmState getSourceState()
public void setSourceState(QfsmState sourceState)
public int getDestinationStateId()
public void setDestinationStateId(int destinationStateId)
public QfsmState getDestinationState()
public void setDestinationState(QfsmState destinationState)
public boolean isInputInverted()
public void setInputInverted(boolean inputInverted)
public boolean isInputAny()
public void setInputAny(boolean inputAny)
public boolean isInputDefault()
public void setInputDefault(boolean inputDefault)
public java.lang.String getInputEvent()
public void setInputEvent(java.lang.String inputEvent)
public java.lang.String getOutputText()
public void setOutputText(java.lang.String outputText)
Copyright 2013 Michal Turek, AnotherFSM.