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:
  • 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

      public int compareTo(GanttBlock<BOForecastActivityDetailGantt> o)
      Method overriden because if 2 blocks have the same start date but different vertical position level must be considered different
      Specified by:
      compareTo in interface Comparable<BOForecastActivityDetailGantt>
      Overrides:
      compareTo in class GanttBlock<BOForecastActivityDetailGantt>
      Parameters:
      o - the object to be compared.
      Returns:
      0 if the input block is equal to the current block