Module com.flexganttfx.view
Package com.flexganttfx.view
Class GanttChartBase<R extends Row<?,?,?>>
java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
com.flexganttfx.view.util.FlexGanttFXControl
com.flexganttfx.view.GanttChartBase<R>
- Type Parameters:
R
- the type of the rows shown by the Gantt chart (e.g. "Aircraft")
- All Implemented Interfaces:
Styleable
,EventTarget
,Skinnable
- Direct Known Subclasses:
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.
- Since:
- 1.6
- See Also:
GanttChart
,GanttChartLite
-
Property Summary
Properties Type Property Description BooleanProperty
autoHideScrollBar
Determines if the scrollbar will automatically hide itself if no longer needed.ObjectProperty<Node>
detail
A property used to store a node that can be made visible on the right-hand side of the Gantt chart.DoubleProperty
fixedCellSize
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.ObjectProperty<Node>
graphicsHeader
A property used to store a node that will be placed above the graphics area instead of the timeline.ObjectProperty<Timeline>
masterTimeline
A property used to store a reference to the timeline that is being considered the "master" timeline.ObjectProperty<Position>
position
A property used to store the position of the Gantt chart in a multi Gantt chart context, for example, inside aDualGanttChartContainer
or aMultiGanttChartContainerBase
.ObjectProperty<Predicate<R>>
rowFilter
A predicate used to filter the rows.ObjectProperty<GanttChartBase.ScrollBarType>
scrollBarType
Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.BooleanProperty
showDetail
A property used to control whether the "details" node will be shown or not.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltip
Properties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width
Properties inherited from class javafx.scene.Parent
needsLayout
Properties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GanttChartBase.ScrollBarType
Defines the type of scrollbar to be used for scrolling horizontally. -
Field Summary
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZE
Fields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT
-
Constructor Summary
Constructors Modifier Constructor Description protected
GanttChartBase()
Constructs a new Gantt Chart control. -
Method Summary
Modifier and Type Method Description BooleanProperty
autoHideScrollBarProperty()
Determines if the scrollbar will automatically hide itself if no longer needed.protected ListViewGraphics<R>
createGraphics()
Creates the graphics view used by the Gantt chart.protected ScrollBar
createHorizonScrollBar()
Creates a regular scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.FIXED_HORIZON
.protected Timeline
createTimeline()
Creates the timeline component used by the Gantt chart.protected TimelineScrollBar
createTimelineScrollBar()
Creates a custom scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.INFINITE
.ObjectProperty<Node>
detailProperty()
A property used to store a node that can be made visible on the right-hand side of the Gantt chart.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.ObservableList<Calendar<?>>
getCalendars()
Convenience method to return the list of calendars registered on the graphics view.Node
getDetail()
Returns the value ofdetailProperty()
.double
getFixedCellSize()
Returns the value offixedCellSizeProperty()
.ListViewGraphics<R>
getGraphics()
Returns the graphics view shown on the right-hand side of the Gantt chart.Node
getGraphicsHeader()
Returns the value ofgraphicsHeaderProperty()
.org.controlsfx.control.MasterDetailPane
getGraphicsMasterDetailPane()
Returns theMasterDetailPane
instance that is used to display theListViewGraphics
in the master section and the detail node in the detail section.ScrollBar
getHorizonScrollBar()
Returns the scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.FIXED_HORIZON
.ObservableList<Layer>
getLayers()
Convenience method to return the list of layers registered on the graphics view.IntervalTree<ActivityLink>
getLinks()
Convenience method to return the list of links registered on the graphics view.Timeline
getMasterTimeline()
Returns the value ofmasterTimelineProperty()
.Position
getPosition()
Returns the value ofpositionProperty()
.Predicate
getRowFilter()
Returns the value ofrowFilterProperty()
.GanttChartBase.ScrollBarType
getScrollBarType()
Gets the value of the property scrollBarType.Timeline
getTimeline()
TimelineScrollBar
getTimelineScrollBar()
Returns the specialized timeline scrollbar control used for scrolling forward and back in time.String
getUserAgentStylesheet()
ObjectProperty<Node>
graphicsHeaderProperty()
A property used to store a node that will be placed above the graphics area instead of the timeline.boolean
isAutoHideScrollBar()
Gets the value of the property autoHideScrollBar.boolean
isShowDetail()
Returns the value ofshowDetailProperty()
.ObjectProperty<Timeline>
masterTimelineProperty()
A property used to store a reference to the timeline that is being considered the "master" timeline.ObjectProperty<Position>
positionProperty()
A property used to store the position of the Gantt chart in a multi Gantt chart context, for example, inside aDualGanttChartContainer
or aMultiGanttChartContainerBase
.protected void
redrawObservable(Observable property)
ObjectProperty<Predicate<R>>
rowFilterProperty()
A predicate used to filter the rows.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.void
setAutoHideScrollBar(boolean autoHideScrollBar)
Sets the value of the property autoHideScrollBar.void
setDetail(Node node)
Sets the value ofdetailProperty()
.void
setFixedCellSize(double size)
Sets the value offixedCellSizeProperty()
.void
setGraphicsHeader(Node node)
Sets the value ofgraphicsHeaderProperty()
.void
setMasterTimeline(Timeline timeline)
Sets the value ofmasterTimelineProperty()
.void
setPosition(Position position)
Sets the value ofpositionProperty()
.void
setRowFilter(Predicate<R> predicate)
Sets the value ofrowFilterProperty()
.void
setScrollBarType(GanttChartBase.ScrollBarType scrollBarType)
Sets the value of the property scrollBarType.void
setShowDetail(boolean show)
Sets the value ofshowDetailProperty()
.BooleanProperty
showDetailProperty()
A property used to control whether the "details" node will be shown or not.Methods inherited from class com.flexganttfx.view.util.FlexGanttFXControl
getUserAgentStylesheet
Methods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
Methods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
Methods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
Methods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javafx.css.Styleable
getStyleableNode
-
Property Details
-
rowFilter
A predicate used to filter the rows.- See Also:
getRowFilter()
,setRowFilter(Predicate)
-
graphicsHeader
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 aDualGanttChartContainer
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.- Since:
- 1.6
- See Also:
getGraphicsHeader()
,setGraphicsHeader(Node)
-
position
A property used to store the position of the Gantt chart in a multi Gantt chart context, for example, inside aDualGanttChartContainer
or aMultiGanttChartContainerBase
. 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.- Since:
- 1.6
- See Also:
getPosition()
,setPosition(Position)
-
masterTimeline
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 (seeDualGanttChartContainer
orMultiGanttChartContainerBase
). The master timeline is the one provided by the Gantt chart located at the top of the container (the "first" chart).- Since:
- 1.6
- See Also:
getMasterTimeline()
,setMasterTimeline(Timeline)
-
autoHideScrollBar
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 aHiddenSidesPane
instance for the left- and right-hand side. This container support the sliding in and out of controls on the four sides.- Since:
- 11.12.3
- See Also:
isAutoHideScrollBar()
,setAutoHideScrollBar(boolean)
-
scrollBarType
Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.- Since:
- 11.12.3
- See Also:
getScrollBarType()
,setScrollBarType(GanttChartBase.ScrollBarType)
-
detail
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.- Since:
- 1.6
- See Also:
getDetail()
,setDetail(Node)
-
fixedCellSize
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.- Since:
- 1.6
- See Also:
getFixedCellSize()
,setFixedCellSize(double)
-
showDetail
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 (seegetGraphicsMasterDetailPane()
).- Since:
- 1.6
- See Also:
isShowDetail()
,setShowDetail(boolean)
-
-
Constructor Details
-
GanttChartBase
protected GanttChartBase()Constructs a new Gantt Chart control.- Since:
- 1.6
-
-
Method Details
-
createTimelineScrollBar
Creates a custom scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.INFINITE
. The scroll bar UI is an instance of typePlusMinusSlider
.- Returns:
- the scrollbar used for scrolling infinitely into the past or future
-
createHorizonScrollBar
Creates a regular scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.FIXED_HORIZON
. In this case the propertiesTimelineModel.horizonStartTimeProperty()
andTimelineModel.horizonEndTimeProperty()
will be used to compute the min and max value of the scrollbar.- Returns:
- the scrollbar used for scrolling across the horizon (almost poetic).
- Since:
- 11.12.3
-
getUserAgentStylesheet
- Overrides:
getUserAgentStylesheet
in classRegion
-
rowFilterProperty
A predicate used to filter the rows.- See Also:
getRowFilter()
,setRowFilter(Predicate)
-
setRowFilter
Sets the value ofrowFilterProperty()
.- Parameters:
predicate
- the filter predicate
-
getRowFilter
Returns the value ofrowFilterProperty()
.- Returns:
- the filter predicate
-
createGraphics
Creates the graphics view used by the Gantt chart. Applications can override this method to return a customized graphics view.- Returns:
- a graphics view instance
- Since:
- 1.6
-
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 aDualGanttChartContainer
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.- Since:
- 1.6
- See Also:
getGraphicsHeader()
,setGraphicsHeader(Node)
-
getGraphicsHeader
Returns the value ofgraphicsHeaderProperty()
.- Returns:
- the graphics header node
- Since:
- 1.6
-
setGraphicsHeader
Sets the value ofgraphicsHeaderProperty()
.- Parameters:
node
- the node used as a header above the graphics area- Since:
- 1.6
-
redrawObservable
-
positionProperty
A property used to store the position of the Gantt chart in a multi Gantt chart context, for example, inside aDualGanttChartContainer
or aMultiGanttChartContainerBase
. 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.- Since:
- 1.6
- See Also:
getPosition()
,setPosition(Position)
-
getPosition
Returns the value ofpositionProperty()
.- Returns:
- the position of the chart
- Since:
- 1.6
-
setPosition
Sets the value ofpositionProperty()
.- Parameters:
position
- the chart position (first, last, middle, only)
-
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 (seeDualGanttChartContainer
orMultiGanttChartContainerBase
). The master timeline is the one provided by the Gantt chart located at the top of the container (the "first" chart).- Since:
- 1.6
- See Also:
getMasterTimeline()
,setMasterTimeline(Timeline)
-
getMasterTimeline
Returns the value ofmasterTimelineProperty()
.- Returns:
- the master timeline
- Since:
- 1.6
-
setMasterTimeline
Sets the value ofmasterTimelineProperty()
.- Parameters:
timeline
- the new master timeline- Since:
- 1.6
-
getTimeline
- Returns:
- the timeline control
- Since:
- 1.6
- See Also:
createTimeline()
-
createTimeline
Creates the timeline component used by the Gantt chart. Applications can override this method to return a customized timeline.- Returns:
- the timeline instance
- Since:
- 1.6
-
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 primaryMasterDetailPane
instance.- Returns:
- the graphics view
- Since:
- 1.6
- See Also:
createGraphics()
-
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 asGanttChartBase.ScrollBarType.INFINITE
.- Returns:
- the timeline scrollbar
- Since:
- 1.6
- See Also:
scrollBarTypeProperty()
-
getHorizonScrollBar
Returns the scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.FIXED_HORIZON
. In this case the propertiesTimelineModel.horizonStartTimeProperty()
andTimelineModel.horizonEndTimeProperty()
will be used to compute the min and max value of the scrollbar.- Returns:
- the timeline scrollbar
- Since:
- 11.12.3
- See Also:
scrollBarTypeProperty()
,TimelineModel.horizonStartTimeProperty()
,TimelineModel.horizonEndTimeProperty()
-
isAutoHideScrollBar
public final boolean isAutoHideScrollBar()Gets the value of the property autoHideScrollBar.- Property description:
- 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 support the sliding in and out of controls on the four sides. - Since:
- 11.12.3
-
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 aHiddenSidesPane
instance for the left- and right-hand side. This container support the sliding in and out of controls on the four sides.- Since:
- 11.12.3
- See Also:
isAutoHideScrollBar()
,setAutoHideScrollBar(boolean)
-
setAutoHideScrollBar
public final void setAutoHideScrollBar(boolean autoHideScrollBar)Sets the value of the property autoHideScrollBar.- Property description:
- 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 support the sliding in and out of controls on the four sides. - Since:
- 11.12.3
-
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.- Since:
- 11.12.3
- See Also:
getScrollBarType()
,setScrollBarType(GanttChartBase.ScrollBarType)
-
getScrollBarType
Gets the value of the property scrollBarType.- Property description:
- Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.
- Since:
- 11.12.3
-
setScrollBarType
Sets the value of the property scrollBarType.- Property description:
- Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.
- Since:
- 11.12.3
-
getGraphicsMasterDetailPane
public org.controlsfx.control.MasterDetailPane getGraphicsMasterDetailPane()Returns theMasterDetailPane
instance that is used to display theListViewGraphics
in the master section and the detail node in the detail section.- Returns:
- the master detail pane
- Since:
- 1.6
-
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.- Since:
- 1.6
- See Also:
getDetail()
,setDetail(Node)
-
setDetail
Sets the value ofdetailProperty()
.- Parameters:
node
- the new detail node- Since:
- 1.6
-
getDetail
Returns the value ofdetailProperty()
.- Returns:
- the detail node
- Since:
- 1.6
-
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.- Since:
- 1.6
- See Also:
getFixedCellSize()
,setFixedCellSize(double)
-
getFixedCellSize
public final double getFixedCellSize()Returns the value offixedCellSizeProperty()
.- Returns:
- the fixed cell size
- Since:
- 1.6
-
setFixedCellSize
public final void setFixedCellSize(double size)Sets the value offixedCellSizeProperty()
.- Parameters:
size
- the fixed cell size- Since:
- 1.6
-
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 (seegetGraphicsMasterDetailPane()
).- Since:
- 1.6
- See Also:
isShowDetail()
,setShowDetail(boolean)
-
isShowDetail
public final boolean isShowDetail()Returns the value ofshowDetailProperty()
.- Returns:
- true if the detail node gets shown
- Since:
- 1.6
-
setShowDetail
public final void setShowDetail(boolean show)Sets the value ofshowDetailProperty()
.- Parameters:
show
- if true the detail node will be shown on the right-hand side of the Gantt chart- Since:
- 1.6
-
getLayers
Convenience method to return the list of layers registered on the graphics view.- Returns:
- the layers registered on the graphics area
- Since:
- 1.6
- See Also:
GraphicsBase.getLayers()
-
getLinks
Convenience method to return the list of links registered on the graphics view.- Returns:
- the links registered on the graphics area
- Since:
- 1.6
- See Also:
GraphicsBase.getLinks()
-
getCalendars
Convenience method to return the list of calendars registered on the graphics view.- Returns:
- the calendars registered on the graphics area
- Since:
- 1.6
- See Also:
GraphicsBase.getCalendars()
-