Class: MMomentaryTextPresenterCommandState

Declaration: DocumentTextMenus.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

MMomentaryControlState

Inherited By:

None.

Purpose:

Class that specifies the protocol applying text presenter menu commands. This class is aware of text presenters and text commands.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Not intended for deriving.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: MMomentaryTextPresenterCommandState::MMomentaryTextPresenterCommandState

MMomentaryTextPresenterCommandState (TPresenterStateReference reference, TCommandOn < TTextPresenterStateSelection > * command)

Interface Category:

API.

Purpose:

Constructor that takes a presenter state reference and text presenter state command to alias.

Calling Context:

Called by Text Editing Framework.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: MMomentaryTextPresenterCommandState::~MMomentaryTextPresenterCommandState

~ MMomentaryTextPresenterCommandState ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: MMomentaryTextPresenterCommandState::Select

virtual void Select ()

Interface Category:

API.

Purpose:

Defines the behavior of a command menu item being selected.

Calling Context:

Called by Text Editing Framework.

Parameters:

Return Value:

None.

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.