LibreOffice Module svx (master)
1
|
#include <gridcell.hxx>
Public Member Functions | |
DbCheckBox (DbGridColumn &_rColumn) | |
virtual void | Init (BrowserDataWin &rParent, const css::uno::Reference< css::sdbc::XRowSet > &xCursor) override |
virtual void | UpdateFromField (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter) override |
virtual ::svt::CellControllerRef | CreateController () const override |
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) override |
virtual OUString | GetFormatText (const css::uno::Reference< css::sdb::XColumn > &_rxField, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const Color **ppColor=nullptr) override |
![]() | |
DbCellControl (DbGridColumn &_rColumn) | |
virtual | ~DbCellControl () override |
vcl::Window & | GetWindow () const |
bool | isAlignedController () const |
void | AlignControl (sal_Int16 nAlignment) |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &_rColor) |
bool | Commit () |
virtual void | Update () |
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 |
![]() | |
OPropertyChangeListener (::osl::Mutex &_rMutex) | |
virtual | ~OPropertyChangeListener () |
virtual void | _disposing (const css::lang::EventObject &_rSource) |
Protected Member Functions | |
virtual bool | commitControl () override |
commits the content of the control (e.g. More... | |
virtual void | updateFromModel (css::uno::Reference< css::beans::XPropertySet > _rxModel) override |
updates the current content of the control (e.g. More... | |
![]() | |
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 void | _propertyChanged (const css::beans::PropertyChangeEvent &evt) override |
![]() | |
void | disposeAdapter () |
void | setAdapter (OPropertyChangeMultiplexer *_pAdapter) |
Additional Inherited Members | |
![]() | |
DbGridColumn & | m_rColumn |
VclPtr< vcl::Window > | m_pPainter |
VclPtr< vcl::Window > | m_pWindow |
![]() | |
::osl::Mutex | m_aMutex |
Definition at line 435 of file gridcell.hxx.
DbCheckBox::DbCheckBox | ( | DbGridColumn & | _rColumn | ) |
Definition at line 1594 of file gridcell.cxx.
References DbCellControl::setAlignedController().
|
overrideprotectedvirtual |
commits the content of the control (e.g.
the text of an edit field) into the column model (e.g. the "Text" property of the model).
To be overwritten in derived classes.
Implements DbCellControl.
Definition at line 1704 of file gridcell.cxx.
References FM_PROP_STATE, VclPtr< vcl::Window >::get(), DbGridColumn::getModel(), DbCellControl::m_pWindow, DbCellControl::m_rColumn, and makeAny().
|
overridevirtual |
Implements DbCellControl.
Definition at line 1650 of file gridcell.cxx.
References VclPtr< vcl::Window >::get(), and DbCellControl::m_pWindow.
|
overridevirtual |
Implements DbCellControl.
Definition at line 1711 of file gridcell.cxx.
|
overridevirtual |
Reimplemented from DbCellControl.
Definition at line 1615 of file gridcell.cxx.
References VclPtr< reference_type >::Create(), DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_TRISTATE, FM_PROP_VISUALEFFECT, VclPtr< vcl::Window >::get(), DbGridColumn::getModel(), DbCellControl::Init(), DbCellControl::m_pPainter, DbCellControl::m_pWindow, DbCellControl::m_rColumn, OutputDevice::SetBackground(), vcl::Window::SetPaintTransparent(), DbCellControl::setTransparent(), and xModel.
|
overridevirtual |
Reimplemented from DbCellControl.
Definition at line 1680 of file gridcell.cxx.
References VclPtr< vcl::Window >::get(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), Size::Height(), lcl_setCheckBoxState(), tools::Rectangle::Left(), DbCellControl::m_pPainter, DbCellControl::PaintFieldToCell(), Point, tools::Rectangle::Top(), and Size::Width().
|
overridevirtual |
Implements DbCellControl.
Definition at line 1675 of file gridcell.cxx.
References VclPtr< vcl::Window >::get(), lcl_setCheckBoxState(), and DbCellControl::m_pWindow.
|
overrideprotectedvirtual |
updates the current content of the control (e.g.
the text of an edit field) from the column model (e.g. the "Text" property of the model).
To be overwritten in derived classes.
NULL != _rxModel NULL != m_pWindow
Implements DbCellControl.
Definition at line 1695 of file gridcell.cxx.
References FM_PROP_STATE, VclPtr< vcl::Window >::get(), DbCellControl::m_pWindow, nState, and TRISTATE_INDET.