BrightSide Workbench Full Report + Source Code
org.turro.financials.document.action.DocumentActionMenu Class Reference
Inheritance diagram for org.turro.financials.document.action.DocumentActionMenu:
Collaboration diagram for org.turro.financials.document.action.DocumentActionMenu:

Public Member Functions

 DocumentActionMenu ()
 
- Public Member Functions inherited from org.turro.action.ActionMenu
Object getEntity ()
 
void setEntity (Object entity)
 
void addAction (AbstractAction action)
 
void loadItems ()
 
void afterCompose ()
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.action.ActionMenu
List< AbstractActionactions = new ArrayList<>()
 
Object entity
 

Detailed Description

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

Definition at line 32 of file DocumentActionMenu.java.

Constructor & Destructor Documentation

◆ DocumentActionMenu()

org.turro.financials.document.action.DocumentActionMenu.DocumentActionMenu ( )

Definition at line 34 of file DocumentActionMenu.java.

34  {
35  loadActions();
36  addEventListener(Events.ON_OPEN, new EventListener() {
37  @Override
38  public void onEvent(Event event) throws Exception {
39  Component ref = ((OpenEvent) event).getReference();
40  if(ref != null) {
41  setEntity(ref.getAttribute("document"));
42  }
43  }
44  });
45  }
void setEntity(Object entity)
Definition: ActionMenu.java:43
Here is the call graph for this function:

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