![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CusCondTxtTreeViewWidgetMgr (IPMUnknown *boss) | |
| virtual bool16 | ApplyNodeIDToWidget (const NodeID &node, IControlView *widget, int32) const |
| IControlView * | CreateWidgetForNode (const NodeID &node) const |
Public Member Functions inherited from CTreeViewWidgetMgr | |
| CTreeViewWidgetMgr (IPMUnknown *boss) | |
| CTreeViewWidgetMgr (IPMUnknown *boss, int32 optionFlags) | |
| virtual | ~CTreeViewWidgetMgr () |
| virtual PMReal | GetNodeWidgetHeight (const NodeID &node) const |
| virtual PMReal | GetNodeWidgetWidth (const NodeID &node) const |
| virtual PMReal | GetIndentForNode (const NodeID &node) const |
| virtual void | SetStyle (int32 styleIdentifier) |
| virtual int32 | GetStyle () const |
| virtual WidgetID | GetWidgetTypeForNode (const NodeID &node) const |
| virtual void | PreDeleteWidget (IControlView *widget) |
Widget Factory and reuse | |
Widget placement | |
Widget Style - The tree view may have different looks, i.e. Large vs. Small palette rows | |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Additional Inherited Members | |
Public Types inherited from ITreeViewWidgetMgr | |
| enum | { kDefaultIID = IID_ITREEVIEWWIDGETMGR } |
Protected Types inherited from CTreeViewWidgetMgr | |
| enum | Options { kList = 0, kHierarchical = 1 } |
Protected Member Functions inherited from CTreeViewWidgetMgr | |
| virtual bool16 | ApplyDataToWidget (const NodeID &node, IPanelControlData *widgetList, int32 message=0) const |
| virtual void | RegisterStyles () |
| virtual void | ApplyIndentToWidget (const NodeID &node, IPanelControlData *widgetList, int32 message=0) const |
| virtual PMReal | GetBaseIndentOffset (IControlView *styleWidget) const |
| virtual PMReal | GetTreeViewWidth () const |
| virtual void | ApplyHighlightToWidget (const NodeID &node, IControlView *widget, int32 message=0) const |
| virtual PMReal | GetIndent (const NodeID &node) const |
| virtual void | RegisterStyleWidget (int32 style, RsrcID widgetRsrcID, PluginID pluginID) |
| virtual void | HideExpanderIfNotExpandable (const NodeID &node, IPanelControlData *widgetList, int32 message=0) const |
| virtual void | SetNodeName (IPanelControlData *widgetList, const PMString &name, WidgetID nameWidget=kTreeNodeNameWidgetID) const |
| virtual void | SetNodeIcon (IPanelControlData *widgetList, RsrcID iconRsrc, PluginID pluginID=0, WidgetID iconWidget=kTreeNodeIconWidgetID) const |
| virtual bool16 | IsOptionSet (Options option) const |
| virtual void | SetSelectableDlgDrawNodeSeparatorOff (IControlView *widget) const |
Tree view manager
| virtual |
Change data in your nodeWidget(widget) to reflect the node passed in.
| node | specifies node to be rendered |
| widget | this is where the data from the node should be rendered |
| message | if you call an ITreeViewMgr method with a message, that message will be passes back to you in this parameter. For instance, if it is expensive to update the text, but not the icon. You could pass yourself a kMyIconChanged message in ITreeViewMgr::NodeChanged() and then only update the icon in ApplyDataToWidget() if message=kMyIconChanged |
Reimplemented from CTreeViewWidgetMgr.
| virtual |
Create the widget, but don't change the widget-data to match the node; that should be done in ApplyNodeIDToWidget
| node |
Reimplemented from CTreeViewWidgetMgr.