Class ContainerBase<T extends GanttChartBase<?>>

All Implemented Interfaces:
Styleable, EventTarget, Skinnable
Direct Known Subclasses:
DualGanttChartContainerBase, MultiGanttChartContainerBase, QuadGanttChartContainerBase

public abstract class ContainerBase<T extends GanttChartBase<?>>
extends FlexGanttFXControl
A common base class for containers that wrap two or more Gantt charts. Containers are used to keep two the charts synchronized. Synchronized elements are the location of the dividers between the tree table and the graphics area, the timeline state (start time, zoom level, etc...), cursors, etc....
Since:
1.6
  • Constructor Details

    • ContainerBase

      protected ContainerBase​(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.6
    • ContainerBase

      public ContainerBase​(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.6
    • ContainerBase

      public ContainerBase​(boolean autoBinding)
      Constructs a new empty container. Gantt charts must be added to the list returned by 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.6
    • ContainerBase

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

    • isAutoBinding

      public final boolean isAutoBinding()
      Determines if the container performs autobinding of the Gantt chart properties. Autobinding means that the properties of all charts will be kept in sync.
      Returns:
      true if the container is performing autobinding
      Since:
      1.6
    • getGanttCharts

      public final ObservableList<T> getGanttCharts()
      Returns the list of Gantt charts that are being managed by the container.
      Returns:
      the list of Gantt chart controls
      Since:
      1.6