LibreOffice Module cui (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
offapp::DriverListControl Class Reference

Widget for the Connection Pool options page. More...

Inheritance diagram for offapp::DriverListControl:
[legend]
Collaboration diagram for offapp::DriverListControl:
[legend]

Public Member Functions

 DriverListControl (vcl::Window *_pParent)
 
virtual void Init () override
 
void Update (const DriverPoolingSettings &_rSettings)
 
virtual OUString GetCellText (long nRow, sal_uInt16 nColId) const override
 
void SetRowChangeHandler (const Link< const DriverPooling *, void > &_rHdl)
 
DriverPoolinggetCurrentRow ()
 
void updateCurrentRow ()
 
const DriverPoolingSettingsgetSettings () const
 
void saveValue ()
 
bool isModified () const
 

Protected Member Functions

virtual void InitController (::svt::CellControllerRef &rController, long nRow, sal_uInt16 nCol) override
 
virtual ::svt::CellControllerGetController (long nRow, sal_uInt16 nCol) override
 
virtual void PaintCell (OutputDevice &rDev, const ::tools::Rectangle &rRect, sal_uInt16 nColId) const override
 
virtual bool SeekRow (long nRow) override
 
virtual bool SaveModified () override
 
virtual bool IsTabAllowed (bool _bForward) const override
 
virtual void StateChanged (StateChangedType nStateChange) override
 
virtual void CursorMoved () override
 
virtual sal_uInt32 GetTotalCellWidth (long nRow, sal_uInt16 nColId) override
 

Protected Attributes

DriverPoolingSettings m_aSavedSettings
 
DriverPoolingSettings m_aSettings
 
DriverPoolingSettings::const_iterator m_aSeekRow
 
OUString m_sYes
 
OUString m_sNo
 
Link< const DriverPooling *, voidm_aRowChangeHandler
 

Private Member Functions

OUString implGetCellText (const DriverPoolingSettings::const_iterator &_rPos, sal_uInt16 _nColId) const
 

Detailed Description

Widget for the Connection Pool options page.

Definition at line 35 of file connpooloptions.cxx.

Constructor & Destructor Documentation

offapp::DriverListControl::DriverListControl ( vcl::Window _pParent)
explicit

Member Function Documentation

void offapp::DriverListControl::CursorMoved ( )
overrideprotectedvirtual

Definition at line 139 of file connpooloptions.cxx.

References getCurrentRow(), and m_aRowChangeHandler.

OUString offapp::DriverListControl::GetCellText ( long  nRow,
sal_uInt16  nColId 
) const
overridevirtual
svt::CellController * offapp::DriverListControl::GetController ( long  nRow,
sal_uInt16  nCol 
)
overrideprotected

Definition at line 243 of file connpooloptions.cxx.

DriverPooling * offapp::DriverListControl::getCurrentRow ( )
const DriverPoolingSettings& offapp::DriverListControl::getSettings ( ) const
inline

Definition at line 62 of file connpooloptions.cxx.

References m_aSettings.

sal_uInt32 offapp::DriverListControl::GetTotalCellWidth ( long  nRow,
sal_uInt16  nColId 
)
overrideprotectedvirtual

Definition at line 184 of file connpooloptions.cxx.

References GetCellText().

OUString offapp::DriverListControl::implGetCellText ( const DriverPoolingSettings::const_iterator _rPos,
sal_uInt16  _nColId 
) const
private

Definition at line 190 of file connpooloptions.cxx.

References offapp::DriverPoolingSettings::end(), m_aSettings, m_sNo, and m_sYes.

Referenced by GetCellText(), and PaintCell().

void offapp::DriverListControl::Init ( void  )
overridevirtual

Definition at line 125 of file connpooloptions.cxx.

References CuiResId(), and Size::Width().

void offapp::DriverListControl::InitController ( ::svt::CellControllerRef rController,
long  nRow,
sal_uInt16  nCol 
)
overrideprotectedvirtual

Definition at line 237 of file connpooloptions.cxx.

References GetCellText().

bool offapp::DriverListControl::isModified ( ) const
bool offapp::DriverListControl::IsTabAllowed ( bool  _bForward) const
overrideprotectedvirtual

Definition at line 102 of file connpooloptions.cxx.

void offapp::DriverListControl::PaintCell ( OutputDevice rDev,
const ::tools::Rectangle rRect,
sal_uInt16  nColId 
) const
overrideprotectedvirtual
bool offapp::DriverListControl::SaveModified ( )
overrideprotectedvirtual

Definition at line 249 of file connpooloptions.cxx.

void offapp::DriverListControl::saveValue ( )
inline

Definition at line 64 of file connpooloptions.cxx.

References m_aSettings.

bool offapp::DriverListControl::SeekRow ( long  nRow)
overrideprotectedvirtual
void offapp::DriverListControl::SetRowChangeHandler ( const Link< const DriverPooling *, void > &  _rHdl)
inline

Definition at line 57 of file connpooloptions.cxx.

void offapp::DriverListControl::StateChanged ( StateChangedType  nStateChange)
overrideprotectedvirtual

Definition at line 214 of file connpooloptions.cxx.

void offapp::DriverListControl::Update ( const DriverPoolingSettings _rSettings)

Definition at line 171 of file connpooloptions.cxx.

References m_aSettings, and offapp::DriverPoolingSettings::size().

void offapp::DriverListControl::updateCurrentRow ( )

Definition at line 165 of file connpooloptions.cxx.

Member Data Documentation

Link<const DriverPooling*,void> offapp::DriverListControl::m_aRowChangeHandler
protected

Definition at line 46 of file connpooloptions.cxx.

Referenced by CursorMoved().

DriverPoolingSettings offapp::DriverListControl::m_aSavedSettings
protected

Definition at line 39 of file connpooloptions.cxx.

Referenced by isModified().

DriverPoolingSettings::const_iterator offapp::DriverListControl::m_aSeekRow
protected

Definition at line 41 of file connpooloptions.cxx.

Referenced by PaintCell(), and SeekRow().

DriverPoolingSettings offapp::DriverListControl::m_aSettings
protected
OUString offapp::DriverListControl::m_sNo
protected

Definition at line 44 of file connpooloptions.cxx.

Referenced by implGetCellText().

OUString offapp::DriverListControl::m_sYes
protected

Definition at line 43 of file connpooloptions.cxx.

Referenced by implGetCellText().


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