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

Public Member Functions

 BalanceTopItem (boolean loadOnDemand)
 
BalanceTree getTree ()
 
void showContents ()
 
void reloadContents ()
 
boolean isLoadOnDemand ()
 
void setLoadOnDemand (boolean loadOnDemand)
 
BalanceMajorItem getParentItem ()
 
void afterCompose ()
 

Static Public Member Functions

static Treecell getGroupMoneyCell (BalanceTree tree, Double a, Double b)
 

Detailed Description

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

Definition at line 35 of file BalanceTopItem.java.

Constructor & Destructor Documentation

◆ BalanceTopItem()

org.turro.financials.register.BalanceTopItem.BalanceTopItem ( boolean  loadOnDemand)

Definition at line 40 of file BalanceTopItem.java.

40  {
41  super();
42  this.loadOnDemand = loadOnDemand;
43  }

Member Function Documentation

◆ afterCompose()

void org.turro.financials.register.BalanceTopItem.afterCompose ( )

Definition at line 111 of file BalanceTopItem.java.

111  {
112  addCells();
113  addChildrenSpace();
114  }
Here is the caller graph for this function:

◆ getGroupMoneyCell()

static Treecell org.turro.financials.register.BalanceTopItem.getGroupMoneyCell ( BalanceTree  tree,
Double  a,
Double  b 
)
static

Definition at line 116 of file BalanceTopItem.java.

116  {
117  Treecell tc = new Treecell();
118  Vbox vbox = new Vbox();
119  vbox.setAlign("end");
120  vbox.appendChild(LabelTypes.getSoftLabel(tree.formatCurrency(a)));
121  vbox.appendChild(LabelTypes.getSoftLabel(tree.formatCurrency(b)));
122  vbox.appendChild(LabelTypes.getCaptionLabel(tree.formatCurrency(a - b)));
123  tc.appendChild(vbox);
124  return tc;
125  }
Here is the call graph for this function:

◆ getParentItem()

BalanceMajorItem org.turro.financials.register.BalanceTopItem.getParentItem ( )

Definition at line 106 of file BalanceTopItem.java.

106  {
107  return (BalanceMajorItem) getParentItem();
108  }

◆ getTree()

BalanceTree org.turro.financials.register.BalanceTopItem.getTree ( )

Definition at line 46 of file BalanceTopItem.java.

46  {
47  return (BalanceTree) super.getTree();
48  }

◆ isLoadOnDemand()

boolean org.turro.financials.register.BalanceTopItem.isLoadOnDemand ( )

Definition at line 86 of file BalanceTopItem.java.

86  {
87  return loadOnDemand;
88  }

◆ reloadContents()

void org.turro.financials.register.BalanceTopItem.reloadContents ( )

Definition at line 55 of file BalanceTopItem.java.

55  {
56  children.getChildren().clear();
57  showContents();
58  }
Here is the call graph for this function:

◆ setLoadOnDemand()

void org.turro.financials.register.BalanceTopItem.setLoadOnDemand ( boolean  loadOnDemand)

Definition at line 90 of file BalanceTopItem.java.

90  {
91  this.loadOnDemand = loadOnDemand;
92  }

◆ showContents()

void org.turro.financials.register.BalanceTopItem.showContents ( )

Definition at line 50 of file BalanceTopItem.java.

50  {
51  fillFolder();
52  setOpen(true);
53  }
Here is the caller graph for this function:

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