|
Wt examples
3.3.6
|
A single node in a file tree table. More...
#include <FileTreeTableNode.h>

Public Member Functions | |
| FileTreeTableNode (const boost::filesystem::path &path) | |
| Construct a new node for the given file. More... | |
Private Member Functions | |
| virtual void | populate () |
| Reimplements WTreeNode::populate to read files within a directory. More... | |
| virtual bool | expandable () |
| Reimplements WTreeNode::expandable. More... | |
Static Private Member Functions | |
| static Wt::WIconPair * | createIcon (const boost::filesystem::path &path) |
| Create the iconpair for representing the path. More... | |
Private Attributes | |
| boost::filesystem::path | path_ |
| The path. More... | |
A single node in a file tree table.
The node manages the details about one file, and if the file is a directory, populates a subtree with nodes for every directory item.
The tree node reimplements Wt::WTreeTableNode::populate() to populate a directory node only when the node is expanded. In this way, only directories that are actually browsed are loaded from disk.
Definition at line 28 of file FileTreeTableNode.h.
| FileTreeTableNode::FileTreeTableNode | ( | const boost::filesystem::path & | path | ) |
Construct a new node for the given file.
Definition at line 22 of file FileTreeTableNode.C.
|
staticprivate |
Create the iconpair for representing the path.
Definition at line 60 of file FileTreeTableNode.C.
|
privatevirtual |
|
privatevirtual |
Reimplements WTreeNode::populate to read files within a directory.
Definition at line 71 of file FileTreeTableNode.C.
|
private |
The path.
Definition at line 37 of file FileTreeTableNode.h.
1.8.13