Class: TResizeFrameInteractor

Declaration: FrameInteractors.h

Taxonomy Categories:

Member Functions:


Interface Category:

API

Inherits From:

TFrameInteractor

Inherited By:

None.

Purpose:

TResizeFrameInteractor provides the protocol for interactively resizing a frame.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

TResizeFrameInteractor is not normally used to derive other classes.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

This class may not be copied or streamed.

Member Function: TResizeFrameInteractor::~TResizeFrameInteractor

virtual ~ TResizeFrameInteractor ()

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: TResizeFrameInteractor::MouseMoved

virtual bool MouseMoved (TMouseMovedEvent &)

Interface Category:

API.

Purpose:

Responds to a mouse-moved event during a frame interaction and determines when to provide interaction feedback. This is an overridden member function.

Calling Context:

Called when the mouse is moved after a mouseDown event. This function is not normally called directly.

Parameters:

Return Value:

Returns true to indicate the action was handled.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TResizeFrameInteractor::MouseUp

virtual bool MouseUp (TMouseUpEvent &)

Interface Category:

API.

Purpose:

Responds to a mouse-moved event during a frame interaction. Computes a final frame size, based on the initial location of the corner being dragged and the new mouse position, and calls the policy to change the frame to that size and terminate the interaction. This is an overridden member function.

Calling Context:

Called when the mouse button is released. This function is not normally called directly.

Parameters:

Return Value:

Returns true to indicate the event was handled.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TResizeFrameInteractor::TResizeFrameInteractor

  1. TResizeFrameInteractor (MFrameInteractionPolicy *, const TGRect & initialBounds, TPrimitiveFrameView :: ERegion, TView * theView)
  2. TResizeFrameInteractor ()

Interface Category:

API.

Purpose:

  1. Creates a resize interactor using the specified parameters.
  2. Default constructor.

Calling Context:

  1. Called to create a resize interactor using the specified parameters.
  2. Not used.

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.