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

#include <IWidgetRefData.h>

Inheritance diagram for IWidgetRefData:
IPMUnknown

Public Member Functions

virtual void Set (const WidgetID &widgetId, const PMRect &frame, Bool16 visible, Bool16 enabled)=0
 
virtual WidgetID GetWidgetId () const =0
 
virtual PMRect GetFrame () const =0
 
virtual Bool16 IsVisible () const =0
 
virtual Bool16 IsEnabled () const =0
 
virtual void ApplyValuesToWidget ()=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

IWidgetRefData is an interface used to hold a reference to a widget, without holding the widget in memory. The referenced widget should be a child widget.

Member Function Documentation

virtual void IWidgetRefData::ApplyValuesToWidget ()
pure virtual

ApplyValuesToWidget applies the values in this reference to the widget

virtual PMRect IWidgetRefData::GetFrame () const
pure virtual

GetFame returns the frame

Returns
the frame
virtual WidgetID IWidgetRefData::GetWidgetId () const
pure virtual

GetWidgetId returns the widget id

Returns
the id
virtual Bool16 IWidgetRefData::IsEnabled () const
pure virtual

IsEnabled returns the enable state of the widget

Returns
the state
virtual Bool16 IWidgetRefData::IsVisible () const
pure virtual

IsVisible returns the visiblity of the widget

Returns
the visibility
virtual void IWidgetRefData::Set (const WidgetIDwidgetId,
const PMRectframe,
Bool16 visible,
Bool16 enabled 
)
pure virtual

Set initializes the interface to reference a widget.

Parameters
widgetIdis the id of the widget
frameis the bounds of the widget
visibeis the widget visible
enabledis the widget enabled