InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ITreeViewTypeAhead Class Referenceabstract

#include <ITreeViewTypeAhead.h>

Inheritance diagram for ITreeViewTypeAhead:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITREEVIEWTYPEAHEAD }
 

Public Member Functions

virtual PMString GetStringForNode (const NodeID &node) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface that enables a treeview to handle typeahead to select a node that correlates to a keystroke typed when TreeView has focus. This interface provides the mapping between a nodeID and a string associated with the node.

Client code wishing to allow typeahead in their Tree should implement this interface

Member Function Documentation

virtual PMString ITreeViewTypeAhead::GetStringForNode (const NodeIDnode) const
pure virtual

Given a node, this method returns a string associated with the text content of that node. This string will be used to compare against for type ahead behavior

Returns
PMString that represents the nodes text content