Class MultiGanttChartContainerBase<T extends GanttChartBase<?>>

Type Parameters:
T - the type of the Gantt chart
All Implemented Interfaces:
Styleable, EventTarget, Skinnable
Direct Known Subclasses:
MultiGanttChartContainer, MultiGanttChartLiteContainer

public class MultiGanttChartContainerBase<T extends GanttChartBase<?>>
extends ContainerBase<T>
A container capable of displaying multiple instances of GanttChartBase and keeping their layouts and their scrolling and zooming behaviour in sync. The control utilizes a standard SplitPane for laying out the charts vertically.
Since:
1.0
See Also:
DualGanttChartContainerBase
  • Constructor Details

    • MultiGanttChartContainerBase

      protected MultiGanttChartContainerBase​(boolean autoBinding, T... ganttCharts)
      Constructs a new container with the given Gantt chart controls.
      Parameters:
      autoBinding - if true many properties of the given controls will be bound to their equivalent of the Gantt chart on the first position
      ganttCharts - the Gantt charts to add to this container
      Since:
      1.0
    • MultiGanttChartContainerBase

      public MultiGanttChartContainerBase​(T... ganttCharts)
      Constructs a new container with the given Gantt chart controls. The properties of the charts will be bound to the same properties of the Gantt chart on the first position.
      Parameters:
      ganttCharts - the Gantt charts to add to this container
      Since:
      1.0
    • MultiGanttChartContainerBase

      public MultiGanttChartContainerBase​(boolean autoBinding)
      Constructs a new empty container. Gantt charts must be added to the list returned by ContainerBase.getGanttCharts().
      Parameters:
      autoBinding - if true many properties of the given controls will be bound to their equivalent of the Gantt chart on the first position
      Since:
      1.0
    • MultiGanttChartContainerBase

      public MultiGanttChartContainerBase()
      Constructs a new container. Gantt charts must be added to the list returned by ContainerBase.getGanttCharts().The properties of the charts will be bound to the same properties of the Gantt chart on the first position.
      Since:
      1.0
  • Method Details

    • resetDividerPositions

      public final void resetDividerPositions()
      Equally distributes the available height of the container to all charts.
      Since:
      1.0
    • getSplitPane

      public final SplitPane getSplitPane()
      Returns the split pane that is used by the container to lay out the Gantt charts.
      Returns:
      the split pane used by the container
      Since:
      1.0
    • createDefaultSkin

      protected Skin<?> createDefaultSkin()
      Overrides:
      createDefaultSkin in class Control