Package com.amalgamasimulation.charts
Class NumericGanttChart
java.lang.Object
com.amalgamasimulation.charts.Chart<IGanttChartVisualSet,GanttVisualSetContainer>
com.amalgamasimulation.charts.AbstractGanttChart
com.amalgamasimulation.charts.NumericGanttChart
- All Implemented Interfaces:
IVerticalGuidelineOwner<IGanttChartVisualSet,GanttVisualSetContainer>
A chart is a GUI component based on JavaFX's XYChart class that can be used
to conveniently draw numeric and statistical data. All charts are designed to
be compatible with Eclipse RCP applications and SWT framework. A Numeric Gantt
Chart is used to show history of some state changes or schedules with
numeric X-axis.
- Author:
- Aleksey Kirillov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GanttChartNumericXAxisprotected GanttChartCategoryYAxisFields inherited from class com.amalgamasimulation.charts.AbstractGanttChart
internalGanttChart -
Constructor Summary
ConstructorsConstructorDescriptionNumericGanttChart(IChartEnvironment chartEnvironment) Constructs a Gantt Chart with a set of default parameters: no title, default begin displayed range size etc.NumericGanttChart(IChartEnvironment chartEnvironment, double beginDisplayedRangeSize) Constructs a Gantt Chart with a given begin displayed range size and no title.NumericGanttChart(IChartEnvironment chartEnvironment, String title) Constructs a Gantt Chart with a given title and default begin displayed range size.NumericGanttChart(IChartEnvironment chartEnvironment, String title, double beginDisplayedRangeSize) Constructs a Gantt Chart with a given begin displayed range size and given title. -
Method Summary
Methods inherited from class com.amalgamasimulation.charts.AbstractGanttChart
addContextMenuItem, addMouseClickHandler, addVerticalGuidelineChangeHandler, clearContextMenuItems, clearMouseClickHandlers, clearVerticalGuidelineChangeHandlers, getChartInternal, getVerticalGuidelineColor, getVerticalGuidelineLabelFormat, getVerticalGuidelinePosition, getVerticalGuidelineWidth, hideVerticalGuideline, isVerticalGuidelineDisplayed, isVerticalGuidelineLabelVisible, isVerticalGuidelineSnapToGridLines, isVerticalGuidelineValuesVisible, isVerticalGuidelineVisible, removeContextMenuItem, removeMouseClickHandler, removeVerticalGuidelineChangeHandler, setShowGanttChartRowMenuItemVisible, setVerticalGuidelineColor, setVerticalGuidelineColor, setVerticalGuidelineLabelFormat, setVerticalGuidelineLabelVisible, setVerticalGuidelineSnapToGridLines, setVerticalGuidelineValuesVisible, setVerticalGuidelineVisible, setVerticalGuidelineWidth, showVerticalGuidelineDisplayedMethods inherited from class com.amalgamasimulation.charts.Chart
addKeyPressedHandler, addKeyReleasedHandler, addMouseDragExitedHandler, addMouseDraggedHandler, addMouseDragOverHandler, addMouseDragReleasedHandler, addMouseEnteredHandlers, addMouseExitedHandler, addMousePressedHandler, addMouseReleasedHandler, addMouseScrollHandler, addRedrawFinishedHandler, addTextLabel, addTextLabel, clearKeyPressedHandlers, clearKeyReleasedHandlers, clearMouseDragExitedHandlers, clearMouseDraggedHandlers, clearMouseDragOverHandlers, clearMouseDragReleasedHandlers, clearMouseEnteredHandlers, clearMouseExitedHandlers, clearMousePressedHandlers, clearMouseReleasedHandlers, clearMouseScrollHandlers, clearRedrawFinishedHandlers, copyToClipboard, dispose, getBackgroundColor, getBottomMargin, getContentBackgroundColor, getLeftMargin, getTitle, getTitleColor, getTitleFont, getTitleFontSize, getTopMargin, getVisualSetContainer, initializeChartGroup, isDisposed, isRedrawInProgress, isTitleVisible, isVisible, isVisualSetVisible, redraw, removeKeyPressedHandler, removeKeyReleasedHandler, removeMouseDragExitedHandler, removeMouseDraggedHandler, removeMouseDragOverHandler, removeMouseDragReleasedHandler, removeMouseEnteredHandler, removeMouseExitedHandler, removeMousePressedHandler, removeMouseReleasedHandler, removeMouseScrollHandler, removeRedrawFinishedHandler, removeTextLabel, resizeChart, setBackgroundColor, setBackgroundColor, setBottomMargin, setContentBackgroundColor, setContentBackgroundColor, setContextMenuVisible, setCopyToClipboardContextMenuItemVisible, setLeftMargin, setTitle, setTitleColor, setTitleColor, setTitleFont, setTitleFontSize, setTitleVisible, setTopMargin, setVisibility, setVisualSetContainer, setVisualSetVisible, updateSize
-
Field Details
-
xAxis
-
yAxis
-
-
Constructor Details
-
NumericGanttChart
Constructs a Gantt Chart with a set of default parameters: no title, default begin displayed range size etc.- Parameters:
chartEnvironment- parent subtype ofIChartEnvironment, that is a layer between the parent composite and this chart
-
NumericGanttChart
Constructs a Gantt Chart with a given title and default begin displayed range size.- Parameters:
chartEnvironment- parent subtype ofIChartEnvironment, that is a layer between the parent composite and this charttitle- chart title i.e. label written above the chart
-
NumericGanttChart
Constructs a Gantt Chart with a given begin displayed range size and no title.- Parameters:
chartEnvironment- parent subtype ofIChartEnvironment, that is a layer between the parent composite and this chartbeginDisplayedRangeSize- begin displayed range size
-
NumericGanttChart
public NumericGanttChart(IChartEnvironment chartEnvironment, String title, double beginDisplayedRangeSize) Constructs a Gantt Chart with a given begin displayed range size and given title.- Parameters:
chartEnvironment- parent subtype ofIChartEnvironment, that is a layer between the parent composite and this charttitle- chart title i.e. label written above the chartbeginDisplayedRangeSize- begin displayed range size
-
-
Method Details
-
getXAxis
Description copied from class:ChartReturns the X-axis of this chart.- Specified by:
getXAxisin classChart<IGanttChartVisualSet,GanttVisualSetContainer> - Returns:
- the X-axis of this chart
-
getYAxis
Description copied from class:ChartReturns the Y-axis of this chart.- Specified by:
getYAxisin classChart<IGanttChartVisualSet,GanttVisualSetContainer> - Returns:
- the Y-axis of this chart
-