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

#include <ITreeExpanderOptions.h>

Inheritance diagram for ITreeExpanderOptions:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITREEEXPANDEROPTIONS }
 

Public Member Functions

virtual bool16 CmdClickAffectsChildNodes () const =0
 
virtual bool16 ScrollExpandedNodeToShowChildren () 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

Stores and returns expansion related options for the treeview boss upon which this interface is aggregated

Member Function Documentation

virtual bool16 ITreeExpanderOptions::CmdClickAffectsChildNodes () const
pure virtual

Returns whenther a Cmd-Click on the expander will affect that nodes child nodes

Returns
bool16 if kTrue, when the user Cmd-clicks on the expander, all descendants of the node that was expanded will also be expanded. if kFalse, only the node clicked will be expanded, i.e. holding Cmd will do nothing different.
virtual bool16 ITreeExpanderOptions::ScrollExpandedNodeToShowChildren () const
pure virtual

Returns whether or not the treeview will scroll to attempt to show all children of the just expanded node

Returns
bool16 if kTrue, the tree view will scroll to show all children of the expanded node if there are more children than will fit in the tree view at the time, the tree view will scroll such that the expanded node is the top visible node in the tree. if kFalse, the node will expand in place and no scrolling will occur