Class ForecastActivityDetailGanttBlock<BOForecastActivityDetailGantt>
java.lang.Object
overit.geocallapp.utilities.ux.ui.container.gantt.data.GanttBlock<BOForecastActivityDetailGantt>
overit.geocallapp.wfm.planning.ux.forecastcapacity.forecast.activity.detail.gantt.ForecastActivityDetailGanttBlock<BOForecastActivityDetailGantt>
- All Implemented Interfaces:
Serializable,Comparable<GanttBlock<BOForecastActivityDetailGantt>>
public class ForecastActivityDetailGanttBlock<BOForecastActivityDetailGantt>
extends GanttBlock<BOForecastActivityDetailGantt>
The Class that defines the forecast activity gantt block.
- Since:
- 15.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocallapp.utilities.ux.ui.container.gantt.data.GanttBlock
GanttBlock.GanttBlockType -
Field Summary
Fields inherited from class overit.geocallapp.utilities.ux.ui.container.gantt.data.GanttBlock
_links, DEFAULT_COLOR, DEFAULT_PRIORITY, TYPE_MILESTONE, TYPE_SIMPLE -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new data collection template gantt row. -
Method Summary
Modifier and TypeMethodDescriptionintMethod overriden because if 2 blocks have the same start date but different vertical position level must be considered differentintReturn the vertical position level: the smaller the vertical position level, the higher the block will be drawnvoidsetVerticalPositionLevel(int verticalPositionLevel) Set the vertical position level: the smaller the vertical position level, the higher the block will be drawnMethods inherited from class overit.geocallapp.utilities.ux.ui.container.gantt.data.GanttBlock
addIndicator, addLink, equals, getActualBegin, getActualEnd, getBegin, getColor, getDescription, getEnd, getExpectedBegin, getExpectedEnd, getGradient, getId, getIndicators, getLinks, getPriority, getProgress, getRawData, getRow, getTooltipItems, getType, hashCode, removeIndicator, setActualBegin, setActualEnd, setBegin, setColor, setDescription, setEnd, setExpectedBegin, setExpectedEnd, setGradient, setId, setPriority, setProgress, setRawData, setRow, setTooltipItems, setType, toString
-
Constructor Details
-
ForecastActivityDetailGanttBlock
public ForecastActivityDetailGanttBlock()Instantiates a new data collection template gantt row.
-
-
Method Details
-
getVerticalPositionLevel
public int getVerticalPositionLevel()Return the vertical position level: the smaller the vertical position level, the higher the block will be drawn- Returns:
- the vertical position level
-
setVerticalPositionLevel
public void setVerticalPositionLevel(int verticalPositionLevel) Set the vertical position level: the smaller the vertical position level, the higher the block will be drawn- Parameters:
verticalPositionLevel- the vertical position level
-
compareTo
Method overriden because if 2 blocks have the same start date but different vertical position level must be considered different- Specified by:
compareToin interfaceComparable<BOForecastActivityDetailGantt>- Overrides:
compareToin classGanttBlock<BOForecastActivityDetailGantt>- Parameters:
o- the object to be compared.- Returns:
- 0 if the input block is equal to the current block
-