Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TNotification
Inherited By:
None.
Purpose:
TTextPresenterStateNotification, derived from TNotification, is used by the Text Editing Framework to allow a text presenter state object to inform any interested objects that data in the text presenter state object has changed. A TTextPresenterStateNotification is generated by a text presenter state object whenever the appearance data of the presenter is changed.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
This class is designed to be used directly.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
- TTextPresenterStateNotification (const TPresenterStateReference psReference, EActionType)
- TTextPresenterStateNotification (const TTextPresenterStateNotification &)
- TTextPresenterStateNotification ()
Interface Category:
API.
Purpose:
- Constructs a notification that references the changed presenter state and indicates the type of change.
- Copy constructor.
- Default constructor. This constructor is protected.
Calling Context:
- May be called directly by clients.
- May be called directly by clients.
- Only for internal use by Resurrect. Developers should treat as protected.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TTextPresenterStateNotification ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Typically not called directly by clients.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TTextPresenterStateNotification & operator =(const TTextPresenterStateNotification &)
Interface Category:
API.
Purpose:
Assignment operator.
Calling Context:
May be called directly by clients.
Parameters:
Return Value:
A non-const reference to the left-hand side object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual EActionType GetActionType () const
Interface Category:
API.
Purpose:
Returns an EActionType value indicating what type of change caused the text presenter state to generate this notification. Called to determine what type of change occurred on the text presenter state. Called by the view when it receives the notification. The view then knows what aspect of the presenter state was changed and it redraws only what is necessary to reflect that change.
Calling Context:
May be called directly by clients.
Parameters:
Return Value:
An EActionType value indicating how the text presenter state was changed.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TStream & operator >>=(TStream & towhere) const
Interface Category:
API.
Purpose:
Stream-out operator.
Calling Context:
May be called directly by clients.
Parameters:
- TStream & towhere -The stream the object streams itself out to.
Return Value:
Returns a reference to the stream the object streams itself out to.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TStream & operator <<= (TStream & fromwhere)
Interface Category:
API.
Purpose:
Stream-in operator.
Calling Context:
May be called directly by clients.
Parameters:
- TStream & fromwhere -The stream the object streams itself in from.
Return Value:
Returns a reference to the stream the object streams itself in from.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.