![]() | InDesign SDK 20.5 |

Public Member Functions | |
| PstLstUITVHierarchyAdapter (IPMUnknown *boss) | |
| virtual NodeID_rv | GetRootNode () const |
| virtual NodeID_rv | GetParentNode (const NodeID &node) const |
| virtual int32 | GetNumChildren (const NodeID &node) const |
| virtual NodeID_rv | GetNthChild (const NodeID &node, const int32 &nth) const |
| virtual int32 | GetChildIndex (const NodeID &parent, const NodeID &child) const |
| virtual bool16 | ShouldAddNthChild (const NodeID &node, const int32 &nth) const |
| virtual NodeID_rv | GetGenericNodeID () const |
Additional Inherited Members | |
Public Types inherited from ITreeViewHierarchyAdapter | |
| enum | { kDefaultIID = IID_ITREEVIEWHIERARCHYADAPTER } |
Tree view adapter
| virtual |
Accessor to determine the index of a given child node in its parent's collection of children.
| parent | specifies the parent node whose child we are querying about |
| child | specifies child of interest |
Implements ITreeViewHierarchyAdapter.
| virtual |
Return a dummy node that can be used as a generic node anywhere in the tree.
Implements ITreeViewHierarchyAdapter.
| virtual |
Accessor for a child of a given node by index.
| node | specifies the parent node |
| nth | specifies index of child to choose |
Implements ITreeViewHierarchyAdapter.
| virtual |
Accessor for the number of children given a node that is in the tree-model. specifies the node of interest
Implements ITreeViewHierarchyAdapter.
Accessor for the parent node of a given node. If the given node is the root node, this should return nil.
Implements ITreeViewHierarchyAdapter.
| virtual |
Accessor for the root node of the tree model. Should return an instance of a node that represents the root node, with data allowing it to be uniquely identified as such.
Implements ITreeViewHierarchyAdapter.
| inlinevirtual |
When building subtrees, this is called so the client can choose to add this particular node or not. In most cases, returning true here is what you want.
| node | specifies the parent node |
| nth | specifies index of child to choose |
Implements ITreeViewHierarchyAdapter.