the type of the referenced activity
Constructs a new activity reference.
the row where the activity is shown
the model layer where the activity is located (optional)
the referenced activity
Attaches the activity to its row.
Removes the activity from the row where it is currently shown.
Returns true if current activityRef equals to given activityRef; false instead.
the ActivityRef we want to compare
true if current activityRef equals to given activityRef
Returns the activity itself.
the activity
The layer on which the activity is shown.
the layer that is displaying the activity
The line index of the activity. This is a convenience method delegating to Row.getLineIndex(Activity)
which then delegates to ```LinesManager.getLineIndex(Activity)``.
the line index of the activity
An activity reference is used to precisely identify the location of an activity where the location is a combination of row, layer, and the activity itself. As the same activity can be located on multiple rows and or multiple layers at the same time it is often necessary to work with an activity reference instead of only the activity.
1.0