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

#include <IIntegerControlData.h>

Inheritance diagram for IIntegerControlData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IINTEGERCONTROLDATA }
 

Public Member Functions

virtual void SetValue (int32 newValue, bool16 invalidate=kTrue, bool16 notifyOfChange=kTrue)=0
 
virtual int32 GetValue () 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

Interface for storing an integer

Member Function Documentation

virtual int32 IIntegerControlData::GetValue () const
pure virtual

returns stored integer

virtual void IIntegerControlData::SetValue (int32 newValue,
bool16 invalidate = kTrue,
bool16 notifyOfChange = kTrue 
)
pure virtual

Method to set the integer stored in the interface.

Parameters
newValueinteger to set
invalidatespecifies whether the control should be redrawn
notifyOfChangespecifies whether observers on the control data should be notified of the change.