T
- the type of the Gantt chartpublic abstract class DualGanttChartContainerBase<T extends GanttChartBase<?>> extends ContainerBase<T>
ContainerBase
capable of displaying
exactly two instances of GanttChartBase
and keeping their layouts and
their scrolling and zooming behavior in sync. The container distinguishes between
a primary and a secondary Gantt chart, where the secondary Gantt chart is located
in the detail node section of a MasterDetailPane
. It can be hidden or shown
on demand. Each one of the two Gantt charts can have its own header and footer.Modifier | Constructor and Description |
---|---|
protected |
DualGanttChartContainerBase(boolean autoBinding,
T primaryGanttChart,
T secondaryGanttChart)
Constructs a new container with the given Gantt chart controls.
|
protected |
DualGanttChartContainerBase(T primaryGanttChart,
T secondaryGanttChart)
Constructs a new container with the given Gantt chart controls.
|
Modifier and Type | Method and Description |
---|---|
protected javafx.scene.control.Skin<?> |
createDefaultSkin() |
org.controlsfx.control.MasterDetailPane |
getMasterDetailPane()
Returns the
MasterDetailPane instance used by the skin of this
control to arrange the primary and secondary Gantt charts. |
javafx.scene.Node |
getPrimaryFooter()
Returns the value of
primaryFooterProperty() . |
T |
getPrimaryGanttChart()
Returns the value of
primaryGanttChartProperty() . |
javafx.scene.Node |
getPrimaryHeader()
Returns the value of
primaryHeaderProperty() . |
javafx.collections.ObservableList<org.controlsfx.control.PropertySheet.Item> |
getPropertySheetItems()
Returns property sheet items.
|
javafx.scene.Node |
getSecondaryFooter()
Returns the value of
secondaryFooterProperty() . |
T |
getSecondaryGanttChart()
Returns the value of
secondaryGanttChartProperty() . |
javafx.scene.Node |
getSecondaryHeader()
Returns the value of
secondaryHeaderProperty() . |
String |
getUserAgentStylesheet() |
boolean |
isShowSecondary()
Returns the value of
showSecondaryProperty() . |
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
primaryFooterProperty()
A property used to store the reference to a node that will be displayed
in the footer position of the primary Gantt chart.
|
javafx.beans.property.ObjectProperty<T> |
primaryGanttChartProperty()
A property used to store the reference to the Gantt chart control that is
serving as the primary Gantt chart.
|
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
primaryHeaderProperty()
A property used to store the reference to a control that will be serving
as a header for the primary Gantt chart.
|
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
secondaryFooterProperty()
A property used to store the reference to a node that will be used in the
footer position of the secondary Gantt chart.
|
javafx.beans.property.ObjectProperty<T> |
secondaryGanttChartProperty()
A property used to store the reference to the secondary Gantt chart.
|
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
secondaryHeaderProperty()
A property used to store the reference to a control that will be serving
as a header for the secondary Gantt chart.
|
void |
setPrimaryFooter(javafx.scene.Node footer)
Sets the value of
primaryFooterProperty() . |
void |
setPrimaryGanttChart(T ganttChart)
Sets the value of
primaryGanttChartProperty() . |
void |
setPrimaryHeader(javafx.scene.Node header)
Sets the value of the
primaryHeaderProperty() . |
void |
setSecondaryFooter(javafx.scene.Node footer)
Sets the value of
secondaryFooterProperty() . |
void |
setSecondaryGanttChart(T ganttChart)
Sets the value of
secondaryGanttChartProperty() . |
void |
setSecondaryHeader(javafx.scene.Node header)
Sets the value of
secondaryHeaderProperty() . |
void |
setShowSecondary(boolean show)
Sets the value of
showSecondaryProperty() . |
javafx.beans.property.BooleanProperty |
showSecondaryProperty()
A property used to toggle the visibility of the secondary Gantt chart.
|
getGanttCharts, isAutoBinding
getUserAgentStylesheet
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, 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 DualGanttChartContainerBase(boolean autoBinding, T primaryGanttChart, T secondaryGanttChart)
autoBinding
- if true many properties of the secondary control will be bound
to their equivalent of the primary Gantt chartprimaryGanttChart
- the primary Gantt chart shown in the top positionsecondaryGanttChart
- the secondary Gantt chart shown in the bottom positionprotected DualGanttChartContainerBase(T primaryGanttChart, T secondaryGanttChart)
primaryGanttChart
- the primary Gantt chart shown in the top positionsecondaryGanttChart
- the secondary Gantt chart shown in the bottom positionprotected javafx.scene.control.Skin<?> createDefaultSkin()
createDefaultSkin
in class javafx.scene.control.Control
public String getUserAgentStylesheet()
getUserAgentStylesheet
in class javafx.scene.layout.Region
public final org.controlsfx.control.MasterDetailPane getMasterDetailPane()
MasterDetailPane
instance used by the skin of this
control to arrange the primary and secondary Gantt charts. The primary Gantt
chart will be the master and the secondary Gantt chart will be the detail node.MasterDetailPane.setMasterNode(Node)
,
MasterDetailPane.setDetailNode(Node)
public final javafx.beans.property.ObjectProperty<T> primaryGanttChartProperty()
public final void setPrimaryGanttChart(T ganttChart)
primaryGanttChartProperty()
.ganttChart
- the gantt chart controlpublic final T getPrimaryGanttChart()
primaryGanttChartProperty()
.public final javafx.beans.property.ObjectProperty<javafx.scene.Node> primaryHeaderProperty()
public final void setPrimaryHeader(javafx.scene.Node header)
primaryHeaderProperty()
.header
- the node that will be used as a headerpublic final javafx.scene.Node getPrimaryHeader()
primaryHeaderProperty()
.public final javafx.beans.property.ObjectProperty<javafx.scene.Node> primaryFooterProperty()
public final void setPrimaryFooter(javafx.scene.Node footer)
primaryFooterProperty()
.footer
- the node that will be displayed in the footer position of the
primary Gantt chartpublic final javafx.scene.Node getPrimaryFooter()
primaryFooterProperty()
.public final javafx.beans.property.ObjectProperty<javafx.scene.Node> secondaryHeaderProperty()
public final void setSecondaryHeader(javafx.scene.Node header)
secondaryHeaderProperty()
.header
- the control used as a header for the secondary Gantt chartpublic final javafx.scene.Node getSecondaryHeader()
secondaryHeaderProperty()
.public final javafx.beans.property.ObjectProperty<javafx.scene.Node> secondaryFooterProperty()
public final void setSecondaryFooter(javafx.scene.Node footer)
secondaryFooterProperty()
.footer
- the node that will be shown in the footer position of the
secondary Gantt chartpublic final javafx.scene.Node getSecondaryFooter()
secondaryFooterProperty()
.public final javafx.beans.property.ObjectProperty<T> secondaryGanttChartProperty()
public final void setSecondaryGanttChart(T ganttChart)
secondaryGanttChartProperty()
.ganttChart
- the gantt chart controlpublic final T getSecondaryGanttChart()
secondaryGanttChartProperty()
.public final javafx.beans.property.BooleanProperty showSecondaryProperty()
public final boolean isShowSecondary()
showSecondaryProperty()
.public final void setShowSecondary(boolean show)
showSecondaryProperty()
.show
- if true the secondary Gantt chart will be visiblepublic final javafx.collections.ObservableList<org.controlsfx.control.PropertySheet.Item> getPropertySheetItems()
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.