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

#include <IDropDownListSelection.h>

Inheritance diagram for IDropDownListSelection:
IPMUnknownCPMUnknown< IDropDownListSelection >DropDownListSelection

Public Types

enum  { kDefaultIID = IID_IPDFVTUIDROPDOWNLISTSELECTION }
 

Public Member Functions

virtual void SetSelection (int32 dropDownList, int32 index)=0
 
virtual int32 GetSelection (int32 dropDownList) const =0
 
virtual void Init (void)=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 to store the selections the user made to DropDown lists on the dialog.

Member Function Documentation

virtual int32 IDropDownListSelection::GetSelection (int32 dropDownList) const
pure virtual

Gets the selected index for the given dropdown list widget.

Parameters
dropDownListIN Dd of the dropdown list.
Returns
index of the selected item.

Implemented in DropDownListSelection.

virtual void IDropDownListSelection::Init (void )
pure virtual

Re-Initializes selections to 0 for all the dropdown lists.

Implemented in DropDownListSelection.

virtual void IDropDownListSelection::SetSelection (int32 dropDownList,
int32 index 
)
pure virtual

Sets the selected index for the given dropdown list widget.

Parameters
dropDownListIN Id of the dropdown list.
indexIN selected index.

Implemented in DropDownListSelection.