Constructs a new automatic lines manager. The constructor requires a reference to the graphics view to lookup various parameters that are needed when the manager queries the activity repository of the row (e.g. the currently displayed temporal unit and the list of layers).
the managed row
the graphics view where the manager will be used
Returns the graphics view where the manager will be used.
the graphics view
Returns the height of the line with the given index. In most cases the height is somewhere between 0 and Row.getHeight().
the index of the line
the height of the row where the line is located
the height of the given line
Returns the line index for the given activity. This method is responsible for placing activities on different lines.
the activity for which a line index is requested
the line index of the given activity
Returns the layout for the line with the given line index. A row and each line within a row can have their own layout.
the index of the line
the layout of the given line
Returns the location of the line with the given index. In most cases the value of the location is somewhere between 0 and Row.getHeight(). Lines are free to overlap each other.
the index of the line
the height of the row where the line is located
the location of the given line (y-coordinate)
Returns the row for which the manager is used.
the row
Triggers a layout of the activities and calculates the line count for the row.
Sets a filter that will be used in combination with a Resolver instance to figure out which activities are relevant for the calculation of overlapping activities (clusters). If the predicate returns false then the activity will not be considered when creating the clusters.
the filter
A specialized LinesManager used for ensuring that activities will not overlap each other. This manager will create as many inner lines as needed and will calculate the placement of all activities on these lines.
1.0