public class GanttChartImpl extends SeriesBasedChartImpl<GanttChart,GanttChartModelImpl> implements GanttChart
SeriesBasedChart.CategoryItemClickEventChart.AbstractChartClickEvent, Chart.AbstractChartEvent, Chart.AbstractClickEvent, Chart.AbstractCursorEvent, Chart.AbstractGraphItemClickEvent, Chart.AbstractItemEvent, Chart.AbstractSliceClickEvent, Chart.AxisZoomEvent, Chart.ChartClickEvent, Chart.ChartRightClickEvent, Chart.CursorPeriodSelectEvent, Chart.CursorZoomEvent, Chart.GraphClickEvent, Chart.GraphItemClickEvent, Chart.GraphItemRightClickEvent, Chart.LegendItemClickEvent, Chart.LegendItemEvent, Chart.LegendItemHideEvent, Chart.LegendItemShowEvent, Chart.LegendMarkerClickEvent, Chart.RollOutGraphEvent, Chart.RollOutGraphItemEvent, Chart.RollOverGraphEvent, Chart.RollOverGraphItemEvent, Chart.SliceClickEvent, Chart.SlicePullInEvent, Chart.SlicePullOutEvent, Chart.SliceRightClickEvent, Chart.ZoomEventComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperHasContextHelp.ContextHelpIconClickEventcategoryItemClickHandler, zoomHandlercursorZoomHandler, periodSelectHandleraxisZoomHandler, graphClickHandler, graphItemClickHandler, graphItemRightClickHandler, rollOutGraphItemListener, rollOutGraphListener, rollOverGraphItemListener, rollOverGraphListenerchartLocaleHelper, clickHandler, currentAuthentication, formatStringsRegistry, legendItemHideHandler, legendItemShowHandler, legendLabelClickHandler, legendMarkerClickHandler, messages, messageTools, rightClickHandleralignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentNAMEAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Constructor and Description |
|---|
GanttChartImpl() |
| Modifier and Type | Method and Description |
|---|---|
GanttChart |
addAdditionalSegmentFields(java.lang.String... fields)
Adds additional segment fields.
|
protected GanttChartModelImpl |
createChartConfiguration() |
java.util.List<java.lang.String> |
getAdditionalSegmentFields() |
java.lang.Integer |
getBrightnessStep() |
java.lang.String |
getColorField() |
java.lang.String |
getColumnWidthField() |
java.lang.String |
getDurationField() |
java.lang.String |
getEndDateField() |
java.lang.String |
getEndField() |
Graph |
getGraph() |
DatePeriod |
getPeriod() |
java.lang.String |
getSegmentsField() |
java.util.Date |
getStartDate() |
java.lang.String |
getStartDateField() |
java.lang.String |
getStartField() |
ValueAxis |
getValueAxis() |
GanttChart |
setAdditionalSegmentFields(java.util.List<java.lang.String> additionalSegmentFields)
Sets the list of additional segment fields that should be fetched from the data provider, similarly to the
additionalFields attribute. |
GanttChart |
setBrightnessStep(java.lang.Integer brightnessStep)
Sets brightness step.
|
GanttChart |
setColorField(java.lang.String colorField)
Sets segment color field from your data provider.
|
GanttChart |
setColumnWidthField(java.lang.String columnWidthField)
Sets field of column width of a segments from your data provider.
|
GanttChart |
setDurationField(java.lang.String durationField)
Sets duration field.
|
GanttChart |
setEndDateField(java.lang.String endDateField)
Sets end date field from your data provider which holds end date of a segment.
|
GanttChart |
setEndField(java.lang.String endField)
Sets end field from your data provider which holds end value of a segment.
|
GanttChart |
setGraph(Graph graph)
Sets graph of a Gantt chart.
|
GanttChart |
setPeriod(DatePeriod period)
Sets data period.
|
GanttChart |
setSegmentsField(java.lang.String segmentsField)
Sets segments field in your data provider.
|
GanttChart |
setStartDate(java.util.Date startDate)
Sets initial date of value axis.
|
GanttChart |
setStartDateField(java.lang.String startDateField)
Sets date field from your data provider which holds start date of a segment.
|
GanttChart |
setStartField(java.lang.String startField)
Sets start field from your data provider which holds start value of a segment.
|
GanttChart |
setValueAxis(ValueAxis valueAxis)
Sets value axis of Gantt chart.
|
addCategoryItemClickListener, addZoomListener, detectDateBasedCategoryAxis, getBalloonDateFormat, getCategoryAxis, getCategoryField, getColumnSpacing, getColumnSpacing3D, getColumnWidth, getDataDateFormat, getMaxSelectedSeries, getMaxSelectedTime, getMinSelectedTime, getMouseWheelScrollEnabled, getMouseWheelZoomEnabled, getRotate, getSynchronizeGrid, getValueScrollbar, getZoomOutOnDataUpdate, onCategoryItemClick, onZoomEvent, setBalloonDateFormat, setCategoryAxis, setCategoryField, setColumnSpacing, setColumnSpacing3D, setColumnWidth, setDataDateFormat, setMaxSelectedSeries, setMaxSelectedTime, setMinSelectedTime, setMouseWheelScrollEnabled, setMouseWheelZoomEnabled, setRotate, setSynchronizeGrid, setupDefaults, setupSerialChartDefaults, setValueScrollbar, setZoomOutOnDataUpdate, zoomOut, zoomToDates, zoomToIndexesaddCursorPeriodSelectListener, addCursorZoomListener, addTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginBottom, getMarginLeft, getMarginRight, getMarginsUpdated, getMarginTop, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, onCursorPeriodSelect, onCursorZoom, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginBottom, setMarginLeft, setMarginRight, setMarginsUpdated, setMarginTop, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setupRectangularChartDefaults, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextaddAxisZoomListener, addColors, addGraphClickListener, addGraphItemClickListener, addGraphItemRightClickListener, addGraphs, addGuides, addRollOutGraphItemListener, addRollOutGraphListener, addRollOverGraphItemListener, addRollOverGraphListener, addValueAxes, getColors, getGraphById, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, onAxisZoomListener, onGraphClick, onGraphItemClick, onGraphItemRightClick, onRollOutGraphClick, onRollOutGraphItemClick, onRollOverGraphClick, onRollOverGraphItemClick, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxes, zoomOutValueAxes, zoomOutValueAxis, zoomOutValueAxis, zoomValueAxisToValues, zoomValueAxisToValuesaddAdditionalFields, addClickListener, addData, addLabels, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addRightClickListener, addTitles, afterPropertiesSet, createChartSerializer, createComponent, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getModel, getNativeJson, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, initLocale, onChartClick, onChartRightClick, onLegendItemHide, onLegendItemShow, onLegendLabelClick, onLegendMarkerClick, repaint, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setChartLocaleHelper, setClassNamePrefix, setColor, setCreditsPosition, setCurrentAuthentication, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setFormatStringsRegistry, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setMessages, setMessageTools, setNativeJson, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setupChartLocale, setUsePrefixesaddAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCategoryItemClickListener, addZoomListener, zoomOut, zoomToDates, zoomToIndexesaddCursorPeriodSelectListener, addCursorZoomListeneraddAxisZoomListener, addGraphClickListener, addGraphItemClickListener, addGraphItemRightClickListener, addRollOutGraphItemListener, addRollOutGraphListener, addRollOverGraphItemListener, addRollOverGraphListener, zoomOutValueAxes, zoomOutValueAxis, zoomOutValueAxis, zoomValueAxisToValues, zoomValueAxisToValuesaddClickListener, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addRightClickListener, getDataProvider, getNativeJson, repaint, setDataProvider, setNativeJsongetFrame, setFrameaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositiongetIcon, setIcon, setIconFromSetgetCaption, setCaptiongetDescription, setDescriptiongetBalloonDateFormat, getCategoryAxis, getCategoryField, getColumnSpacing, getColumnSpacing3D, getColumnWidth, getDataDateFormat, getMaxSelectedSeries, getMaxSelectedTime, getMinSelectedTime, getMouseWheelScrollEnabled, getMouseWheelZoomEnabled, getRotate, getSynchronizeGrid, getValueScrollbar, getZoomOutOnDataUpdate, setBalloonDateFormat, setCategoryAxis, setCategoryField, setColumnSpacing, setColumnSpacing3D, setColumnWidth, setDataDateFormat, setMaxSelectedSeries, setMaxSelectedTime, setMinSelectedTime, setMouseWheelScrollEnabled, setMouseWheelZoomEnabled, setRotate, setSynchronizeGrid, setValueScrollbar, setZoomOutOnDataUpdateaddTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginsUpdated, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginsUpdated, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextaddGraphs, addGuides, addValueAxes, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getUrlTarget, getValueAxes, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setUrlTarget, setValueAxesaddAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixesgetStartDuration, getStartEffect, setStartDuration, setStartEffectgetMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopprotected GanttChartModelImpl createChartConfiguration()
createChartConfiguration in class ChartImpl<GanttChart,GanttChartModelImpl>public java.lang.Integer getBrightnessStep()
getBrightnessStep in interface GanttChartModel<GanttChart>public GanttChart setBrightnessStep(java.lang.Integer brightnessStep)
GanttChartModelsetBrightnessStep in interface GanttChartModel<GanttChart>brightnessStep - brightness steppublic java.lang.String getColorField()
getColorField in interface GanttChartModel<GanttChart>public GanttChart setColorField(java.lang.String colorField)
GanttChartModelsetColorField in interface GanttChartModel<GanttChart>colorField - color field stringpublic java.lang.String getColumnWidthField()
getColumnWidthField in interface GanttChartModel<GanttChart>public GanttChart setColumnWidthField(java.lang.String columnWidthField)
GanttChartModelsetColumnWidthField in interface GanttChartModel<GanttChart>columnWidthField - column width field stringpublic java.lang.String getDurationField()
getDurationField in interface GanttChartModel<GanttChart>public GanttChart setDurationField(java.lang.String durationField)
GanttChartModelsetDurationField in interface GanttChartModel<GanttChart>durationField - duration field stringpublic java.lang.String getEndDateField()
getEndDateField in interface GanttChartModel<GanttChart>public GanttChart setEndDateField(java.lang.String endDateField)
GanttChartModelsetEndDateField in interface GanttChartModel<GanttChart>endDateField - end date field stringpublic java.lang.String getEndField()
getEndField in interface GanttChartModel<GanttChart>public GanttChart setEndField(java.lang.String endField)
GanttChartModelsetEndField in interface GanttChartModel<GanttChart>endField - end field stringpublic Graph getGraph()
getGraph in interface GanttChartModel<GanttChart>public GanttChart setGraph(Graph graph)
GanttChartModelsetGraph in interface GanttChartModel<GanttChart>graph - the graphpublic DatePeriod getPeriod()
getPeriod in interface GanttChartModel<GanttChart>public GanttChart setPeriod(DatePeriod period)
GanttChartModelsetPeriod in interface GanttChartModel<GanttChart>period - the periodpublic java.lang.String getSegmentsField()
getSegmentsField in interface GanttChartModel<GanttChart>public GanttChart setSegmentsField(java.lang.String segmentsField)
GanttChartModelsetSegmentsField in interface GanttChartModel<GanttChart>segmentsField - segments field stringpublic java.util.Date getStartDate()
getStartDate in interface GanttChartModel<GanttChart>public GanttChart setStartDate(java.util.Date startDate)
GanttChartModelsetStartDate in interface GanttChartModel<GanttChart>startDate - the start datepublic java.lang.String getStartDateField()
getStartDateField in interface GanttChartModel<GanttChart>public GanttChart setStartDateField(java.lang.String startDateField)
GanttChartModelsetStartDateField in interface GanttChartModel<GanttChart>startDateField - start date field stringpublic java.lang.String getStartField()
getStartField in interface GanttChartModel<GanttChart>public GanttChart setStartField(java.lang.String startField)
GanttChartModelsetStartField in interface GanttChartModel<GanttChart>startField - start field stringpublic ValueAxis getValueAxis()
getValueAxis in interface GanttChartModel<GanttChart>public GanttChart setValueAxis(ValueAxis valueAxis)
GanttChartModelsetValueAxis in interface GanttChartModel<GanttChart>valueAxis - the value axispublic java.util.List<java.lang.String> getAdditionalSegmentFields()
getAdditionalSegmentFields in interface GanttChartModel<GanttChart>public GanttChart setAdditionalSegmentFields(java.util.List<java.lang.String> additionalSegmentFields)
GanttChartModeladditionalFields attribute.setAdditionalSegmentFields in interface GanttChartModel<GanttChart>additionalSegmentFields - list of additional segment fieldspublic GanttChart addAdditionalSegmentFields(java.lang.String... fields)
GanttChartModeladdAdditionalSegmentFields in interface GanttChartModel<GanttChart>fields - the fields