BrightSide Workbench Full Report + Source Code
org.turro.attach.zul.navigator.FolderRow Class Reference
Inheritance diagram for org.turro.attach.zul.navigator.FolderRow:
Collaboration diagram for org.turro.attach.zul.navigator.FolderRow:

Public Member Functions

 FolderRow (final AttachFolder folder)
 

Detailed Description

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

Definition at line 37 of file attach/zul/navigator/FolderRow.java.

Constructor & Destructor Documentation

◆ FolderRow()

org.turro.attach.zul.navigator.FolderRow.FolderRow ( final AttachFolder  folder)

Definition at line 41 of file attach/zul/navigator/FolderRow.java.

41  {
42  setValue(folder);
43  this.folder = folder;
44  setStyle("cursor:pointer");
45  addDetail();
46  A a = new A(folder.getLabel(), "/_zul/images/folder.png");
47  a.addEventListener(Events.ON_CLICK, new EventListener() {
48  @Override
49  public void onEvent(Event event) throws Exception {
50  folder.getTree().setSelectedItem(folder);
51  Events.postEvent(new Event(Events.ON_SELECT, folder.getTree()));
52  }
53  });
54  appendChild(a);
55  appendChild(getSizeComponent());
56  appendChild(new Label(""));
57  }
Here is the call graph for this function:

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