◆ setDossierReport()
void org.turro.dossier.zul.dossier.StatusChart.setDossierReport |
( |
final DossierDWReport |
dossierReport | ) |
|
Definition at line 39 of file zul/dossier/StatusChart.java.
40 Map<IssueStatus, Double> values = dossierReport.getIssuesByStatus();
42 SimplePieModel spm =
new SimplePieModel();
43 for(IssueStatus is : values.keySet()) {
44 spm.setValue(I_.byKey(is.toString()),
48 addEventListener(Events.ON_CLICK,
new EventListener() {
50 public void onEvent(Event event)
throws Exception {
51 Object obj = ((MouseEvent) event).getAreaComponent();
52 if(obj instanceof Area) {
53 Area area = (Area) obj;
54 if(
"DATA".equals(area.getAttribute(
"entity"))) {
55 EntityGrid.showEntities(dossierReport.getIssuesPathByStatus((String) area.getAttribute(
"category")));
The documentation for this class was generated from the following file: