Examples of TotalAwareColumnDescriptor


Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

          headerId = newHeaderId;
        }
      }
    }*/
   
    TotalAwareColumnDescriptor cd = new TotalAwareColumnDescriptor(headerId, column,
        StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT);
    cd.setTranslateHeaderKey(false);
    return cd;
  }
View Full Code Here

Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

      DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, ureq.getLocale());
      header = df.format(c.getTime());
    } catch(ParseException pe) {
      log_.warn("createColumnDescriptor: ParseException while parsing "+headerId+".", pe);
    }
    TotalAwareColumnDescriptor cd = new TotalAwareColumnDescriptor(header, column,
        StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT)
    cd.setTranslateHeaderKey(false);
    return cd;
  }
View Full Code Here

Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

          headerId = newHeaderId;
        }
      }
    }
   
    TotalAwareColumnDescriptor cd = new TotalAwareColumnDescriptor(headerId, column,
        StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT)
    cd.setTranslateHeaderKey(false);
    return cd;
  }
View Full Code Here

Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

      hourOfDayLocaled = df.format(c.getTime());
    } catch(RuntimeException re) {
      re.printStackTrace(System.out);
    }

    TotalAwareColumnDescriptor cd = new TotalAwareColumnDescriptor(hourOfDayLocaled, column,
        StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT);
    cd.setTranslateHeaderKey(false);
    return cd;
  }
View Full Code Here

Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

        if (newHeaderId!=null && !newHeaderId.startsWith(Translator.NO_TRANSLATION_ERROR_PREFIX)) {
          headerId = newHeaderId;
        }
      }
    }
    TotalAwareColumnDescriptor cd = new TotalAwareColumnDescriptor(headerId, column,
        StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT)
    cd.setTranslateHeaderKey(false);
    return cd;
  }
View Full Code Here

Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

  public ColumnDescriptor createColumnDescriptor(UserRequest ureq, int column, String headerId) {
    if (column==0) {
      throw new IllegalStateException("column must never be 0 here");
    }
   
    TotalAwareColumnDescriptor cd = new TotalAwareColumnDescriptor(headerId, column,
        StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT)
    cd.setTranslateHeaderKey(false);
    return cd;
  }
View Full Code Here

Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

  @Override
  public ColumnDescriptor createColumnDescriptor(UserRequest ureq, int column, String headerId) {
    if (column==0) {
      return new DefaultColumnDescriptor("stat.table.header.node", 0, null, ureq.getLocale());
    }
    return new TotalAwareColumnDescriptor("stat.table.header.day"+headerId, column, StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT);
  }
View Full Code Here

Examples of org.olat.course.statistic.TotalAwareColumnDescriptor

          headerId = newHeaderId;
        }
      }
    }
   
    TotalAwareColumnDescriptor cd = new TotalAwareColumnDescriptor(headerId, column,
        StatisticDisplayController.CLICK_TOTAL_ACTION+column, ureq.getLocale(), ColumnDescriptor.ALIGNMENT_RIGHT)
    cd.setTranslateHeaderKey(false);
    return cd;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.