public class DualGanttChartContainer extends MultiGanttChartContainer
MultiGanttChartContainer
capable of displaying
exactly two instances of GanttChart
and keeping their layouts (same
table width, same timeline) and their scrolling and zooming behavior in
synch. 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.
The screenshot below shows the initial appearance of an empty Dual Gantt
chart control.Type | Property and Description |
---|---|
ObjectProperty<Node> |
primaryFooter
A property used to store the reference to a node that will be displayed
in the footer position of the primary Gantt chart.
|
ObjectProperty<GanttChart<?>> |
primaryGanttChart
A property used to store the reference to the Gantt chart control that is
serving as the primary Gantt chart.
|
ObjectProperty<Node> |
primaryHeader
A property used to store the reference to a control that will be serving
as a header for the primary Gantt chart.
|
ObjectProperty<Node> |
secondaryFooter
A property used to store the reference to a node that will be used in the
footer position of the secondary Gantt chart.
|
ObjectProperty<GanttChart<?>> |
secondaryGanttChart
A property used to store the reference to the secondary Gantt chart.
|
ObjectProperty<Node> |
secondaryHeader
A property used to store the reference to a control that will be serving
as a header for the secondary Gantt chart.
|
BooleanProperty |
showSecondary
A property used to toggle the visibility of the secondary Gantt chart.
|
contextMenu, skinClassName, skin, tooltip
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width
impl_traversalEngine, needsLayout
blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, impl_showMnemonics, impl_treeVisible, 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, visible
USE_COMPUTED_SIZE, USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
Constructor and Description |
---|
DualGanttChartContainer()
Constructs a new container.
|
DualGanttChartContainer(boolean autoBinding)
Constructs a new container.
|
DualGanttChartContainer(boolean autoBinding,
GanttChart<?> primaryGanttChart,
GanttChart<?> secondaryGanttChart)
Constructs a new container with the given Gantt chart controls.
|
DualGanttChartContainer(GanttChart<?> primaryGanttChart,
GanttChart<?> secondaryGanttChart)
Constructs a new container with the given Gantt chart controls.
|
Modifier and Type | Method and Description |
---|---|
protected Skin<?> |
createDefaultSkin() |
Node |
getPrimaryFooter()
Returns the value of
primaryFooterProperty() . |
GanttChart<?> |
getPrimaryGanttChart()
Returns the value of
primaryGanttChartProperty() . |
Node |
getPrimaryHeader()
Returns the value of
primaryHeaderProperty() . |
Node |
getSecondaryFooter()
Returns the value of
secondaryFooterProperty() . |
GanttChart<?> |
getSecondaryGanttChart()
Returns the value of
secondaryGanttChartProperty() . |
Node |
getSecondaryHeader()
Returns the value of
secondaryHeaderProperty() . |
boolean |
isShowSecondary()
Returns the value of
showSecondaryProperty() . |
ObjectProperty<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.
|
ObjectProperty<GanttChart<?>> |
primaryGanttChartProperty()
A property used to store the reference to the Gantt chart control that is
serving as the primary Gantt chart.
|
ObjectProperty<Node> |
primaryHeaderProperty()
A property used to store the reference to a control that will be serving
as a header for the primary Gantt chart.
|
ObjectProperty<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.
|
ObjectProperty<GanttChart<?>> |
secondaryGanttChartProperty()
A property used to store the reference to the secondary Gantt chart.
|
ObjectProperty<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(Node footer)
Sets the value of
primaryFooterProperty() . |
void |
setPrimaryGanttChart(GanttChart<?> ganttChart)
Sets the value of
primaryGanttChartProperty() . |
void |
setPrimaryHeader(Node header)
Sets the value of the
primaryHeaderProperty() . |
void |
setSecondaryFooter(Node footer)
Sets the value of
secondaryFooterProperty() . |
void |
setSecondaryGanttChart(GanttChart<?> ganttChart)
Sets the value of
secondaryGanttChartProperty() . |
void |
setSecondaryHeader(Node header)
Sets the value of
secondaryHeaderProperty() . |
void |
setShowSecondary(boolean show)
Sets the value of
showSecondaryProperty() . |
BooleanProperty |
showSecondaryProperty()
A property used to toggle the visibility of the secondary Gantt chart.
|
getGanttCharts, getSplitPane, isAutoBinding, resetDividerPositions
getUserAgentStylesheet
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, 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
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, 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, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, 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, screenToLocal, screenToLocal, screenToLocal, 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
public final ObjectProperty<GanttChart<?>> primaryGanttChartProperty
getPrimaryGanttChart()
,
setPrimaryGanttChart(GanttChart)
public final ObjectProperty<Node> primaryHeaderProperty
getPrimaryHeader()
,
setPrimaryHeader(Node)
public final ObjectProperty<Node> primaryFooterProperty
getPrimaryFooter()
,
setPrimaryFooter(Node)
public final ObjectProperty<Node> secondaryHeaderProperty
public final ObjectProperty<Node> secondaryFooterProperty
getSecondaryFooter()
,
setSecondaryFooter(Node)
public final ObjectProperty<GanttChart<?>> secondaryGanttChartProperty
public final BooleanProperty showSecondaryProperty
isShowSecondary()
,
setShowSecondary(boolean)
public DualGanttChartContainer(boolean autoBinding, GanttChart<?> primaryGanttChart, GanttChart<?> 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 positionpublic DualGanttChartContainer(GanttChart<?> primaryGanttChart, GanttChart<?> secondaryGanttChart)
primaryGanttChart
- the primary Gantt chart shown in the top positionsecondaryGanttChart
- the secondary Gantt chart shown in the bottom positionpublic DualGanttChartContainer(boolean autoBinding)
setPrimaryGanttChart(GanttChart)
and
setSecondaryGanttChart(GanttChart)
.autoBinding
- if true many properties of the secondary Gantt chart will be
bound to their equivalent of the primary Gantt chartpublic DualGanttChartContainer()
setPrimaryGanttChart(GanttChart)
and
setSecondaryGanttChart(GanttChart)
. The properties of the
secondary Gantt chart will be bound to their equivalent of the primary
Gantt chart.protected Skin<?> createDefaultSkin()
createDefaultSkin
in class MultiGanttChartContainer
public final ObjectProperty<GanttChart<?>> primaryGanttChartProperty()
getPrimaryGanttChart()
,
setPrimaryGanttChart(GanttChart)
public final void setPrimaryGanttChart(GanttChart<?> ganttChart)
primaryGanttChartProperty()
.ganttChart
- the gantt chart controlpublic final GanttChart<?> getPrimaryGanttChart()
primaryGanttChartProperty()
.public final ObjectProperty<Node> primaryHeaderProperty()
getPrimaryHeader()
,
setPrimaryHeader(Node)
public final void setPrimaryHeader(Node header)
primaryHeaderProperty()
.header
- the node that will be used as a headerpublic final Node getPrimaryHeader()
primaryHeaderProperty()
.public final ObjectProperty<Node> primaryFooterProperty()
getPrimaryFooter()
,
setPrimaryFooter(Node)
public final void setPrimaryFooter(Node footer)
primaryFooterProperty()
.footer
- the node that will be displayed in the footer position of the
primary Gantt chartpublic final Node getPrimaryFooter()
primaryFooterProperty()
.public final ObjectProperty<Node> secondaryHeaderProperty()
public final void setSecondaryHeader(Node header)
secondaryHeaderProperty()
.header
- the control used as a header for the secondary Gantt chartpublic final Node getSecondaryHeader()
secondaryHeaderProperty()
.public final ObjectProperty<Node> secondaryFooterProperty()
getSecondaryFooter()
,
setSecondaryFooter(Node)
public final void setSecondaryFooter(Node footer)
secondaryFooterProperty()
.footer
- the node that will be shown in the footer position of the
secondary Gantt chartpublic final Node getSecondaryFooter()
secondaryFooterProperty()
.public final ObjectProperty<GanttChart<?>> secondaryGanttChartProperty()
public final void setSecondaryGanttChart(GanttChart<?> ganttChart)
secondaryGanttChartProperty()
.ganttChart
- the gantt chart controlpublic final GanttChart<?> getSecondaryGanttChart()
secondaryGanttChartProperty()
.public final BooleanProperty showSecondaryProperty()
isShowSecondary()
,
setShowSecondary(boolean)
public final boolean isShowSecondary()
showSecondaryProperty()
.public final void setShowSecondary(boolean show)
showSecondaryProperty()
.show
- if true the secondary Gantt chart will be visibleCopyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.