LibreOffice Module svx (master)
1
|
#include <gridcell.hxx>
Public Member Functions | |
FmXGridCell (DbGridColumn *pColumn, std::unique_ptr< DbCellControl > pControl) | |
void | init () |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &_rType) override |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &_rColor) |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | setContext (const css::uno::Reference< css::uno::XInterface > &) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getContext () override |
virtual void SAL_CALL | createPeer (const css::uno::Reference< css::awt::XToolkit > &, const css::uno::Reference< css::awt::XWindowPeer > &) override |
virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL | getPeer () override |
virtual sal_Bool SAL_CALL | setModel (const css::uno::Reference< css::awt::XControlModel > &) override |
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL | getModel () override |
virtual css::uno::Reference< css::awt::XView > SAL_CALL | getView () override |
virtual void SAL_CALL | setDesignMode (sal_Bool) override |
virtual sal_Bool SAL_CALL | isDesignMode () override |
virtual sal_Bool SAL_CALL | isTransparent () override |
virtual sal_Bool SAL_CALL | getLock () override |
virtual void SAL_CALL | setLock (sal_Bool _bLock) override |
virtual void SAL_CALL | setPosSize (::sal_Int32 X,::sal_Int32 Y,::sal_Int32 Width,::sal_Int32 Height,::sal_Int16 Flags) override |
virtual css::awt::Rectangle SAL_CALL | getPosSize () override |
virtual void SAL_CALL | setVisible (sal_Bool Visible) override |
virtual void SAL_CALL | setEnable (sal_Bool Enable) override |
virtual void SAL_CALL | setFocus () override |
virtual void SAL_CALL | addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
virtual void SAL_CALL | removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
bool | Commit () |
void | ImplInitWindow (vcl::Window const &rParent, const InitWindowFacet _eInitWhat) |
bool | isAlignedController () const |
void | AlignControl (sal_Int16 nAlignment) |
![]() | |
OComponentHelper (::osl::Mutex &rMutex) | |
virtual | ~OComponentHelper () SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
![]() | |
OWeakAggObject () | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
![]() | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
![]() | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
![]() | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
Protected Member Functions | |
virtual | ~FmXGridCell () override |
void | onWindowEvent (const VclEventId _nEventId, const void *_pEventData) |
virtual void | onFocusGained (const css::awt::FocusEvent &_rEvent) |
virtual void | onFocusLost (const css::awt::FocusEvent &_rEvent) |
![]() | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
![]() | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
![]() | |
~ImplHelper2 () SAL_NOEXCEPT | |
![]() | |
~ImplHelper1 () SAL_NOEXCEPT | |
Protected Attributes | |
::osl::Mutex | m_aMutex |
DbGridColumn * | m_pColumn |
std::unique_ptr< DbCellControl > | m_pCellControl |
![]() | |
css::uno::WeakReferenceHelper | xDelegator |
![]() | |
oslInterlockedCount | m_refCount |
Private Member Functions | |
svt::ControlBase * | getEventWindow () const |
DECL_LINK (OnFocusGained, LinkParamNone *, void) | |
DECL_LINK (OnFocusLost, LinkParamNone *, void) | |
DECL_LINK (OnMousePress, const MouseEvent &, void) | |
DECL_LINK (OnMouseRelease, const MouseEvent &, void) | |
DECL_LINK (OnMouseMove, const MouseEvent &, void) | |
DECL_LINK (OnWindowEvent, VclWindowEvent &, void) | |
Private Attributes | |
::comphelper::OInterfaceContainerHelper3< css::awt::XWindowListener > | m_aWindowListeners |
::comphelper::OInterfaceContainerHelper3< css::awt::XFocusListener > | m_aFocusListeners |
::comphelper::OInterfaceContainerHelper3< css::awt::XKeyListener > | m_aKeyListeners |
::comphelper::OInterfaceContainerHelper3< css::awt::XMouseListener > | m_aMouseListeners |
::comphelper::OInterfaceContainerHelper3< css::awt::XMouseMotionListener > | m_aMouseMotionListeners |
Definition at line 680 of file gridcell.hxx.
|
overrideprotectedvirtual |
Definition at line 3223 of file gridcell.cxx.
References cppu::OComponentHelper::acquire(), and dispose().
FmXGridCell::FmXGridCell | ( | DbGridColumn * | pColumn, |
std::unique_ptr< DbCellControl > | pControl | ||
) |
Definition at line 3190 of file gridcell.cxx.
References m_aMutex.
|
inlineoverridevirtual |
Reimplemented from cppu::OComponentHelper.
Definition at line 718 of file gridcell.hxx.
|
overridevirtual |
Definition at line 3379 of file gridcell.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), checkDisposed(), and m_aFocusListeners.
|
overridevirtual |
Definition at line 3393 of file gridcell.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), checkDisposed(), and m_aKeyListeners.
|
overridevirtual |
Definition at line 3407 of file gridcell.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), checkDisposed(), and m_aMouseListeners.
|
overridevirtual |
Definition at line 3421 of file gridcell.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), checkDisposed(), and m_aMouseMotionListeners.
|
overridevirtual |
Definition at line 3434 of file gridcell.cxx.
|
overridevirtual |
Definition at line 3365 of file gridcell.cxx.
References comphelper::OInterfaceContainerHelper3< class >::addInterface(), checkDisposed(), and m_aWindowListeners.
|
inline |
Definition at line 762 of file gridcell.hxx.
|
inline |
Definition at line 757 of file gridcell.hxx.
|
inlineoverridevirtual |
Definition at line 724 of file gridcell.hxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Reimplemented from cppu::OComponentHelper.
Definition at line 717 of file gridcell.hxx.
Referenced by FmXCheckBoxCell::~FmXCheckBoxCell(), FmXComboBoxCell::~FmXComboBoxCell(), FmXEditCell::~FmXEditCell(), FmXFilterCell::~FmXFilterCell(), ~FmXGridCell(), and FmXListBoxCell::~FmXListBoxCell().
|
overridevirtual |
Reimplemented from cppu::OComponentHelper.
Reimplemented in FmXFilterCell, FmXComboBoxCell, FmXListBoxCell, FmXCheckBoxCell, and FmXEditCell.
Definition at line 3266 of file gridcell.cxx.
References aEvent.
Referenced by FmXEditCell::disposing(), FmXCheckBoxCell::disposing(), FmXListBoxCell::disposing(), FmXComboBoxCell::disposing(), and FmXFilterCell::disposing().
|
overridevirtual |
Definition at line 3296 of file gridcell.cxx.
|
private |
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class >.
Reimplemented in FmXFilterCell, FmXComboBoxCell, FmXListBoxCell, FmXCheckBoxCell, and FmXEditCell.
|
overridevirtual |
Definition at line 3310 of file gridcell.cxx.
References checkDisposed(), DbGridColumn::isLocked(), and m_pColumn.
Referenced by setLock().
|
overridevirtual |
Definition at line 3302 of file gridcell.cxx.
References checkDisposed(), DbGridColumn::getModel(), and m_pColumn.
|
inlineoverridevirtual |
Definition at line 726 of file gridcell.hxx.
|
overridevirtual |
Definition at line 3337 of file gridcell.cxx.
Reimplemented from cppu::ImplHelper1< class >.
Reimplemented in FmXFilterCell, FmXComboBoxCell, FmXListBoxCell, FmXCheckBoxCell, and FmXEditCell.
Definition at line 3247 of file gridcell.cxx.
References aTypes, cppu::ImplHelper1< class >::getTypes(), cppu::OComponentHelper::getTypes(), cppu::ImplHelper2< class, class >::getTypes(), and m_pCellControl.
Referenced by FmXEditCell::getTypes(), FmXCheckBoxCell::getTypes(), FmXListBoxCell::getTypes(), FmXComboBoxCell::getTypes(), and FmXFilterCell::getTypes().
|
inlineoverridevirtual |
Definition at line 729 of file gridcell.hxx.
|
inline |
Definition at line 758 of file gridcell.hxx.
void FmXGridCell::init | ( | ) |
Definition at line 3202 of file gridcell.cxx.
References getEventWindow(), LINK, svt::ControlBase::SetFocusInHdl(), svt::ControlBase::SetFocusOutHdl(), svt::ControlBase::SetMouseMoveHdl(), svt::ControlBase::SetMousePressHdl(), and svt::ControlBase::SetMouseReleaseHdl().
|
inline |
Definition at line 761 of file gridcell.hxx.
|
inlineoverridevirtual |
Definition at line 731 of file gridcell.hxx.
|
inlineoverridevirtual |
Definition at line 732 of file gridcell.hxx.
|
protectedvirtual |
Reimplemented in FmXEditCell.
Definition at line 3450 of file gridcell.cxx.
References checkDisposed(), m_aFocusListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
Referenced by FmXEditCell::onFocusGained().
|
protectedvirtual |
Reimplemented in FmXEditCell.
Definition at line 3456 of file gridcell.cxx.
References checkDisposed(), m_aFocusListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
Referenced by FmXEditCell::onFocusLost().
|
protected |
Definition at line 3526 of file gridcell.cxx.
References aEvent, VCLUnoHelper::createKeyEvent(), comphelper::OInterfaceContainerHelper3< class >::getLength(), m_aKeyListeners, and comphelper::OInterfaceContainerHelper3< class >::notifyEach().
|
overridevirtual |
Reimplemented from cppu::OWeakAggObject.
Reimplemented in FmXFilterCell, FmXComboBoxCell, FmXListBoxCell, FmXCheckBoxCell, and FmXEditCell.
Definition at line 3281 of file gridcell.cxx.
References Any, m_pCellControl, cppu::ImplHelper1< class >::queryInterface(), and cppu::ImplHelper2< class, class >::queryInterface().
Referenced by FmXEditCell::queryAggregation(), FmXCheckBoxCell::queryAggregation(), FmXListBoxCell::queryAggregation(), FmXComboBoxCell::queryAggregation(), and FmXFilterCell::queryAggregation().
|
inlineoverridevirtual |
Reimplemented from cppu::OComponentHelper.
Definition at line 719 of file gridcell.hxx.
|
overridevirtual |
Definition at line 3386 of file gridcell.cxx.
References checkDisposed(), m_aFocusListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 3400 of file gridcell.cxx.
References checkDisposed(), m_aKeyListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 3414 of file gridcell.cxx.
References checkDisposed(), m_aMouseListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 3428 of file gridcell.cxx.
References checkDisposed(), m_aMouseMotionListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
overridevirtual |
Definition at line 3439 of file gridcell.cxx.
|
overridevirtual |
Definition at line 3372 of file gridcell.cxx.
References checkDisposed(), m_aWindowListeners, and comphelper::OInterfaceContainerHelper3< class >::removeInterface().
|
inlineoverridevirtual |
Definition at line 722 of file gridcell.hxx.
Definition at line 730 of file gridcell.hxx.
Definition at line 3351 of file gridcell.cxx.
|
overridevirtual |
Definition at line 3358 of file gridcell.cxx.
Definition at line 3317 of file gridcell.cxx.
References checkDisposed(), getLock(), m_aMutex, m_pColumn, and DbGridColumn::setLock().
|
inlineoverridevirtual |
Definition at line 727 of file gridcell.hxx.
|
overridevirtual |
Definition at line 3330 of file gridcell.cxx.
void FmXGridCell::SetTextLineColor | ( | ) |
Definition at line 3233 of file gridcell.cxx.
References m_pCellControl.
Referenced by FmXGridPeer::setProperty().
Definition at line 3239 of file gridcell.cxx.
References m_pCellControl.
Definition at line 3344 of file gridcell.cxx.
|
private |
Definition at line 691 of file gridcell.hxx.
Referenced by addFocusListener(), onFocusGained(), onFocusLost(), and removeFocusListener().
|
private |
Definition at line 692 of file gridcell.hxx.
Referenced by addKeyListener(), onWindowEvent(), and removeKeyListener().
|
private |
Definition at line 693 of file gridcell.hxx.
Referenced by addMouseListener(), and removeMouseListener().
|
private |
Definition at line 694 of file gridcell.hxx.
Referenced by addMouseMotionListener(), and removeMouseMotionListener().
|
protected |
Definition at line 685 of file gridcell.hxx.
Referenced by FmXListBoxCell::addItem(), FmXComboBoxCell::addItem(), FmXListBoxCell::addItems(), FmXComboBoxCell::addItems(), FmXCheckBoxCell::enableTriState(), FmXListBoxCell::getDropDownLineCount(), FmXComboBoxCell::getDropDownLineCount(), FmXListBoxCell::getItem(), FmXComboBoxCell::getItem(), FmXListBoxCell::getItemCount(), FmXComboBoxCell::getItemCount(), FmXListBoxCell::getItems(), FmXComboBoxCell::getItems(), FmXEditCell::getMaxTextLen(), FmXListBoxCell::getSelectedItem(), FmXListBoxCell::getSelectedItemPos(), FmXListBoxCell::getSelectedItems(), FmXListBoxCell::getSelectedItemsPos(), FmXEditCell::getSelectedText(), FmXEditCell::getSelection(), FmXCheckBoxCell::getState(), FmXEditCell::getText(), FmXFilterCell::getText(), FmXEditCell::insertText(), FmXEditCell::isEditable(), FmXListBoxCell::isMutipleMode(), FmXListBoxCell::removeItems(), FmXComboBoxCell::removeItems(), FmXListBoxCell::selectItem(), FmXListBoxCell::selectItemPos(), FmXListBoxCell::selectItemsPos(), FmXListBoxCell::setDropDownLineCount(), FmXComboBoxCell::setDropDownLineCount(), FmXEditCell::setEditable(), setLock(), FmXEditCell::setMaxTextLen(), FmXListBoxCell::setMultipleMode(), FmXEditCell::setSelection(), FmXCheckBoxCell::setState(), FmXEditCell::setText(), and FmXFilterCell::setText().
|
private |
Definition at line 690 of file gridcell.hxx.
Referenced by addWindowListener(), and removeWindowListener().
|
protected |
Definition at line 687 of file gridcell.hxx.
Referenced by FmXFilterCell::disposing(), FmXEditCell::FmXEditCell(), FmXFilterCell::FmXFilterCell(), getEventWindow(), FmXTextCell::GetText(), FmXFilterCell::getText(), getTypes(), FmXFilterCell::PaintCell(), FmXDataCell::PaintFieldToCell(), queryAggregation(), FmXFilterCell::setText(), SetTextLineColor(), FmXFilterCell::Update(), FmXDataCell::UpdateFromColumn(), and FmXDataCell::UpdateFromField().
|
protected |
Definition at line 686 of file gridcell.hxx.
Referenced by getLock(), getModel(), FmXEditCell::getSelectedText(), FmXEditCell::getText(), FmXTextCell::PaintFieldToCell(), FmXCheckBoxCell::setLabel(), setLock(), and FmXDataCell::UpdateFromColumn().