19 package org.turro.dossier.graph;
21 import org.zkoss.zul.Div;
22 import org.zkoss.zul.Hlayout;
23 import org.zkoss.zul.Vlayout;
32 private boolean top =
true;
40 getChildren().clear();
41 if(target !=
null) appendChild(fillTarget(target));
45 Hlayout layout =
new Hlayout();
47 layout.setStyle(
"overflow:visible");
50 layout.setSclass(
"vertex-stripe vertex-group");
51 if(!target.
getIncoming().isEmpty()) layout.appendChild(fillSources(target));
52 layout.appendChild(
new VertexLabel(target));
56 private Vlayout fillSources(IssueVertex target) {
57 Vlayout lane =
new Vlayout();
58 lane.setSclass(
"vertex-stripe vertex-lane");
59 for(IssueVertex source : target.getIncoming()) {
60 lane.appendChild(fillTarget(source));
Set< IssueVertex > getIncoming()
void setTarget(IssueVertex target)