InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TblBscDialogObserver Class Reference
Inheritance diagram for TblBscDialogObserver:
CDialogObserverAbstractDialogObserverCObserverIObserverIPMUnknown

Public Member Functions

 TblBscDialogObserver (IPMUnknown *boss)
 
virtual ~TblBscDialogObserver ()
 
virtual void AutoAttach ()
 
virtual void AutoDetach ()
 
virtual void Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy)
 
- Public Member Functions inherited from CDialogObserver
 CDialogObserver (IPMUnknown *boss)
 
- Public Member Functions inherited from AbstractDialogObserver
 AbstractDialogObserver (IPMUnknown *boss)
 
- Public Member Functions inherited from CObserver
 CObserver (IPMUnknown *boss, PMIID interfaceID=IID_IOBSERVER)
 
IChangeManagerGetChangeManager () const
 
virtual void SetAttachIID (PMIID iid)
 
virtual PMIID GetAttachIID () const
 
virtual void SetEnabled (bool16 state)
 
virtual bool16 IsEnabled () const
 
virtual void LazyUpdate (ISubject *theSubject, const PMIID &protocol, const LazyNotificationData *data)
 

Additional Inherited Members

- Public Types inherited from IObserver
enum  { kDefaultIID = IID_IOBSERVER }
 
- Protected Member Functions inherited from CDialogObserver
virtual void CloseDialog (bool16 windowAlreadyClosed=kFalse)
 
virtual void FireOffEndDialogCmd (bool16 hitOK)
 
void SetDialogValidationStatusFailed (bool16 bStatus=kTrue)
 
void SetCloseOnCancel (bool16 shouldCloseOnCancel=kTrue)
 
- Protected Attributes inherited from CObserver
bool16 fDetachSubjectsOnDelete
 
PMIID fAttachIID
 
const UIDRef fThisRef
 
bool16 fEnabled
 

Detailed Description

Monitors changes in the state of the dialog controls that must be handled dynamically. If there is no fill specified(kTblBscPreFilledCheckboxWidgetID) then this observer disables the radio buttons.

Constructor & Destructor Documentation

TblBscDialogObserver::TblBscDialogObserver (IPMUnknownboss)
inline

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.
virtual TblBscDialogObserver::~TblBscDialogObserver ()
inlinevirtual

Destructor.

Member Function Documentation

void TblBscDialogObserver::AutoAttach (void )
virtual

Called by the application to allow the observer to attach to the subjects to be observed.

Reimplemented from CDialogObserver.

void TblBscDialogObserver::AutoDetach (void )
virtual

Called by the application to allow the observer to detach from the subjects being observed.

Reimplemented from CDialogObserver.

void TblBscDialogObserver::Update (const ClassIDtheChange,
ISubjecttheSubject,
const PMIIDprotocol,
void * changedBy 
)
virtual

Called by the host when the observed object changes.

Parameters
theChangespecifies the class ID of the change to the subject. Frequently this is a command ID.
theSubjectpoints to the ISubject interface for the subject that has changed.
protocolspecifies the ID of the changed interface on the subject boss.
changedBypoints to additional data about the change. Often this pointer indicates the class ID of the command that has caused the change.

Reimplemented from CDialogObserver.