Public Member Functions | Static Public Member Functions | Protected Member Functions | Package Attributes
edu.tum.cs.ias.knowrob.vis.actions.ActionTransition Class Reference
Inheritance diagram for edu.tum.cs.ias.knowrob.vis.actions.ActionTransition:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 16 of file ActionTransition.java.


Constructor & Destructor Documentation

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.

Parameters:
iriIdentifier of this thing.

Definition at line 41 of file ActionTransition.java.

Copy constructor: create ActionTransition from more generic OWLIndividual

Parameters:
indOWLIndividual to be copied into this ActionTransition

Definition at line 53 of file ActionTransition.java.


Member Function Documentation

boolean edu.tum.cs.ias.knowrob.vis.actions.ActionTransition.checkPosInArrow ( Vector2f  pos,
PApplet  app 
) [inline]

Definition at line 313 of file ActionTransition.java.

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.

Parameters:
iriIdentifier of this thing.
labelOptional natural-language label.
Returns:
Instance of an ActionTransition with the specified IRI

Definition at line 71 of file ActionTransition.java.

ActionTransition factory. Return existing instance, if available, and create new ActionTransition instance if necessary. Avoids duplicate instances with the same IRI.

Parameters:
iriIdentifier of this thing.
Returns:
Instance of an ActionTransition with the specified IRI

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.

Parameters:
iriIdentifier of this thing.
Returns:
Instance of an ActionTransition with the specified IRI

Definition at line 104 of file ActionTransition.java.

Definition at line 348 of file ActionTransition.java.

Definition at line 185 of file ActionTransition.java.

Definition at line 195 of file ActionTransition.java.

Definition at line 205 of file ActionTransition.java.

Definition at line 336 of file ActionTransition.java.

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.

Definition at line 340 of file ActionTransition.java.

Definition at line 351 of file ActionTransition.java.

Definition at line 190 of file ActionTransition.java.

Definition at line 200 of file ActionTransition.java.

Definition at line 214 of file ActionTransition.java.

Definition at line 344 of file ActionTransition.java.


Member Data Documentation

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.

Definition at line 20 of file ActionTransition.java.

Definition at line 18 of file ActionTransition.java.

Definition at line 22 of file ActionTransition.java.

Definition at line 19 of file ActionTransition.java.

Definition at line 23 of file ActionTransition.java.


The documentation for this class was generated from the following file:


mod_vis
Author(s): Moritz Tenorth, Jakob Engel
autogenerated on Mon Oct 6 2014 01:30:01