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

Public Member Functions

 GTTxtEdtGoToTextButtonObserver (IPMUnknown *boss)
 
 ~GTTxtEdtGoToTextButtonObserver ()
 
virtual void AutoAttach ()
 
virtual void AutoDetach ()
 
virtual void Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy)
 
- 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

Observer implementation for the GoToText button.

Constructor & Destructor Documentation

GTTxtEdtGoToTextButtonObserver::GTTxtEdtGoToTextButtonObserver (IPMUnknownboss)

Constructor

GTTxtEdtGoToTextButtonObserver::~GTTxtEdtGoToTextButtonObserver ()

Destructor

Member Function Documentation

void GTTxtEdtGoToTextButtonObserver::AutoAttach (void )
virtual

AutoAttach is only called for registered observers of widgets. This method is called by the application core when the widget is shown.

Reimplemented from CObserver.

void GTTxtEdtGoToTextButtonObserver::AutoDetach (void )
virtual

AutoDetach is only called for registered observers of widgets. Called when widget hidden.

Reimplemented from CObserver.

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

Called when the button changes state.

Implements IObserver.