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