Public Member Functions | |
boolean | checkPosInArrow (Vector2f pos, PApplet app) |
void | drawConnection (PApplet app) |
String | getCause () |
Action | getFrom () |
Action | getTo () |
String | getType () |
boolean | isActive () |
void | readFromProlog () |
void | setActive (boolean b) |
void | setCause (String cause) |
void | setFrom (Action from) |
void | setTo (Action to) |
void | setType (String type) |
void | toggleActive () |
Static Public Member Functions | |
static ActionTransition | getActionTransition (String iri, String label) |
static ActionTransition | getActionTransition (String iri) |
static ActionTransition | getActionTransition (String iri, Action from, Action to, String type) |
Protected Member Functions | |
ActionTransition (String iri, String label) | |
ActionTransition (OWLIndividual ind) | |
Package Attributes | |
boolean | active = false |
String | caused_by |
Action | from |
Vector2f | fromPosition |
Action | to |
Vector2f | toPosition |
Definition at line 16 of file ActionTransition.java.
edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.ActionTransition | ( | String | iri, |
String | label | ||
) | [inline, protected] |
Constructor. Set the IRI and optionally a label. If none is given, it is initialized with the IRI's short name.
iri | Identifier of this thing. |
Definition at line 41 of file ActionTransition.java.
edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.ActionTransition | ( | OWLIndividual | ind | ) | [inline, protected] |
Copy constructor: create ActionTransition from more generic OWLIndividual
ind | OWLIndividual to be copied into this ActionTransition |
Definition at line 53 of file ActionTransition.java.
boolean edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.checkPosInArrow | ( | Vector2f | pos, |
PApplet | app | ||
) | [inline] |
Definition at line 313 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.drawConnection | ( | PApplet | app | ) | [inline] |
Definition at line 225 of file ActionTransition.java.
static ActionTransition edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.getActionTransition | ( | String | iri, |
String | label | ||
) | [inline, static] |
ActionTransition factory. Return existing instance, if available, and create new ActionTransition instance if necessary. Avoids duplicate instances with the same IRI.
iri | Identifier of this thing. |
label | Optional natural-language label. |
Definition at line 71 of file ActionTransition.java.
static ActionTransition edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.getActionTransition | ( | String | iri | ) | [inline, static] |
ActionTransition factory. Return existing instance, if available, and create new ActionTransition instance if necessary. Avoids duplicate instances with the same IRI.
iri | Identifier of this thing. |
Definition at line 92 of file ActionTransition.java.
static ActionTransition edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.getActionTransition | ( | String | iri, |
Action | from, | ||
Action | to, | ||
String | type | ||
) | [inline, static] |
ActionTransition factory. Return existing instance, if available, and create new ActionTransition instance if necessary. Avoids duplicate instances with the same IRI.
iri | Identifier of this thing. |
Definition at line 104 of file ActionTransition.java.
String edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.getCause | ( | ) | [inline] |
Definition at line 348 of file ActionTransition.java.
Definition at line 185 of file ActionTransition.java.
Definition at line 195 of file ActionTransition.java.
String edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.getType | ( | ) | [inline] |
Definition at line 205 of file ActionTransition.java.
boolean edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.isActive | ( | ) | [inline] |
Definition at line 336 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.readFromProlog | ( | ) | [inline] |
Read all properties of this action transition from Prolog. Recursively read all properties of this action and all its subactions from Prolog.
Definition at line 119 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.setActive | ( | boolean | b | ) | [inline] |
Definition at line 340 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.setCause | ( | String | cause | ) | [inline] |
Definition at line 351 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.setFrom | ( | Action | from | ) | [inline] |
Definition at line 190 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.setTo | ( | Action | to | ) | [inline] |
Definition at line 200 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.setType | ( | String | type | ) | [inline] |
Definition at line 214 of file ActionTransition.java.
void edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.toggleActive | ( | ) | [inline] |
Definition at line 344 of file ActionTransition.java.
boolean edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.active = false [package] |
flag if this transition is 'active', meaning that user has clicked on it and it's currently being edited
Definition at line 32 of file ActionTransition.java.
String edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.caused_by [package] |
Definition at line 20 of file ActionTransition.java.
Definition at line 18 of file ActionTransition.java.
Vector2f edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.fromPosition [package] |
Definition at line 22 of file ActionTransition.java.
Definition at line 19 of file ActionTransition.java.
Vector2f edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.toPosition [package] |
Definition at line 23 of file ActionTransition.java.