BrightSide Workbench Full Report + Source Code
org.turro.financials.relation.RelationshipViewer Class Reference
Inheritance diagram for org.turro.financials.relation.RelationshipViewer:
Collaboration diagram for org.turro.financials.relation.RelationshipViewer:

Public Member Functions

Document getDocument ()
 
void setDocument (Document document)
 
void notifyChange ()
 
void updateGraph ()
 

Detailed Description

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

Definition at line 37 of file RelationshipViewer.java.

Member Function Documentation

◆ getDocument()

Document org.turro.financials.relation.RelationshipViewer.getDocument ( )

Definition at line 42 of file RelationshipViewer.java.

42  {
43  return document;
44  }

◆ notifyChange()

void org.turro.financials.relation.RelationshipViewer.notifyChange ( )

Definition at line 50 of file RelationshipViewer.java.

50  {
51  Events.postEvent(new Event(Events.ON_CHANGE, this));
52  updateGraph();
53  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDocument()

void org.turro.financials.relation.RelationshipViewer.setDocument ( Document  document)

Definition at line 46 of file RelationshipViewer.java.

46  {
47  this.document = document;
48  }
Here is the caller graph for this function:

◆ updateGraph()

void org.turro.financials.relation.RelationshipViewer.updateGraph ( )

Definition at line 55 of file RelationshipViewer.java.

55  {
56  getChildren().clear();
57  if(document != null && document.getContract() != null) {
58  for(DocumentDefinition dd : document.getContract().getContractDefinition().getWorkflow()) {
59  appendChild(new RelationshipColumn(dd, getRelationMode(dd)));
60  }
61  }
62  generateGraph();
63  }
ContractDefinition getContractDefinition()
Definition: Contract.java:125
Here is the call graph for this function:
Here is the caller graph for this function:

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