LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
DbSpinField Class Referenceabstract

#include <gridcell.hxx>

Inheritance diagram for DbSpinField:
[legend]
Collaboration diagram for DbSpinField:
[legend]

Public Member Functions

virtual void Init (vcl::Window &rParent, const css::uno::Reference< css::sdbc::XRowSet > &_rxCursor) override
 
virtual ::svt::CellControllerRef CreateController () const override
 
- Public Member Functions inherited from DbCellControl
 DbCellControl (DbGridColumn &_rColumn)
 
virtual ~DbCellControl () override
 
vcl::WindowGetWindow () const
 
bool isAlignedController () const
 
void AlignControl (sal_Int16 nAlignment)
 
void SetTextLineColor ()
 
void SetTextLineColor (const Color &_rColor)
 
bool Commit ()
 
virtual OUString GetFormatText (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, Color **ppColor=nullptr)=0
 
virtual void Update ()
 
virtual void UpdateFromField (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)=0
 
virtual void PaintFieldToCell (OutputDevice &rDev, const tools::Rectangle &rRect, const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter)
 
virtual void PaintCell (OutputDevice &_rDev, const tools::Rectangle &_rRect)
 
void ImplInitWindow (vcl::Window const &rParent, const InitWindowFacet _eInitWhat)
 
double GetValue (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) const
 
- Public Member Functions inherited from comphelper::OPropertyChangeListener
 OPropertyChangeListener (::osl::Mutex &_rMutex)
 
virtual ~OPropertyChangeListener ()
 
virtual void _disposing (const css::lang::EventObject &_rSource)
 

Protected Member Functions

 DbSpinField (DbGridColumn &_rColumn, sal_Int16 _nStandardAlign=css::awt::TextAlign::RIGHT)
 
virtual VclPtr< SpinFieldcreateField (vcl::Window *_pParent, WinBits _nFieldStyle, const css::uno::Reference< css::beans::XPropertySet > &_rxModel)=0
 
- Protected Member Functions inherited from DbCellControl
const css::uno::Reference< css::sdbc::XRowSet > & getCursor () const
 
bool isTransparent () const
 
void setTransparent (bool _bSet)
 
void setAlignedController (bool _bAlign)
 
bool isValuePropertyLocked () const
 determined whether or not the value property is locked More...
 
void lockValueProperty ()
 locks the listening at the value property. More...
 
void unlockValueProperty ()
 unlocks the listening at the value property More...
 
void doPropertyListening (const OUString &_rPropertyName)
 
virtual void implAdjustGenericFieldSetting (const css::uno::Reference< css::beans::XPropertySet > &_rxModel)
 
void implValuePropertyChanged ()
 
void invalidatedController ()
 
virtual bool commitControl ()=0
 commits the content of the control (e.g. More...
 
virtual void updateFromModel (css::uno::Reference< css::beans::XPropertySet > _rxModel)=0
 updates the current content of the control (e.g. More...
 
virtual void _propertyChanged (const css::beans::PropertyChangeEvent &evt) override
 
- Protected Member Functions inherited from comphelper::OPropertyChangeListener
void disposeAdapter ()
 
void setAdapter (OPropertyChangeMultiplexer *_pAdapter)
 

Private Attributes

sal_Int16 const m_nStandardAlign
 

Additional Inherited Members

- Protected Attributes inherited from DbCellControl
DbGridColumnm_rColumn
 
VclPtr< vcl::Windowm_pPainter
 
VclPtr< vcl::Windowm_pWindow
 
- Protected Attributes inherited from FmMutexHelper
::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 533 of file gridcell.hxx.

Constructor & Destructor Documentation

DbSpinField::DbSpinField ( DbGridColumn _rColumn,
sal_Int16  _nStandardAlign = css::awt::TextAlign::RIGHT 
)
protected

Definition at line 1835 of file gridcell.cxx.

Member Function Documentation

CellControllerRef DbSpinField::CreateController ( ) const
overridevirtual

Implements DbCellControl.

Definition at line 1864 of file gridcell.cxx.

References VclPtr< vcl::Window >::get(), and DbCellControl::m_pWindow.

virtual VclPtr<SpinField> DbSpinField::createField ( vcl::Window _pParent,
WinBits  _nFieldStyle,
const css::uno::Reference< css::beans::XPropertySet > &  _rxModel 
)
protectedpure virtual

Implemented in DbNumericField, DbCurrencyField, DbTimeField, and DbDateField.

Referenced by Init().

void DbSpinField::Init ( vcl::Window rParent,
const css::uno::Reference< css::sdbc::XRowSet > &  _rxCursor 
)
overridevirtual

Member Data Documentation

sal_Int16 const DbSpinField::m_nStandardAlign
private

Definition at line 536 of file gridcell.hxx.

Referenced by Init().


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