A - the type of the activities that will be shown on the linespublic interface LinesManager<A extends Activity>
Layout
. By using lines and layouts it is possible to display activities that belong
to the same row in different ways (see ChartLayout,
AgendaLayout, GanttLayout).| Modifier and Type | Method and Description |
|---|---|
double |
getLineHeight(int lineIndex,
double rowHeight)
Returns the height of the line with the given index.
|
int |
getLineIndex(A activity)
Returns the line index for the given activity.
|
Layout |
getLineLayout(int lineIndex)
Returns the layout for the line with the given line index.
|
double |
getLineLocation(int lineIndex,
double rowHeight)
Returns the location of the line with the given index.
|
int getLineIndex(A activity)
activity - the activity for which a line index is requesteddouble getLineLocation(int lineIndex,
double rowHeight)
Row.getHeight().
Lines are free to overlap each other.lineIndex - the index of the linerowHeight - the height of the row where the line is locatedIllegalLineIndexException - if no line with the given index existsdouble getLineHeight(int lineIndex,
double rowHeight)
Row.getHeight().lineIndex - the index of the linerowHeight - the height of the row where the line is locatedIllegalLineIndexException - if no line with the given index existsLayout getLineLayout(int lineIndex)
lineIndex - the index of the lineIllegalLineIndexException - if no line with the given index existsCopyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.