All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Badgeable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable
Direct Known Subclasses:
ComparatorCalendarViewColumn, ResourceForecastCalendarViewColumn

@Component public class CalendarViewColumn extends Column
See Also:
  • Field Details

  • Constructor Details

    • CalendarViewColumn

      public CalendarViewColumn()
  • Method Details

    • setTimeRange

      protected void setTimeRange(CalendarViewTimeRange timeRange)
    • getHeadLabel

      public org.apache.ecs.Element getHeadLabel(EntitySet es)
      Overrides:
      getHeadLabel in class Column
    • buildHeaderElement

      protected org.apache.ecs.Element buildHeaderElement(String label)
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Description copied from class: Column
      Returns the html code of the Column
      Overrides:
      getHtml in class Column
      Parameters:
      es - The EntitySet to which the element belongs
      Returns:
      The html code of the Column
    • getHtmlRow

      public org.apache.ecs.Element getHtmlRow(EntitySet es, int row, int pagerow, ArrayList al)
      Description copied from class: Column
      Returns the html element that defines the row
      Overrides:
      getHtmlRow in class Column
      Parameters:
      es - The EntitySet to which the element belongs
      row - The number of the row
      pagerow - The number ofd the page
      al - The list of values of the row
      Returns:
      The html element that defines the row
    • setupCellData

      protected void setupCellData(CalendarViewColumnCell<?> cell, int row)
      Set additional data useful for manage column data (ex: selection)
    • drawCalendarViewCell

      protected org.apache.ecs.Element drawCalendarViewCell(CalendarViewColumnCell<?> cell)
      Set the properties of the displayed item in the table cell
    • getTD

      public org.apache.ecs.html.TD getTD(EntitySet es, int row, ArrayList al, boolean roll, boolean selected)
      Override to add the selection theme on selected cells
      Overrides:
      getTD in class Column
      Parameters:
      es - The EntitySet to which the element belongs
      row - The number of the row
      al - The list of values of the row
      roll - true if the mouse cursor is positioned over the cell, false otherwise
      selected - true if the row is currently selected, false otherwise
      Returns:
      The TD cell element
    • setup

      protected void setup()
      Description copied from class: Component
      Setup the Component
      Overrides:
      setup in class Column
    • buildCustomCss

      protected void buildCustomCss(StringBuilder css)