![]() | InDesign SDK 20.5 |
#include <IPanelControlData.h>

Public Types | |
| enum | { kDefaultIID = IID_IPANELCONTROLDATA } |
Public Member Functions | |
Maintenance | |
| virtual void | AddWidget (IControlView *w, int32 at=-1, bool16 invalidate=kTrue)=0 |
| virtual void | RemoveWidget (IControlView *w, bool16 invalidate=kTrue, bool16 deleteUID=kFalse)=0 |
| virtual void | MoveWidget (IControlView *w, int32 at, bool16 invalidate=kTrue)=0 |
| virtual void | RemoveWidget (int32 index, bool16 invalidate=kTrue, bool16 deleteUID=kFalse)=0 |
| virtual void | ReleaseAll (bool16 deleteUID=kTrue)=0 |
Notification | |
| virtual void | WidgetAttributeChanged (IControlView *view, const WidgetAttributeID &id)=0 |
Keyboard Focus | |
| virtual void | SetKeyboardFocus (const WidgetID &widgetId)=0 |
| virtual void | SetKeyboardFocus (const IControlView *widget)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Inquisition | |
| enum | { kSearchLevel_Invalid = 0, kSearchLevel_Self = 1, kSearchLevel_SelfAndChildren = 2, kSearchLevel_SelfChildrenAndGrandchildren = 3, kSearchLevel_SelfChildrenGrandchildrenAndGreatgrandchildren = 4, kSearchLevel_AllDescendants = 9999 } |
| virtual IControlView * | GetWidget (int32 index) const =0 |
| virtual IControlView * | FindWidget (const WidgetID &widgetId, int16 searchLevels=kSearchLevel_AllDescendants) const =0 |
| virtual IControlView * | FindWidget (const SysPoint &windowPt, int16 searchLevels=kSearchLevel_AllDescendants) const =0 |
| virtual bool16 | GetWidgetVisibleState (int32 index) const =0 |
| virtual bool16 | IsWidgetInstantiated (int32 index) const =0 |
| virtual int32 | GetIndex (const IControlView *w) const =0 |
| virtual int32 | Length () const =0 |
Interface that container widgets implement
| pure virtual |
Add a child widget at position 'at'. If 'at' is -1 the widget is added at the end of the of the child widget list.
| pure virtual |
Recursively find the widget whose widget id is 'widgetId'. Only search 'searchLevels' deep.
| pure virtual |
Recursively find the widget that windowPt falls within. Only search 'searchLevels' deep.
| pure virtual |
Get the position of widget 'w'.
| pure virtual |
Return the widget whose position in the widget list is 'index'.
| pure virtual |
Returns the widgets visible state flag.
| pure virtual |
Returns true if the widget is currently instantiated.
| pure virtual |
Return the number of child widgets.
| pure virtual |
Move the widget 'w' to a new position in the child widget list. Does not change parent or reattach observers. 0 would move to start of list, 1 to next position, etc. -1 can be used to move widget to the end of the list.
| pure virtual |
Release all widgets.
| pure virtual |
Remove widget 'w'.
| pure virtual |
Remove widget at position 'index'.
| pure virtual |
Sets the keyboard focus to the specified widget
| pure virtual |
Sets the keyboard focus to the specified widget. controlView, passed must be one of its children.
| pure virtual |
Called by child widget when one of its attributes changes. Only a small set of 'interesting' attrubutes are defined. See WidgetID.h.