BrightSide Workbench Full Report + Source Code
org.turro.dossier.zul.relation.IssueRelatedTree Class Reference
Inheritance diagram for org.turro.dossier.zul.relation.IssueRelatedTree:
Collaboration diagram for org.turro.dossier.zul.relation.IssueRelatedTree:

Public Member Functions

 IssueRelatedTree ()
 
Changes getChanges ()
 
void setChanges (Changes changes)
 
Issue getIssue ()
 
void setIssue (Issue issue)
 
void setAddToolbar (boolean addToolbar)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 37 of file IssueRelatedTree.java.

Constructor & Destructor Documentation

◆ IssueRelatedTree()

org.turro.dossier.zul.relation.IssueRelatedTree.IssueRelatedTree ( )

Definition at line 45 of file IssueRelatedTree.java.

45  {
46  super();
47  addColumns();
48  addChildrenSpace();
49  }

Member Function Documentation

◆ getChanges()

Changes org.turro.dossier.zul.relation.IssueRelatedTree.getChanges ( )

Definition at line 51 of file IssueRelatedTree.java.

51  {
52  return changes;
53  }

◆ getIssue()

Issue org.turro.dossier.zul.relation.IssueRelatedTree.getIssue ( )

Definition at line 59 of file IssueRelatedTree.java.

59  {
60  return issue;
61  }

◆ setAddToolbar()

void org.turro.dossier.zul.relation.IssueRelatedTree.setAddToolbar ( boolean  addToolbar)

Definition at line 71 of file IssueRelatedTree.java.

71  {
72  if(addToolbar && toolbar == null) {
73  toolbar = new Toolbar();
74  toolbar.setStyle("width:100%");
75  getParent().appendChild(toolbar);
76  addToolbarButtons();
77  addEventListener(Events.ON_SELECT, new EventListener() {
78  @Override
79  public void onEvent(Event event) throws Exception {
80  updateButtons();
81  }
82  });
83  updateButtons();
84  }
85  }

◆ setChanges()

void org.turro.dossier.zul.relation.IssueRelatedTree.setChanges ( Changes  changes)

Definition at line 55 of file IssueRelatedTree.java.

55  {
56  this.changes = changes;
57  }

◆ setIssue()

void org.turro.dossier.zul.relation.IssueRelatedTree.setIssue ( Issue  issue)

Definition at line 63 of file IssueRelatedTree.java.

63  {
64  this.issue = issue;
65  removeChild(children);
66  addChildrenSpace();
67  addRoots(new IssueRelation(null, issue));
68  openChildrenWithIssue(children.getChildren());
69  }

The documentation for this class was generated from the following file: