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
Abstract base class for all Gantt chart controls. For detailed information
please refer to the documentation on those classes.
- Since:
- 1.6
- See Also:
-
Property Summary
PropertiesTypePropertyDescriptionfinal BooleanProperty
Determines if the scrollbar will automatically hide itself if no longer needed.final ObjectProperty<Node>
A property used to store a node that can be made visible on the right-hand side of the Gantt chart.final DoubleProperty
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.final ObjectProperty<Node>
A property used to store a node that will be placed above the graphics area instead of the timeline.final ObjectProperty<Timeline>
A property used to store a reference to the timeline that is being considered the "master" timeline.final ObjectProperty<Position>
A property used to store the position of the Gantt chart in a multi Gantt chart context, for example, inside aDualGanttChartContainer
or aMultiGanttChartContainerBase
.final ObjectProperty<Predicate<R>>
A predicate used to filter the rows.Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.final BooleanProperty
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, focusVisible, focusWithin, 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 ClassesModifier and TypeClassDescriptionstatic enum
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanProperty
Determines if the scrollbar will automatically hide itself if no longer needed.protected ListViewGraphics<R>
Creates the graphics view used by the Gantt chart.protected ScrollBar
Creates a regular scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.FIXED_HORIZON
.protected Timeline
Creates the timeline component used by the Gantt chart.protected TimelineScrollBar
Creates a custom scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.INFINITE
.final ObjectProperty<Node>
A property used to store a node that can be made visible on the right-hand side of the Gantt chart.final DoubleProperty
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.final ObservableList<Calendar<?>>
Convenience method to return the list of calendars registered on the graphics view.final Node
Returns the value ofdetailProperty()
.final double
Returns the value offixedCellSizeProperty()
.final ListViewGraphics<R>
Returns the graphics view shown on the right-hand side of the Gantt chart.final Node
Returns the value ofgraphicsHeaderProperty()
.Returns theMasterDetailPane
instance that is used to display theListViewGraphics
in the master section and the detail node in the detail section.final ScrollBar
Returns the scroll bar that will be used when the scrollbar type specified viascrollBarTypeProperty()
is set toGanttChartBase.ScrollBarType.FIXED_HORIZON
.final ObservableList<Layer>
Convenience method to return the list of layers registered on the graphics view.final IntervalTree<ActivityLink>
getLinks()
Convenience method to return the list of links registered on the graphics view.final Timeline
Returns the value ofmasterTimelineProperty()
.final Position
Returns the value ofpositionProperty()
.final Predicate
Returns the value ofrowFilterProperty()
.Gets the value of thescrollBarType
property.final Timeline
final TimelineScrollBar
Returns the specialized timeline scrollbar control used for scrolling forward and back in time.final ObjectProperty<Node>
A property used to store a node that will be placed above the graphics area instead of the timeline.final boolean
Gets the value of theautoHideScrollBar
property.final boolean
Returns the value ofshowDetailProperty()
.final ObjectProperty<Timeline>
A property used to store a reference to the timeline that is being considered the "master" timeline.final ObjectProperty<Position>
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) final ObjectProperty<Predicate<R>>
A predicate used to filter the rows.Determines whether the application should present a standard scrollbar (like ListView, TableView, or TreeView), a scrollbar for infinite scrolling, or no scrollbar at all.final void
setAutoHideScrollBar
(boolean autoHideScrollBar) Sets the value of theautoHideScrollBar
property.final void
Sets the value ofdetailProperty()
.final void
setFixedCellSize
(double size) Sets the value offixedCellSizeProperty()
.final void
setGraphicsHeader
(Node node) Sets the value ofgraphicsHeaderProperty()
.final void
setMasterTimeline
(Timeline timeline) Sets the value ofmasterTimelineProperty()
.final void
setPosition
(Position position) Sets the value ofpositionProperty()
.final void
setRowFilter
(Predicate<R> predicate) Sets the value ofrowFilterProperty()
.final void
setScrollBarType
(GanttChartBase.ScrollBarType scrollBarType) Sets the value of thescrollBarType
property.final void
setShowDetail
(boolean show) Sets the value ofshowDetailProperty()
.final BooleanProperty
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, focusVisibleProperty, focusWithinProperty, 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, isFocusVisible, isFocusWithin, 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. -
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:
-
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:
-
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:
-
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 supports the sliding in and out of controls on the four sides.- Since:
- 11.12.3
- See Also:
-
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:
-
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:
-
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:
-
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:
-
-
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.- Returns:
- the filter predicate
- See Also:
-
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.- Returns:
- the graphics header node property
- Since:
- 1.6
- See Also:
-
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.- Returns:
- the Gantt chart position
- Since:
- 1.6
- See Also:
-
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).- Returns:
- the master timeline
- Since:
- 1.6
- See Also:
-
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
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:
-
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:
-
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:
-
isAutoHideScrollBar
public final boolean isAutoHideScrollBar()Gets the value of theautoHideScrollBar
property.- 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 supports the sliding in and out of controls on the four sides. - Returns:
- the value of the
autoHideScrollBar
property - Since:
- 11.12.3
- See Also:
-
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 supports the sliding in and out of controls on the four sides.- Returns:
- true if the scrollbars should automatically hide when not used
- Since:
- 11.12.3
- See Also:
-
setAutoHideScrollBar
public final void setAutoHideScrollBar(boolean autoHideScrollBar) Sets the value of theautoHideScrollBar
property.- 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 supports the sliding in and out of controls on the four sides. - Parameters:
autoHideScrollBar
- the value for theautoHideScrollBar
property- Since:
- 11.12.3
- See Also:
-
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.- Returns:
- the scrollbar type supported by this Gantt chart, default is "infinite"
- Since:
- 11.12.3
- See Also:
-
getScrollBarType
Gets the value of thescrollBarType
property.- 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.
- Returns:
- the value of the
scrollBarType
property - Since:
- 11.12.3
- See Also:
-
setScrollBarType
Sets the value of thescrollBarType
property.- 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.
- Parameters:
scrollBarType
- the value for thescrollBarType
property- Since:
- 11.12.3
- See Also:
-
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.- Returns:
- the detail node
- Since:
- 1.6
- See Also:
-
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.- Returns:
- the fixed cell size
- Since:
- 1.6
- See Also:
-
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()
).- Returns:
- the show details property
- Since:
- 1.6
- See Also:
-
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:
-
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:
-
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:
-