Options
All
  • Public
  • Public/Protected
  • All
Menu

Each row and each inner line of a row are associated with a layout. The layout influences several aspects during rendering and editing of activities. Additionally several of the system layers used to draw the row background also utilize the layout information.

The following layout types are supported: GanttLayout: activities are laid out horizontally below the timeline. AgendaLayout: activities are laid out vertically next to a time scale displaying the time of day. Hour lines are drawn in the background. ChartLayout: activities are laid out as bars below the timeline. Chart lines are drawn in the background.

since

1.0

see

Row.setLayout(Layout), Row.getLineLayout(int), LinesManager.getLineLayout(int)

Hierarchy

Index

Methods

getPadding

  • getPadding(): number
  • Returns the padding value.

    since

    1.0

    Returns number

    the padding value

Abstract isSupportingHorizontalCursorLine

  • isSupportingHorizontalCursorLine(): boolean
  • Determines if the UI should be able to show a horizontal cursor line. Currently only the ChartLayout and the AgendaLayout support this.

    since

    1.0

    Returns boolean

    true if a horizontal cursor line makes sense

setPadding

  • setPadding(padding: number): void
  • Sets the padding value.

    since

    1.0

    Parameters

    • padding: number

      the new padding value

    Returns void