BrightSide Workbench Full Report + Source Code
org.turro.file.zul.tree.WebRootFileTree Class Reference
Inheritance diagram for org.turro.file.zul.tree.WebRootFileTree:
Collaboration diagram for org.turro.file.zul.tree.WebRootFileTree:

Public Member Functions

 WebRootFileTree ()
 
void setPath (String path)
 
void afterCompose ()
 
void uploadDone (FileItem file)
 
void downloadDone (FileItem file)
 
void deleteDone (FileItem file)
 
- Public Member Functions inherited from org.turro.file.zul.tree.FileTree
 FileTree ()
 
 FileTree (String title)
 
void initTreeColumns (List< FileColumn > fileColumns)
 
FileFilter getFileFilter ()
 
void setFileFilter (FileFilter fileFilter)
 
FileListener getFileListener ()
 
void setFileListener (FileListener listener)
 
String getRole ()
 
void setRole (String role)
 
boolean isInRole (String role)
 
Menupopup getActionMenu ()
 
void setAddToolbar (boolean addToolbar)
 
FileItem addFolder (String label, String path)
 
List< FileColumngetColumns ()
 
File getSelectedFile ()
 

Detailed Description

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

Definition at line 31 of file WebRootFileTree.java.

Constructor & Destructor Documentation

◆ WebRootFileTree()

org.turro.file.zul.tree.WebRootFileTree.WebRootFileTree ( )

Definition at line 35 of file WebRootFileTree.java.

35  {
36  super(I_.get("Root"));
37  }
Here is the call graph for this function:

Member Function Documentation

◆ afterCompose()

void org.turro.file.zul.tree.WebRootFileTree.afterCompose ( )

Definition at line 44 of file WebRootFileTree.java.

44  {
45  initTreeColumns(createFileColumns());
46  addFolder(I_.get("Root"), ElephantContext.getRealPath(Strings.isBlank(path) ? "/" : path));
47  }
void initTreeColumns(List< FileColumn > fileColumns)
FileItem addFolder(String label, String path)
Here is the call graph for this function:

◆ deleteDone()

void org.turro.file.zul.tree.WebRootFileTree.deleteDone ( FileItem  file)

Implements org.turro.file.zul.tree.FileListener.

Definition at line 58 of file WebRootFileTree.java.

58  {
59  }

◆ downloadDone()

void org.turro.file.zul.tree.WebRootFileTree.downloadDone ( FileItem  file)

Implements org.turro.file.zul.tree.FileListener.

Definition at line 54 of file WebRootFileTree.java.

54  {
55  }

◆ setPath()

void org.turro.file.zul.tree.WebRootFileTree.setPath ( String  path)

Definition at line 39 of file WebRootFileTree.java.

39  {
40  this.path = path;
41  }

◆ uploadDone()

void org.turro.file.zul.tree.WebRootFileTree.uploadDone ( FileItem  file)

Implements org.turro.file.zul.tree.FileListener.

Definition at line 50 of file WebRootFileTree.java.

50  {
51  }

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