public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof LineGraphRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "LineGraphRepresentation"));
}
super.populate(rep);
LineGraphRepresentation grep = (LineGraphRepresentation) rep;
this.dataStructRep = new ArrayList<Map.Entry<String, String>>(grep.getDataStructure());
this.dataTableRep = new ArrayList<List<String>>(grep.getDataTable());
this.graphTitle = grep.getGraphTitle();
this.graphXTitle = grep.getGraphXTitle();
this.graphYTitle = grep.getGraphYTitle();
populate(this.chart);
}