Public Member Functions | Private Attributes | Friends

FV_View_BubbleBlocker Class Reference

A RAII class for blocking popup bubbles that are used by annotations, RDF and maybe other parts of the system. More...

#include <fv_View.h>

List of all members.

Public Member Functions

 FV_View_BubbleBlocker (FV_View *pView=0)
 ~FV_View_BubbleBlocker ()
FV_View_BubbleBlockeroperator= (const FV_View_BubbleBlocker &r)

Private Attributes

FV_Viewm_pView

Friends

class FV_View

Detailed Description

A RAII class for blocking popup bubbles that are used by annotations, RDF and maybe other parts of the system.

To get a real one of these use FV_View::getBubbleBlocker() when this object is destroyed the counter is decremented for you. To explicitly decrement, simply assign your FV_View_BubbleBlocker to FV_View_BubbleBlocker().

While any real FV_View_BubbleBlocker objects are held, popup bubbles are suspended and not created. This is useful for making dialog windows where you might want to avoid the popup bubbles from overlapping the dialog window.

Both AP_Dialog_Modeless and AP_Dialog_Modal obtain and release these BubbleBlocker objects for you automatically, so dialog subclasses of those do not have to worry about this at all.


Constructor & Destructor Documentation

FV_View_BubbleBlocker::FV_View_BubbleBlocker ( FV_View pView = 0  ) 
FV_View_BubbleBlocker::~FV_View_BubbleBlocker (  ) 

Member Function Documentation

FV_View_BubbleBlocker & FV_View_BubbleBlocker::operator= ( const FV_View_BubbleBlocker r  ) 

Friends And Related Function Documentation

friend class FV_View [friend]

Member Data Documentation


The documentation for this class was generated from the following files: