R
- the type of the rows shown by the Gantt chart (e.g. "Aircraft")public abstract class GanttChartBase<R extends Row<?,?,?>> extends FlexGanttFXControl
GanttChart
,
GanttChartLite
Modifier | Constructor and Description |
---|---|
protected |
GanttChartBase()
Constructs a new Gantt Chart control.
|
Modifier and Type | Method and Description |
---|---|
protected ListViewGraphics<R> |
createGraphics()
Creates the graphics view used by the Gantt chart.
|
protected Timeline |
createTimeline()
Creates the timeline component used by the Gantt chart.
|
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
detailProperty()
A property used to store a node that can be made visible on the
right-hand side of the Gantt chart.
|
javafx.beans.property.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.
|
javafx.collections.ObservableList<Calendar<?>> |
getCalendars()
Convenience method to return the list of calendars registered on the
graphics view.
|
javafx.scene.Node |
getDetail()
Returns the value of
detailProperty() . |
double |
getFixedCellSize()
Returns the value of
fixedCellSizeProperty() . |
ListViewGraphics<R> |
getGraphics()
Returns the graphics view shown on the right-hand side of the Gantt
chart.
|
javafx.scene.Node |
getGraphicsHeader()
Returns the value of
graphicsHeaderProperty() . |
org.controlsfx.control.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. |
javafx.collections.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 of
masterTimelineProperty() . |
Position |
getPosition()
Returns the value of
positionProperty() . |
Predicate |
getRowFilter()
Returns the value of
rowFilterProperty() . |
Timeline |
getTimeline()
|
TimelineScrollBar |
getTimelineScrollBar()
Returns the specialized timeline scrollbar control used for scrolling
forward and back in time.
|
String |
getUserAgentStylesheet() |
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
graphicsHeaderProperty()
A property used to store a node that will be placed above the graphics
area instead of the timeline.
|
boolean |
isShowDetail()
Returns the value of
showDetailProperty() . |
javafx.beans.property.ObjectProperty<Timeline> |
masterTimelineProperty()
A property used to store a reference to the timeline that is being
considered the "master" timeline.
|
javafx.beans.property.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 . |
protected void |
redrawObservable(javafx.beans.Observable property) |
javafx.beans.property.ObjectProperty<Predicate<R>> |
rowFilterProperty()
A predicate used to filter the rows.
|
void |
setDetail(javafx.scene.Node node)
Sets the value of
detailProperty() . |
void |
setFixedCellSize(double size)
Sets the value of
fixedCellSizeProperty() . |
void |
setGraphicsHeader(javafx.scene.Node node)
Sets the value of
graphicsHeaderProperty() . |
void |
setMasterTimeline(Timeline timeline)
Sets the value of
masterTimelineProperty() . |
void |
setPosition(Position position)
Sets the value of
positionProperty() . |
void |
setRowFilter(Predicate<R> predicate)
Sets the value of
rowFilterProperty() . |
void |
setShowDetail(boolean show)
Sets the value of
showDetailProperty() . |
javafx.beans.property.BooleanProperty |
showDetailProperty()
A property used to control whether the "details" node will be shown or
not.
|
getUserAgentStylesheet
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinClassNameProperty, skinProperty, tooltipProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, 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, snapSize, snapSpace, snapToPixelProperty, widthProperty
getChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBounds
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, 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, 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, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, 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, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visibleProperty
protected GanttChartBase()
public String getUserAgentStylesheet()
getUserAgentStylesheet
in class javafx.scene.layout.Region
public final javafx.beans.property.ObjectProperty<Predicate<R>> rowFilterProperty()
public final void setRowFilter(Predicate<R> predicate)
rowFilterProperty()
.predicate
- the filter predicatepublic final Predicate getRowFilter()
rowFilterProperty()
.protected ListViewGraphics<R> createGraphics()
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicsHeaderProperty()
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.public final javafx.scene.Node getGraphicsHeader()
graphicsHeaderProperty()
.public final void setGraphicsHeader(javafx.scene.Node node)
graphicsHeaderProperty()
.node
- the node used as a header above the graphics areaprotected void redrawObservable(javafx.beans.Observable property)
public final javafx.beans.property.ObjectProperty<Position> positionProperty()
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.getMasterTimeline()
public final Position getPosition()
positionProperty()
.public final void setPosition(Position position)
positionProperty()
.position
- the chart position (first, last, middle, only)public final javafx.beans.property.ObjectProperty<Timeline> masterTimelineProperty()
DualGanttChartContainer
or MultiGanttChartContainerBase
). The
master timeline is the one provided by the Gantt chart located at the top
of the container (the "first" chart).Position
,
setPosition(Position)
public final Timeline getMasterTimeline()
masterTimelineProperty()
.public final void setMasterTimeline(Timeline timeline)
masterTimelineProperty()
.timeline
- the new master timelinepublic final Timeline getTimeline()
createTimeline()
protected Timeline createTimeline()
public final ListViewGraphics<R> getGraphics()
MasterDetailPane
instance.createGraphics()
public final TimelineScrollBar getTimelineScrollBar()
HiddenSidesPane
public org.controlsfx.control.MasterDetailPane getGraphicsMasterDetailPane()
MasterDetailPane
instance that is used to display the
ListViewGraphics
in the master section and the detail node in the
detail section.public final javafx.beans.property.ObjectProperty<javafx.scene.Node> detailProperty()
showDetailProperty()
,
MasterDetailPane.detailNodeProperty()
public final void setDetail(javafx.scene.Node node)
detailProperty()
.node
- the new detail nodepublic final javafx.scene.Node getDetail()
detailProperty()
.public final javafx.beans.property.DoubleProperty fixedCellSizeProperty()
ListView.setFixedCellSize(double)
,
TreeTableView.setFixedCellSize(double)
public final double getFixedCellSize()
fixedCellSizeProperty()
.public final void setFixedCellSize(double size)
fixedCellSizeProperty()
.size
- the fixed cell sizepublic final javafx.beans.property.BooleanProperty showDetailProperty()
getGraphicsMasterDetailPane()
).MasterDetailPane.detailNodeProperty()
,
MasterDetailPane.setDetailNode(Node)
,
getGraphicsMasterDetailPane()
public final boolean isShowDetail()
showDetailProperty()
.public final void setShowDetail(boolean show)
showDetailProperty()
.show
- if true the detail node will be shown on the right-hand side
of the Gantt chartpublic final javafx.collections.ObservableList<Layer> getLayers()
GraphicsBase.getLayers()
public final IntervalTree<ActivityLink> getLinks()
GraphicsBase.getLinks()
public final javafx.collections.ObservableList<Calendar<?>> getCalendars()
GraphicsBase.getCalendars()
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.