Klasse GanttChartBase<R extends Row<?,?,?>>

Typparameter:
R - the type of the rows shown by the Gantt chart (e.g. "Aircraft")
Alle implementierten Schnittstellen:
Styleable, EventTarget, Skinnable
Bekannte direkte Unterklassen:
GanttChart, GanttChartLite

public abstract class GanttChartBase<R extends Row<?,?,?>> extends FlexGanttFXControl
Abstract base class for all Gantt chart controls. For detailed information please refer to the documentation on those classes.
Seit:
1.6
Siehe auch:
  • Eigenschaftsdetails

  • Konstruktordetails

    • GanttChartBase

      protected GanttChartBase()
      Constructs a new Gantt Chart control.
      Seit:
      1.6
  • Methodendetails

    • createTimelineScrollBar

      protected TimelineScrollBar createTimelineScrollBar()
      Creates a custom scroll bar that will be used when the scrollbar type specified via scrollBarTypeProperty() is set to GanttChartBase.ScrollBarType.INFINITE. The scroll bar UI is an instance of type PlusMinusSlider.
      Gibt zurück:
      the scrollbar used for scrolling infinitely into the past or future
    • createHorizonScrollBar

      protected ScrollBar createHorizonScrollBar()
      Creates a regular scroll bar that will be used when the scrollbar type specified via scrollBarTypeProperty() is set to GanttChartBase.ScrollBarType.FIXED_HORIZON. In this case the properties TimelineModel.horizonStartTimeProperty() and TimelineModel.horizonEndTimeProperty() will be used to compute the min and max value of the scrollbar.
      Gibt zurück:
      the scrollbar used for scrolling across the horizon (almost poetic).
      Seit:
      11.12.3
    • getUserAgentStylesheet

      public String getUserAgentStylesheet()
      Setzt außer Kraft:
      getUserAgentStylesheet in Klasse Region
    • rowFilterProperty

      public final ObjectProperty<Predicate<R>> rowFilterProperty()
      A predicate used to filter the rows.
      Gibt zurück:
      the filter predicate
      Siehe auch:
    • setRowFilter

      public final void setRowFilter(Predicate<R> predicate)
      Sets the value of rowFilterProperty().
      Parameter:
      predicate - the filter predicate
    • getRowFilter

      public final Predicate getRowFilter()
      Returns the value of rowFilterProperty().
      Gibt zurück:
      the filter predicate
    • createGraphics

      protected ListViewGraphics<R> createGraphics()
      Creates the graphics view used by the Gantt chart. Applications can override this method to return a customized graphics view.
      Gibt zurück:
      a graphics view instance
      Seit:
      1.6
    • graphicsHeaderProperty

      public final ObjectProperty<Node> graphicsHeaderProperty()
      A property used to store a node that will be placed above the graphics area instead of the timeline. This can be very useful when, for example, using a DualGanttChartContainer where the users do not want to see two timelines at the same time. The graphics header node could simply be a gray empty area or it could be used as a toolbar control for the secondary Gantt chart.
      Gibt zurück:
      the graphics header node property
      Seit:
      1.6
      Siehe auch:
    • getGraphicsHeader

      public final Node getGraphicsHeader()
      Returns the value of graphicsHeaderProperty().
      Gibt zurück:
      the graphics header node
      Seit:
      1.6
    • setGraphicsHeader

      public final void setGraphicsHeader(Node node)
      Sets the value of graphicsHeaderProperty().
      Parameter:
      node - the node used as a header above the graphics area
      Seit:
      1.6
    • redrawObservable

      protected void redrawObservable(Observable property)
    • positionProperty

      public final ObjectProperty<Position> positionProperty()
      A property used to store the position of the Gantt chart in a multi Gantt chart context, for example, inside a DualGanttChartContainer or a MultiGanttChartContainerBase. One of the charts will be the first, some will be in the middle, and one will be the last. The first chart is the owner of the master timeline.
      Gibt zurück:
      the Gantt chart position
      Seit:
      1.6
      Siehe auch:
    • getPosition

      public final Position getPosition()
      Returns the value of positionProperty().
      Gibt zurück:
      the position of the chart
      Seit:
      1.6
    • setPosition

      public final void setPosition(Position position)
      Sets the value of positionProperty().
      Parameter:
      position - the chart position (first, last, middle, only)
    • masterTimelineProperty

      public final ObjectProperty<Timeline> masterTimelineProperty()
      A property used to store a reference to the timeline that is being considered the "master" timeline. This property is needed when several charts are used in combination with each other (see DualGanttChartContainer or MultiGanttChartContainerBase). The master timeline is the one provided by the Gantt chart located at the top of the container (the "first" chart).
      Gibt zurück:
      the master timeline
      Seit:
      1.6
      Siehe auch:
    • getMasterTimeline

      public final Timeline getMasterTimeline()
      Returns the value of masterTimelineProperty().
      Gibt zurück:
      the master timeline
      Seit:
      1.6
    • setMasterTimeline

      public final void setMasterTimeline(Timeline timeline)
      Sets the value of masterTimelineProperty().
      Parameter:
      timeline - the new master timeline
      Seit:
      1.6
    • getTimeline

      public final Timeline getTimeline()
      Returns the Timeline instance, which consists of the Dateline and the Eventline.
      Gibt zurück:
      the timeline control
      Seit:
      1.6
      Siehe auch:
    • createTimeline

      protected Timeline createTimeline()
      Creates the timeline component used by the Gantt chart. Applications can override this method to return a customized timeline.
      Gibt zurück:
      the timeline instance
      Seit:
      1.6
    • getGraphics

      public final ListViewGraphics<R> getGraphics()
      Returns the graphics view shown on the right-hand side of the Gantt chart. The view is set as the master node on the primary MasterDetailPane instance.
      Gibt zurück:
      the graphics view
      Seit:
      1.6
      Siehe auch:
    • getTimelineScrollBar

      public final TimelineScrollBar getTimelineScrollBar()
      Returns the specialized timeline scrollbar control used for scrolling forward and back in time. The scrollbar becomes visible when the user moves the mouse cursor close to the bottom edge of the graphics area. This scroll bar will be used when the scroll bar type is defined as GanttChartBase.ScrollBarType.INFINITE.
      Gibt zurück:
      the timeline scrollbar
      Seit:
      1.6
      Siehe auch:
    • getHorizonScrollBar

      public final ScrollBar getHorizonScrollBar()
      Returns the scroll bar that will be used when the scrollbar type specified via scrollBarTypeProperty() is set to GanttChartBase.ScrollBarType.FIXED_HORIZON. In this case the properties TimelineModel.horizonStartTimeProperty() and TimelineModel.horizonEndTimeProperty() will be used to compute the min and max value of the scrollbar.
      Gibt zurück:
      the timeline scrollbar
      Seit:
      11.12.3
      Siehe auch:
    • isAutoHideScrollBar

      public final boolean isAutoHideScrollBar()
      Ruft den Wert der autoHideScrollBar-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      Determines if the scrollbar will automatically hide itself if no longer needed. The default is "true". If set to "true", the skin of the Gantt chart will use a HiddenSidesPane instance for the left- and right-hand side. This container supports the sliding in and out of controls on the four sides.
      Gibt zurück:
      Wert der Eigenschaft autoHideScrollBar
      Seit:
      11.12.3
      Siehe auch:
    • autoHideScrollBarProperty

      public final BooleanProperty autoHideScrollBarProperty()
      Determines if the scrollbar will automatically hide itself if no longer needed. The default is "true". If set to "true", the skin of the Gantt chart will use a HiddenSidesPane instance for the left- and right-hand side. This container supports the sliding in and out of controls on the four sides.
      Gibt zurück:
      true if the scrollbars should automatically hide when not used
      Seit:
      11.12.3
      Siehe auch:
    • setAutoHideScrollBar

      public final void setAutoHideScrollBar(boolean autoHideScrollBar)
      Legt den Wert der autoHideScrollBar-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      Determines if the scrollbar will automatically hide itself if no longer needed. The default is "true". If set to "true", the skin of the Gantt chart will use a HiddenSidesPane instance for the left- and right-hand side. This container supports the sliding in and out of controls on the four sides.
      Parameter:
      autoHideScrollBar - Wert für die Eigenschaft autoHideScrollBar
      Seit:
      11.12.3
      Siehe auch:
    • scrollBarTypeProperty

      public final ObjectProperty<GanttChartBase.ScrollBarType> scrollBarTypeProperty()
      Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.
      Gibt zurück:
      the scrollbar type supported by this Gantt chart, default is "infinite"
      Seit:
      11.12.3
      Siehe auch:
    • getScrollBarType

      public final GanttChartBase.ScrollBarType getScrollBarType()
      Ruft den Wert der scrollBarType-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.
      Gibt zurück:
      Wert der Eigenschaft scrollBarType
      Seit:
      11.12.3
      Siehe auch:
    • setScrollBarType

      public final void setScrollBarType(GanttChartBase.ScrollBarType scrollBarType)
      Legt den Wert der scrollBarType-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.
      Parameter:
      scrollBarType - Wert für die Eigenschaft scrollBarType
      Seit:
      11.12.3
      Siehe auch:
    • getGraphicsMasterDetailPane

      public MasterDetailPane getGraphicsMasterDetailPane()
      Returns the MasterDetailPane instance that is used to display the ListViewGraphics in the master section and the detail node in the detail section.
      Gibt zurück:
      the master detail pane
      Seit:
      1.6
    • detailProperty

      public final ObjectProperty<Node> detailProperty()
      A property used to store a node that can be made visible on the right-hand side of the Gantt chart. The node can be used to show any kind of controls that the application might require.
      Gibt zurück:
      the detail node
      Seit:
      1.6
      Siehe auch:
    • setDetail

      public final void setDetail(Node node)
      Sets the value of detailProperty().
      Parameter:
      node - the new detail node
      Seit:
      1.6
    • getDetail

      public final Node getDetail()
      Returns the value of detailProperty().
      Gibt zurück:
      the detail node
      Seit:
      1.6
    • fixedCellSizeProperty

      public final DoubleProperty fixedCellSizeProperty()
      A property used to set a fixed cell size for the rows shown in the table on the left-hand side and the graphics area on the right-hand side.
      Gibt zurück:
      the fixed cell size
      Seit:
      1.6
      Siehe auch:
    • getFixedCellSize

      public final double getFixedCellSize()
      Returns the value of fixedCellSizeProperty().
      Gibt zurück:
      the fixed cell size
      Seit:
      1.6
    • setFixedCellSize

      public final void setFixedCellSize(double size)
      Sets the value of fixedCellSizeProperty().
      Parameter:
      size - the fixed cell size
      Seit:
      1.6
    • showDetailProperty

      public final BooleanProperty showDetailProperty()
      A property used to control whether the "details" node will be shown or not. This node gets shown on the right-hand side of the Gantt chart and can contain arbitrary content. By default it is used to display a property sheet with the current settings / configuration of the Gantt chart. The detail node is shown by the secondary master detail pane (see getGraphicsMasterDetailPane()).
      Gibt zurück:
      the show details property
      Seit:
      1.6
      Siehe auch:
    • isShowDetail

      public final boolean isShowDetail()
      Returns the value of showDetailProperty().
      Gibt zurück:
      true if the detail node gets shown
      Seit:
      1.6
    • setShowDetail

      public final void setShowDetail(boolean show)
      Sets the value of showDetailProperty().
      Parameter:
      show - if true, the detail node will be shown on the right-hand side of the Gantt chart
      Seit:
      1.6
    • getLayers

      public final ObservableList<Layer> getLayers()
      Convenience method to return the list of layers registered on the graphics view.
      Gibt zurück:
      the layers registered on the graphics area
      Seit:
      1.6
      Siehe auch:
    • getLinks

      public final IntervalTree<ActivityLink> getLinks()
      Convenience method to return the list of links registered on the graphics view.
      Gibt zurück:
      the links registered on the graphics area
      Seit:
      1.6
      Siehe auch:
    • getCalendars

      public final ObservableList<Calendar<?>> getCalendars()
      Convenience method to return the list of calendars registered on the graphics view.
      Gibt zurück:
      the calendars registered on the graphics area
      Seit:
      1.6
      Siehe auch: