Class GanttTimeLineRenderer<R,B>
java.lang.Object
overit.geocallapp.utilities.ux.ui.container.gantt.view.renderer.GanttBaseRenderer<R,B>
overit.geocallapp.utilities.ux.ui.container.gantt.view.renderer.timeline.GanttTimeLineRenderer<R,B>
- Type Parameters:
R- the type of theGanttRowraw dataB- the type of theGanttBlockraw data
- All Implemented Interfaces:
Serializable,GanttRenderer<R,B>
- Direct Known Subclasses:
DataCollectionTemplateGanttTimeLineRenderer,ForecastActivityDetailGanttTimeLineRenderer,MultistageGroupGanttTimeLineRenderer,ProjectGanttTimeLineRenderer
public class GanttTimeLineRenderer<R,B>
extends GanttBaseRenderer<R,B>
implements GanttRenderer<R,B>
Renderer of the Gantt time line
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class overit.geocallapp.utilities.ux.ui.container.gantt.view.renderer.GanttBaseRenderer
_cleaner, _eventsToValidate, _gridCols, _gridRows, _helperFactory, _itemClickEvent, _itemContextMenuEvent, _renderedRows, _width, DEFAULT_WIDTH, EVENT_PARAM_ATTRIBUTE, HEADER_CLASS, HEADER_ROW_CLASS, HEADER_ROW_HEIGHT, indicatorIconsMap, LOG, NO_CLICK_EVENT, NULL_EL, PROXY_TOOLTIP_CLASS, PROXY_TOOLTIP_DATA_ATTRIBUTE, ROW_CLASS, TOOLTIP_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBlockTooltip(GanttView<R, B> view, GanttBlock<B> block, org.apache.ecs.html.Div item) protected voidaddClusters(GanttView<R, B> view, GanttRowClustered<R, B> clustered, org.apache.ecs.html.Div rowEl, GanttHeaderRendererHelper helper) voidvoidbuildDisplayScript(GanttView<R, B> view, StringBuilder sb) protected org.apache.ecs.html.Divprotected org.apache.ecs.html.DivbuildHeader(GanttView<R, B> view, double rowWidth) protected org.apache.ecs.html.DivbuildHeaderBrick(GanttView<R, B> view, Date date, double width, int type) protected org.apache.ecs.html.DivbuildHeaderRow(double rowWidth) org.apache.ecs.Elementprotected org.apache.ecs.html.DivdrawActualBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) protected org.apache.ecs.html.DivdrawBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) protected org.apache.ecs.html.DivdrawBlockIndicators(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) protected org.apache.ecs.html.DivdrawDiamondBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) protected org.apache.ecs.html.DivdrawExpectedBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) protected org.apache.ecs.html.DivdrawSimpleBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) getBlockElementId(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block) protected StringgetEdgesLayerId(GanttView<R, B> view) protected StringgetGridStyle(GanttView<R, B> view, double rowWidth) getJSVariableName(GanttView<R, B> view) protected doublevoidsetWidth(double width) Methods inherited from class overit.geocallapp.utilities.ux.ui.container.gantt.view.renderer.GanttBaseRenderer
addEvent, addEventValidation, buildContainerStyle, buildGridCol, buildGridRow, cleaner, clearRenderedElements, getHeaderHeight, getHelper, getRowBaseStyle, getWidth, initIndicatorsMap, setItemClickEvent, setItemContextMenuEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocallapp.utilities.ux.ui.container.gantt.view.renderer.GanttRenderer
getWidth, setItemClickEvent, setItemContextMenuEvent
-
Field Details
-
GANTT_ITEM_CLASS
- See Also:
-
GANTT_ITEM_SELECTED_CLASS
- See Also:
-
GANTT_OVERLAPP_INDICATOR_CLASS
- See Also:
-
GANTT_BRICK_INDICATOR_WRAPPER_CLASS
- See Also:
-
GANTT_BRICK_INDICATOR_CLASS
- See Also:
-
TIMELINE_WRAPPER_CLASS
- See Also:
-
TIMELINE_BODY_CLASS
- See Also:
-
OVERLAP_ICON_CLICK_EVENT
- See Also:
-
OVERLAP_ICON_MENU_EVENT
- See Also:
-
BLOCK_INDICATOR_CLICK_EVENT
- See Also:
-
BLOCK_INDICATOR_MENU_EVENT
- See Also:
-
-
Constructor Details
-
GanttTimeLineRenderer
public GanttTimeLineRenderer()
-
-
Method Details
-
addRow
-
addClusters
protected void addClusters(GanttView<R, B> view, GanttRowClustered<R, B> clustered, org.apache.ecs.html.Div rowEl, GanttHeaderRendererHelper helper) -
drawBlockIndicators
protected org.apache.ecs.html.Div drawBlockIndicators(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) -
drawExpectedBlock
protected org.apache.ecs.html.Div drawExpectedBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) -
drawActualBlock
protected org.apache.ecs.html.Div drawActualBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) -
drawBlock
protected org.apache.ecs.html.Div drawBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) -
drawSimpleBlock
protected org.apache.ecs.html.Div drawSimpleBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) -
addBlockTooltip
protected void addBlockTooltip(GanttView<R, B> view, GanttBlock<B> block, org.apache.ecs.html.Div item) -
drawDiamondBlock
protected org.apache.ecs.html.Div drawDiamondBlock(GanttView<R, B> view, GanttRow<R, B> row, GanttBlock<B> block, GanttHeaderRendererHelper helper) -
getRowElementId
-
getBlockElementId
-
buildHtml
- Specified by:
buildHtmlin interfaceGanttRenderer<R,B> - Parameters:
view- the callingGanttView- Returns:
- the complete HTML generated for all the added rows.
-
buildGrid
-
getGridStyle
-
buildHeader
-
buildHeaderBrick
-
buildHeaderRow
protected org.apache.ecs.html.Div buildHeaderRow(double rowWidth) -
getEdgesLayerId
-
buildDisplayScript
- Specified by:
buildDisplayScriptin interfaceGanttRenderer<R,B> - Parameters:
view- the callingGanttViewsb- theStringBuilderin which append the setup script code
-
getJSVariableName
- Specified by:
getJSVariableNamein interfaceGanttRenderer<R,B> - Parameters:
view- the callingGanttView- Returns:
- the JS variable name generated for the component's client side object
-
setWidth
public void setWidth(double width) - Specified by:
setWidthin interfaceGanttRenderer<R,B> - Overrides:
setWidthin classGanttBaseRenderer<R,B> - Parameters:
width- the width (percentage) to set to this renderer component
-
getPixels
-