Interface ColumnHeader<I extends QueryItem>

Type Parameters:
I - QueryItem on which the Report is based on.
All Known Implementing Classes:
PriorityColumnHeader, TaskStatusColumnHeader, TimeIntervalColumnHeader, TimeIntervalColumnHeader.Date, TimeIntervalColumnHeader.Range

public interface ColumnHeader<I extends QueryItem>
A ColumnHeader is an element of a Report. It determines weather a given <Item> belongs into the representing column.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    fits(I item)
    Determines if a specific item is meant part of this column.
    The display name is the string representation of this column.
  • Method Details

    • getDisplayName

      String getDisplayName()
      The display name is the string representation of this column. Used to give this column a name during presentation.
      Returns:
      String representation of this column.
    • fits

      boolean fits(I item)
      Determines if a specific item is meant part of this column.
      Parameters:
      item - the given item to check.
      Returns:
      True, if the item is supposed to be part of this column. Otherwise false.