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

Public Member Functions

 CelPnlEditBoxObserver (IPMUnknown *boss)
 
virtual ~CelPnlEditBoxObserver ()
 
virtual void Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy)
 
virtual void AutoAttach ()
 
virtual void AutoDetach ()
 
- 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 Attributes inherited from CObserver
bool16 fDetachSubjectsOnDelete
 
PMIID fAttachIID
 
const UIDRef fThisRef
 
bool16 fEnabled
 

Detailed Description

CelPnlEditBoxObserver implements the observer.

CelPnlEditBoxObserver implements IObserver based on the partial implementation CObserver. This observer is empty! Edit this method to observe the EditBox widget.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * CelPnlEditBoxObserver::CelPnlEditBoxObserver (IPMUnknownboss)

Constructor.

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

Destructor.

Member Function Documentation

void CelPnlEditBoxObserver::AutoAttach (void )
virtual

Called by the application to allow the observer to attach to the subjects to be observed. AutoAttach is only called for registered observers of widgets.

Reimplemented from CObserver.

void CelPnlEditBoxObserver::AutoDetach (void )
virtual

Called by the application to allow the observer to detach from the subjects being observed. AutoDetach is only called for registered observers of widgets.

Reimplemented from CObserver.

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

Respond to a change in an observed subject. Called by the host when the observed object changes. Called for all registered observers, and is the method through which changes are broadcast.

Parameters
theChangetheChange represents the change to an object, often this is a command id.
theSubjecttheSubject is the subject that changed.
protocolprotocol is the interface of the subject's boss that changed.
changedBychangedBy is used to pass additional data about the change, often this is a pointer to the command that caused the change.

Implements IObserver.