LibreOffice Module svtools (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
svt::CellController Class Referenceabstract

#include <editbrowsebox.hxx>

Inheritance diagram for svt::CellController:
[legend]
Collaboration diagram for svt::CellController:
[legend]

Public Member Functions

 CellController (ControlBase *pW)
 
virtual ~CellController () override
 
ControlBaseGetWindow () const
 
virtual void SaveValue ()=0
 
virtual bool IsValueChangedFromSaved () const =0
 
virtual void CommitModifications ()
 
void suspend ()
 
void resume ()
 
bool isSuspended () const
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Protected Member Functions

virtual bool MoveAllowed (const KeyEvent &rEvt) const
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
virtual void ActivatingMouseEvent (const BrowserMouseEvent &rEvt, bool bUp)
 
virtual void callModifyHdl ()
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

Link< LinkParamNone *, void > maModifyHdl
 
VclPtr< ControlBasepWindow
 
bool bSuspended
 

Friends

class EditBrowseBox
 

Detailed Description

Definition at line 72 of file editbrowsebox.hxx.

Constructor & Destructor Documentation

◆ CellController()

svt::CellController::CellController ( ControlBase pW)

Definition at line 1230 of file editbrowsebox.cxx.

References DBG_ASSERT, and pWindow.

◆ ~CellController()

svt::CellController::~CellController ( )
overridevirtual

Definition at line 1239 of file editbrowsebox.cxx.

Member Function Documentation

◆ ActivatingMouseEvent()

void svt::CellController::ActivatingMouseEvent ( const BrowserMouseEvent rEvt,
bool  bUp 
)
protectedvirtual

Reimplemented in svt::CheckBoxCellController.

Definition at line 1271 of file editbrowsebox.cxx.

◆ callModifyHdl()

virtual void svt::CellController::callModifyHdl ( )
inlineprotectedvirtual

Definition at line 103 of file editbrowsebox.hxx.

References maModifyHdl.

◆ CommitModifications()

void svt::CellController::CommitModifications ( )
virtual

Reimplemented in svt::FormattedFieldCellController.

Definition at line 1266 of file editbrowsebox.cxx.

Referenced by suspend().

◆ GetWindow()

ControlBase & svt::CellController::GetWindow ( ) const
inline

◆ isSuspended()

bool svt::CellController::isSuspended ( ) const
inline

Definition at line 97 of file editbrowsebox.hxx.

Referenced by resume(), and suspend().

◆ IsValueChangedFromSaved()

virtual bool svt::CellController::IsValueChangedFromSaved ( ) const
pure virtual

◆ MoveAllowed()

bool svt::CellController::MoveAllowed ( const KeyEvent rEvt) const
protectedvirtual

◆ resume()

void svt::CellController::resume ( )

◆ SaveValue()

virtual void svt::CellController::SaveValue ( )
pure virtual

◆ SetModifyHdl()

void svt::CellController::SetModifyHdl ( const Link< LinkParamNone *, void > &  rLink)
inlineprotected

◆ suspend()

void svt::CellController::suspend ( )

Friends And Related Function Documentation

◆ EditBrowseBox

friend class EditBrowseBox
friend

Definition at line 74 of file editbrowsebox.hxx.

Member Data Documentation

◆ bSuspended

bool svt::CellController::bSuspended
private

Definition at line 78 of file editbrowsebox.hxx.

Referenced by resume(), and suspend().

◆ maModifyHdl

Link<LinkParamNone*, void> svt::CellController::maModifyHdl
private

Definition at line 75 of file editbrowsebox.hxx.

◆ pWindow

VclPtr<ControlBase> svt::CellController::pWindow
private

Definition at line 77 of file editbrowsebox.hxx.

Referenced by CellController().


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