Class GanttTreeRenderer<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.GanttTreeRenderer<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:
MultistageGroupGanttTreeRenderer,ProjectGanttTreeRenderer
Renderer of the Gantt tree
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IconHDprotected IconHDprotected booleanprotected static final Stringprotected static final Stringprotected static final intprotected 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 TypeMethodDescriptionvoidprotected org.apache.ecs.html.DivvoidbuildDisplayScript(GanttView view, StringBuilder sb) protected org.apache.ecs.html.Divprotected org.apache.ecs.html.Divprotected org.apache.ecs.html.DivbuildHeader(GanttView view) protected org.apache.ecs.html.DivbuildHeaderRow(Integer type) org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected org.apache.ecs.html.Divprotected org.apache.ecs.html.DivgetJSVariableName(GanttView view) protected voidvoidsetShowBlocksCounter(boolean show) 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, setItemContextMenuEvent, setWidthMethods 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, setWidth
-
Field Details
-
INDENTATION_WIDTH
protected static final int INDENTATION_WIDTH- See Also:
-
TREE_CONTENT_CLASS
- See Also:
-
TREE_WRAPPER_CLASS
- See Also:
-
TREE_NODE_CLASS
- See Also:
-
TREE_NODE_INDICATOR_CLASS
- See Also:
-
COLLAPSE_ROW_EVENT
- See Also:
-
EXPAND_ROW_EVENT
- See Also:
-
ROW_INDICATOR_CLICK_EVENT
- See Also:
-
ROW_INDICATOR_MENU_EVENT
- See Also:
-
_expandedIcon
-
_collapsedIcon
-
_showBloksCounter
protected boolean _showBloksCounter
-
-
Constructor Details
-
GanttTreeRenderer
public GanttTreeRenderer()
-
-
Method Details
-
setShowBlocksCounter
public void setShowBlocksCounter(boolean show) -
initIcons
protected void initIcons() -
addRow
-
buildRow
-
buildRowDescriptionElement
-
buildExpandIcon
-
buildCounterIcon
-
buildIndicatorIcons
-
buildHtml
- Specified by:
buildHtmlin interfaceGanttRenderer<R,B> - Parameters:
view- the callingGanttView- Returns:
- the complete HTML generated for all the added rows.
-
buildGrid
-
buildHeader
-
buildHeaderRow
-
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
-