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:
Collaboration diagram for offapp::DriverListControl:

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)

Member Function Documentation

void offapp::DriverListControl::CursorMoved ( )

Definition at line 139 of file connpooloptions.cxx.

References getCurrentRow(), and m_aRowChangeHandler.

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

Definition at line 243 of file connpooloptions.cxx.

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

Definition at line 62 of file connpooloptions.cxx.

References m_aSettings.

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

Definition at line 184 of file connpooloptions.cxx.

References GetCellText().

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

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  )

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 

Definition at line 237 of file connpooloptions.cxx.

References GetCellText().

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

Definition at line 102 of file connpooloptions.cxx.

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

Definition at line 249 of file connpooloptions.cxx.

void offapp::DriverListControl::saveValue ( )

Definition at line 64 of file connpooloptions.cxx.

References m_aSettings.

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

Definition at line 57 of file connpooloptions.cxx.

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

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

Definition at line 46 of file connpooloptions.cxx.

Referenced by CursorMoved().

DriverPoolingSettings offapp::DriverListControl::m_aSavedSettings

Definition at line 39 of file connpooloptions.cxx.

Referenced by isModified().

DriverPoolingSettings::const_iterator offapp::DriverListControl::m_aSeekRow

Definition at line 41 of file connpooloptions.cxx.

Referenced by PaintCell(), and SeekRow().

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

Definition at line 44 of file connpooloptions.cxx.

Referenced by implGetCellText().

OUString offapp::DriverListControl::m_sYes

Definition at line 43 of file connpooloptions.cxx.

Referenced by implGetCellText().

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