19 package org.turro.dossier.graph;
21 import org.turro.string.Phrases;
22 import org.turro.dossier.util.DossiersInfo;
23 import org.turro.elephant.util.Images;
24 import org.turro.zkoss.label.Htmls;
25 import org.zkoss.zul.Hlayout;
26 import org.zkoss.zul.Image;
27 import org.zkoss.zul.Vlayout;
38 this.milestone = milestone;
43 setSclass(
"vertex vertex-label");
45 Hlayout label =
new Hlayout();
46 label.setSclass(
"vertex-label-text");
49 .add(milestone.
isAchieved() ?
"blue" :
"basic")
50 .add(
"label").toString())
51 .
style(
"cursor:pointer")
53 DossiersInfo.popup(milestone.getItem().getIssue());
VertexLabel(IssueVertex milestone)
static String getImage(String image)
Htmls onClick(EventListener listener)
Htmls style(String style)
static Htmls text(String content)
Htmls cssClass(String cssClass)