Class GanttTestDataReader
java.lang.Object
overit.geocallapp.utilities.ux.ui.container.gantt.GanttTestDataReader
- All Implemented Interfaces:
Serializable,GanttDataReader<HashGetter,HashGetter>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildBlockData(HashGetter rawData) buildRowData(HashGetter rawData) getBlockBeginDate(HashGetter data) getBlockColor(HashGetter data) getBlockDescritpin(HashGetter data) getBlockEndDate(HashGetter data) getBlockId(HashGetter data) getBlockPriority(HashGetter data) getParentRowId(HashGetter data) getRowDescrition(HashGetter data) getRowId(HashGetter data) getRowTooltipItems(HashGetter data)
-
Constructor Details
-
GanttTestDataReader
public GanttTestDataReader()
-
-
Method Details
-
getRowId
- Specified by:
getRowIdin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the id of the row that holds the block
-
getRowDescrition
- Specified by:
getRowDescritionin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the description of the row that holds the block
-
getParentRowId
- Specified by:
getParentRowIdin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the id of the parent row (if exists), null otherwise.
-
getBlockId
- Specified by:
getBlockIdin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the id the Gantt block.
-
getBlockEndDate
- Specified by:
getBlockEndDatein interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the end date the Gantt block.
-
getBlockBeginDate
- Specified by:
getBlockBeginDatein interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the begin date the Gantt block.
-
getBlockDescritpin
- Specified by:
getBlockDescritpinin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the description the Gantt block.
-
getBlockColor
- Specified by:
getBlockColorin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the color to set to the Gantt block.
-
getBlockPriority
- Specified by:
getBlockPriorityin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- the priority value of the block, used to determine a render order.
-
getRowTooltipItems
- Specified by:
getRowTooltipItemsin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- a
Maplabel - value with the basic tool-tip for the row. The label will be managed via Teacher.adjust so, add the '=' to say if the label must be translation in the user language.
-
getBlockTooltipItems
- Specified by:
getBlockTooltipItemsin interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
data- the T with the data of row and block- Returns:
- a
Maplabel - value with the basic tool-tip for the row. The label will be managed via Teacher.adjust so, add the '=' to say if the label must be translation in the user language.
-
buildRowData
- Specified by:
buildRowDatain interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
rawData- the raw data record- Returns:
- an instance of R to pass to relative GanttRow
-
buildBlockData
- Specified by:
buildBlockDatain interfaceGanttDataReader<HashGetter,HashGetter> - Parameters:
rawData- the raw data record- Returns:
- an instance of B to pass to the relative GanttBlock
-