Class QuadGanttChartContainerBase<T extends GanttChartBase<?>>

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

public abstract class QuadGanttChartContainerBase<T extends GanttChartBase<?>>
extends ContainerBase<T>
A specialization of ContainerBase capable of displaying exactly four instances of GanttChartBase and keeping their layouts and their scrolling and zooming behavior in sync.
Since:
1.6
  • Property Details

  • Constructor Details

    • QuadGanttChartContainerBase

      protected QuadGanttChartContainerBase​(T upperLeftGanttChart, T upperRightGanttChart, T lowerLeftGanttChart, T lowerRightGanttChart)
      Constructs a new container with the given Gantt chart controls.
      Parameters:
      upperLeftGanttChart - the upper left Gantt chart shown in the top position
      upperRightGanttChart - the upper right Gantt chart shown in the bottom position
      lowerLeftGanttChart - the lower left Gantt chart shown in the top position
      lowerRightGanttChart - the lower right Gantt chart shown in the bottom position
      Since:
      1.6
  • Method Details

    • createDefaultSkin

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

      public String getUserAgentStylesheet()
      Overrides:
      getUserAgentStylesheet in class Region
    • getUpperLowerMasterDetailPane

      public final org.controlsfx.control.MasterDetailPane getUpperLowerMasterDetailPane()
      Returns the MasterDetailPane instance used by the skin of this control to arrange the upper and lower Gantt charts. The upper Gantt charts will be the master and the lower Gantt charts will be the detail node.
      Returns:
      the master detail pane
      Since:
      1.6
      See Also:
      MasterDetailPane.setMasterNode(Node), MasterDetailPane.setDetailNode(Node)
    • getUpperMasterDetailPane

      public final org.controlsfx.control.MasterDetailPane getUpperMasterDetailPane()
      Returns the MasterDetailPane instance used by the skin of this control to arrange the upper Gantt charts. The upper left Gantt chart will be the master and the upper right Gantt chart will be the detail node.
      Returns:
      the master detail pane
      Since:
      1.6
      See Also:
      MasterDetailPane.setMasterNode(Node), MasterDetailPane.setDetailNode(Node)
    • getLowerMasterDetailPane

      public final org.controlsfx.control.MasterDetailPane getLowerMasterDetailPane()
      Returns the MasterDetailPane instance used by the skin of this control to arrange the lower Gantt charts. The lower left Gantt chart will be the master and the lower right Gantt chart will be the detail node.
      Returns:
      the master detail pane
      Since:
      1.6
      See Also:
      MasterDetailPane.setMasterNode(Node), MasterDetailPane.setDetailNode(Node)
    • upperLeftGanttChartProperty

      public final ObjectProperty<T> upperLeftGanttChartProperty()
      A property used to store the reference to the Gantt chart control that is serving as the upper left Gantt chart.
      Since:
      1.6
      See Also:
      getUpperLeftGanttChart(), setUpperLeftGanttChart(T)
    • setUpperLeftGanttChart

      public final void setUpperLeftGanttChart​(T ganttChart)
      Parameters:
      ganttChart - the gantt chart control
      Since:
      1.6
    • getUpperLeftGanttChart

      public final T getUpperLeftGanttChart()
      Returns the value of upperLeftGanttChartProperty().
      Returns:
      the upper left Gantt chart control
      Since:
      1.6
    • upperLeftHeaderProperty

      public final ObjectProperty<Node> upperLeftHeaderProperty()
      A property used to store the reference to a control that will be serving as a header for the upper left Gantt chart.
      Since:
      1.6
      See Also:
      getUpperLeftHeader(), setUpperLeftHeader(Node)
    • setUpperLeftHeader

      public final void setUpperLeftHeader​(Node header)
      Sets the value of the upperLeftHeaderProperty().
      Parameters:
      header - the node that will be used as a header
      Since:
      1.6
    • getUpperLeftHeader

      public final Node getUpperLeftHeader()
      Returns the value of upperLeftHeaderProperty().
      Returns:
      the upper left header node
      Since:
      1.6
    • upperLeftFooterProperty

      public final ObjectProperty<Node> upperLeftFooterProperty()
      A property used to store the reference to a node that will be displayed in the footer position of the upper left Gantt chart.
      Since:
      1.6
      See Also:
      getUpperLeftFooter(), setUpperLeftFooter(Node)
    • setUpperLeftFooter

      public final void setUpperLeftFooter​(Node footer)
      Sets the value of upperLeftFooterProperty().
      Parameters:
      footer - the node that will be displayed in the footer position of the upper left Gantt chart
      Since:
      1.6
    • getUpperLeftFooter

      public final Node getUpperLeftFooter()
      Returns the value of upperLeftFooterProperty().
      Returns:
      the node displayed in the footer position of the upper left Gantt chart
      Since:
      1.6
    • upperRightHeaderProperty

      public final ObjectProperty<Node> upperRightHeaderProperty()
      A property used to store the reference to a control that will be serving as a header for the upper right Gantt chart.
      Returns:
      the upper right header control property
      Since:
      1.6
    • setUpperRightHeader

      public final void setUpperRightHeader​(Node header)
      Sets the value of upperRightHeaderProperty().
      Parameters:
      header - the control used as a header for the upper right Gantt chart
      Since:
      1.6
    • getUpperRightHeader

      public final Node getUpperRightHeader()
      Returns the value of upperRightHeaderProperty().
      Returns:
      the upper right header node
      Since:
      1.6
    • upperRightFooterProperty

      public final ObjectProperty<Node> upperRightFooterProperty()
      A property used to store the reference to a node that will be used in the footer position of the upper right Gantt chart.
      Since:
      1.6
      See Also:
      getUpperRightFooter(), setUpperRightFooter(Node)
    • setUpperRightFooter

      public final void setUpperRightFooter​(Node footer)
      Sets the value of upperRightFooterProperty().
      Parameters:
      footer - the node that will be shown in the footer position of the upper right Gantt chart
      Since:
      1.6
    • getUpperRightFooter

      public final Node getUpperRightFooter()
      Returns the value of upperRightFooterProperty().
      Returns:
      the upper right footer node
      Since:
      1.6
    • upperRightGanttChartProperty

      public final ObjectProperty<T> upperRightGanttChartProperty()
      A property used to store the reference to the upper right Gantt chart.
      See Also:
      getUpperRightGanttChart(), setUpperRightGanttChart(T)
    • setUpperRightGanttChart

      public final void setUpperRightGanttChart​(T ganttChart)
      Parameters:
      ganttChart - the gantt chart control
      Since:
      1.6
    • getUpperRightGanttChart

      public final T getUpperRightGanttChart()
      Returns the value of upperRightGanttChartProperty().
      Returns:
      the upper right Gantt chart control
      Since:
      1.6
    • lowerRightHeaderProperty

      public final ObjectProperty<Node> lowerRightHeaderProperty()
      A property used to store the reference to a control that will be serving as a header for the lower right Gantt chart.
      Returns:
      the lower right header control property
      Since:
      1.6
    • setLowerRightHeader

      public final void setLowerRightHeader​(Node header)
      Sets the value of lowerRightHeaderProperty().
      Parameters:
      header - the control used as a header for the lower right Gantt chart
      Since:
      1.6
    • getLowerRightHeader

      public final Node getLowerRightHeader()
      Returns the value of lowerRightHeaderProperty().
      Returns:
      the lower right header node
      Since:
      1.6
    • lowerRightFooterProperty

      public final ObjectProperty<Node> lowerRightFooterProperty()
      A property used to store the reference to a node that will be used in the footer position of the lower right Gantt chart.
      Since:
      1.6
      See Also:
      getLowerRightFooter(), setLowerRightFooter(Node)
    • setLowerRightFooter

      public final void setLowerRightFooter​(Node footer)
      Sets the value of lowerRightFooterProperty().
      Parameters:
      footer - the node that will be shown in the footer position of the lower right Gantt chart
      Since:
      1.6
    • getLowerRightFooter

      public final Node getLowerRightFooter()
      Returns the value of lowerRightFooterProperty().
      Returns:
      the lower right footer node
      Since:
      1.6
    • lowerRightGanttChartProperty

      public final ObjectProperty<T> lowerRightGanttChartProperty()
      A property used to store the reference to the lower right Gantt chart.
      See Also:
      getLowerRightGanttChart(), setLowerRightGanttChart(T)
    • setLowerRightGanttChart

      public final void setLowerRightGanttChart​(T ganttChart)
      Parameters:
      ganttChart - the gantt chart control
      Since:
      1.6
    • getLowerRightGanttChart

      public final T getLowerRightGanttChart()
      Returns the value of lowerRightGanttChartProperty().
      Returns:
      the lower right Gantt chart control
      Since:
      1.6
    • lowerLeftGanttChartProperty

      public final ObjectProperty<T> lowerLeftGanttChartProperty()
      A property used to store the reference to the Gantt chart control that is serving as the lower left Gantt chart.
      Since:
      1.6
      See Also:
      getLowerLeftGanttChart(), setLowerLeftGanttChart(T)
    • setLowerLeftGanttChart

      public final void setLowerLeftGanttChart​(T ganttChart)
      Parameters:
      ganttChart - the gantt chart control
      Since:
      1.6
    • getLowerLeftGanttChart

      public final T getLowerLeftGanttChart()
      Returns the value of lowerLeftGanttChartProperty().
      Returns:
      the lower left Gantt chart control
      Since:
      1.6
    • lowerLeftHeaderProperty

      public final ObjectProperty<Node> lowerLeftHeaderProperty()
      A property used to store the reference to a control that will be serving as a header for the lower left Gantt chart.
      Since:
      1.6
      See Also:
      getLowerLeftHeader(), setLowerLeftHeader(Node)
    • setLowerLeftHeader

      public final void setLowerLeftHeader​(Node header)
      Sets the value of the lowerLeftHeaderProperty().
      Parameters:
      header - the node that will be used as a header for the lower left Gantt chart
      Since:
      1.6
    • getLowerLeftHeader

      public final Node getLowerLeftHeader()
      Returns the value of lowerLeftHeaderProperty().
      Returns:
      the lower left header node
      Since:
      1.6
    • lowerLeftFooterProperty

      public final ObjectProperty<Node> lowerLeftFooterProperty()
      A property used to store the reference to a node that will be displayed in the footer position of the lower left Gantt chart.
      Since:
      1.6
      See Also:
      getLowerLeftFooter(), setLowerLeftFooter(Node)
    • setLowerLeftFooter

      public final void setLowerLeftFooter​(Node footer)
      Sets the value of lowerLeftFooterProperty().
      Parameters:
      footer - the node that will be displayed in the footer position of the lower left Gantt chart
      Since:
      1.6
    • getLowerLeftFooter

      public final Node getLowerLeftFooter()
      Returns the value of lowerLeftFooterProperty().
      Returns:
      the node displayed in the footer position of the lower left Gantt chart
      Since:
      1.6
    • showLowerProperty

      public final BooleanProperty showLowerProperty()
      A property used to toggle the visibility of the upper right Gantt chart.
      Since:
      1.6
      See Also:
      isShowLower(), setShowLower(boolean)
    • isShowLower

      public final boolean isShowLower()
      Returns the value of showLowerProperty().
      Returns:
      true if the lower Gantt charts shall be visible
      Since:
      1.6
    • setShowLower

      public final void setShowLower​(boolean show)
      Sets the value of showLowerProperty().
      Parameters:
      show - if true the lower Gantt charts will be visible
      Since:
      1.6
    • animatedProperty

      public final BooleanProperty animatedProperty()
      A property used to control whether the opening / closing of the three instances of MasterDetailPane in this container will be animated or not.
      Since:
      1.6
      See Also:
      isAnimated(), setAnimated(boolean)
    • setAnimated

      public final void setAnimated​(boolean animated)
      Sets the value of animatedProperty().
      Parameters:
      animated - if true the opening and closing operations will be animated
      Since:
      1.6
    • isAnimated

      public final boolean isAnimated()
      Returns the value of animatedProperty().
      Returns:
      true if the opening and closing operations will be animated
      Since:
      1.6
    • showSingleChart

      public final void showSingleChart()
      Convenience method to change the container settings in such a way that the Gantt chart in the upper left corner will take over the entire width and height of the container.
      Since:
      1.6
      See Also:
      setShowLower(boolean), MasterDetailPane.showDetailNode
    • showHorizontalSplitScreen

      public final void showHorizontalSplitScreen​(boolean equalHeight)
      Convenience method to change the container settings in such a way that the Gantt chart in the upper left corner and the Gantt chart in the lower left corner will take over the entire width and height of the container.
      Parameters:
      equalHeight - if true then both Gantt charts will receive the same height, otherwise the current value of the divider position will be kept
      Since:
      1.6
      See Also:
      setShowLower(boolean), MasterDetailPane.showDetailNode
    • showVerticalSplitScreen

      public final void showVerticalSplitScreen​(boolean equalWidth)
      Convenience method to change the container settings in such a way that the Gantt chart in the upper left corner and the Gantt chart in the upper right corner will take over the entire width and height of the container.
      Parameters:
      equalWidth - if true then both Gantt charts will receive the same width, otherwise the current value of the divider position will be kept
      Since:
      1.6
      See Also:
      setShowLower(boolean), MasterDetailPane.showDetailNode
    • showAllFour

      public final void showAllFour​(boolean equalSize)
      Convenience method to change the container settings in such a way that all four Gantt charts in all four corners of the container will take over the entire width and height of the container.
      Parameters:
      equalSize - if true then all Gantt charts will receive the same width and height, otherwise the current value of the divider position will be kept
      Since:
      1.6
      See Also:
      setShowLower(boolean), MasterDetailPane.showDetailNode