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

#include <gridcontrol.hxx>

Inheritance diagram for toolkit::UnoGridControl:
[legend]
Collaboration diagram for toolkit::UnoGridControl:
[legend]

Public Member Functions

 UnoGridControl ()
 
OUString GetComponentServiceName () const override
 
void SAL_CALL dispose () override
 
void SAL_CALL createPeer (const css::uno::Reference< css::awt::XToolkit > &Toolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
 
sal_Bool SAL_CALL setModel (const css::uno::Reference< css::awt::XControlModel > &rxModel) override
 
virtual ::sal_Int32 SAL_CALL getColumnAtPoint (::sal_Int32 x, ::sal_Int32 y) override
 
virtual ::sal_Int32 SAL_CALL getRowAtPoint (::sal_Int32 x, ::sal_Int32 y) override
 
virtual ::sal_Int32 SAL_CALL getCurrentColumn () override
 
virtual ::sal_Int32 SAL_CALL getCurrentRow () override
 
virtual void SAL_CALL goToCell (::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex) override
 
virtual void SAL_CALL selectRow (::sal_Int32 i_rowIndex) override
 
virtual void SAL_CALL selectAllRows () override
 
virtual void SAL_CALL deselectRow (::sal_Int32 i_rowIndex) override
 
virtual void SAL_CALL deselectAllRows () override
 
virtual css::uno::Sequence< ::sal_Int32 > SAL_CALL getSelectedRows () override
 
virtual sal_Bool SAL_CALL hasSelectedRows () override
 
virtual sal_Bool SAL_CALL isRowSelected (::sal_Int32 index) override
 
virtual void SAL_CALL addSelectionListener (const css::uno::Reference< css::awt::grid::XGridSelectionListener > &listener) override
 
virtual void SAL_CALL removeSelectionListener (const css::uno::Reference< css::awt::grid::XGridSelectionListener > &listener) override
 
OUString SAL_CALL getImplementationName () override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getPeer () override
 
- Public Member Functions inherited from cppu::AggImplInheritanceHelper2< class BaseClass, class Ifc1, class Ifc2 >
 AggImplInheritanceHelper2 ()
 
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
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Member Functions

virtual ~UnoGridControl () override
 
- Protected Member Functions inherited from cppu::AggImplInheritanceHelper2< class BaseClass, class Ifc1, class Ifc2 >
 AggImplInheritanceHelper2 (T1 const &arg1)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
 

Private Attributes

SelectionListenerMultiplexer m_aSelectionListeners
 
std::unique_ptr< GridEventForwarderm_pEventForwarder
 

Detailed Description

Definition at line 85 of file gridcontrol.hxx.

Constructor & Destructor Documentation

◆ UnoGridControl()

toolkit::UnoGridControl::UnoGridControl ( )

Definition at line 269 of file gridcontrol.cxx.

◆ ~UnoGridControl()

toolkit::UnoGridControl::~UnoGridControl ( )
overrideprotectedvirtual

Definition at line 276 of file gridcontrol.cxx.

Member Function Documentation

◆ addSelectionListener()

void SAL_CALL toolkit::UnoGridControl::addSelectionListener ( const css::uno::Reference< css::awt::grid::XGridSelectionListener > &  listener)
overridevirtual

Definition at line 432 of file gridcontrol.cxx.

References m_aSelectionListeners.

◆ createPeer()

void SAL_CALL toolkit::UnoGridControl::createPeer ( const css::uno::Reference< css::awt::XToolkit > &  Toolkit,
const css::uno::Reference< css::awt::XWindowPeer > &  Parent 
)
override

Definition at line 296 of file gridcontrol.cxx.

References UnoControl::createPeer(), getPeer(), and m_aSelectionListeners.

◆ deselectAllRows()

void SAL_CALL toolkit::UnoGridControl::deselectAllRows ( )
overridevirtual

Definition at line 408 of file gridcontrol.cxx.

References getPeer().

◆ deselectRow()

void SAL_CALL toolkit::UnoGridControl::deselectRow ( ::sal_Int32  i_rowIndex)
overridevirtual

Definition at line 402 of file gridcontrol.cxx.

References getPeer().

◆ dispose()

void SAL_CALL toolkit::UnoGridControl::dispose ( void  )
override

Definition at line 287 of file gridcontrol.cxx.

References UnoControl::dispose(), and m_aSelectionListeners.

◆ getColumnAtPoint()

sal_Int32 toolkit::UnoGridControl::getColumnAtPoint ( ::sal_Int32  x,
::sal_Int32  y 
)
override

Definition at line 362 of file gridcontrol.cxx.

References getPeer(), x, and y.

◆ GetComponentServiceName()

OUString toolkit::UnoGridControl::GetComponentServiceName ( ) const
override

Definition at line 281 of file gridcontrol.cxx.

◆ getCurrentColumn()

sal_Int32 SAL_CALL toolkit::UnoGridControl::getCurrentColumn ( )
override

Definition at line 369 of file gridcontrol.cxx.

References getPeer().

◆ getCurrentRow()

sal_Int32 SAL_CALL toolkit::UnoGridControl::getCurrentRow ( )
override

Definition at line 376 of file gridcontrol.cxx.

References getPeer().

◆ getImplementationName()

OUString SAL_CALL toolkit::UnoGridControl::getImplementationName ( )
inlineoverride

Definition at line 117 of file gridcontrol.hxx.

◆ getPeer()

Reference< XWindowPeer > UnoControl::getPeer ( )
override

◆ getRowAtPoint()

sal_Int32 toolkit::UnoGridControl::getRowAtPoint ( ::sal_Int32  x,
::sal_Int32  y 
)
override

Definition at line 355 of file gridcontrol.cxx.

References getPeer(), x, and y.

◆ getSelectedRows()

css::uno::Sequence<::sal_Int32 > SAL_CALL toolkit::UnoGridControl::getSelectedRows ( )
overridevirtual

Definition at line 414 of file gridcontrol.cxx.

References getPeer().

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL toolkit::UnoGridControl::getSupportedServiceNames ( )
inlineoverride

Definition at line 120 of file gridcontrol.hxx.

References UnoControl::getSupportedServiceNames().

◆ goToCell()

void SAL_CALL toolkit::UnoGridControl::goToCell ( ::sal_Int32  i_columnIndex,
::sal_Int32  i_rowIndex 
)
overridevirtual

Definition at line 383 of file gridcontrol.cxx.

References getPeer().

◆ hasSelectedRows()

sal_Bool SAL_CALL toolkit::UnoGridControl::hasSelectedRows ( )
overridevirtual

Definition at line 420 of file gridcontrol.cxx.

References getPeer().

◆ isRowSelected()

sal_Bool SAL_CALL toolkit::UnoGridControl::isRowSelected ( ::sal_Int32  index)
overridevirtual

Definition at line 426 of file gridcontrol.cxx.

References getPeer(), and index.

◆ removeSelectionListener()

void SAL_CALL toolkit::UnoGridControl::removeSelectionListener ( const css::uno::Reference< css::awt::grid::XGridSelectionListener > &  listener)
overridevirtual

Definition at line 438 of file gridcontrol.cxx.

References m_aSelectionListeners.

◆ selectAllRows()

void SAL_CALL toolkit::UnoGridControl::selectAllRows ( )
overridevirtual

Definition at line 396 of file gridcontrol.cxx.

References getPeer().

◆ selectRow()

void SAL_CALL toolkit::UnoGridControl::selectRow ( ::sal_Int32  i_rowIndex)
overridevirtual

Definition at line 390 of file gridcontrol.cxx.

References getPeer().

◆ setModel()

sal_Bool SAL_CALL toolkit::UnoGridControl::setModel ( const css::uno::Reference< css::awt::XControlModel > &  rxModel)
override

Definition at line 345 of file gridcontrol.cxx.

References m_pEventForwarder.

Member Data Documentation

◆ m_aSelectionListeners

SelectionListenerMultiplexer toolkit::UnoGridControl::m_aSelectionListeners
private

◆ m_pEventForwarder

std::unique_ptr< GridEventForwarder > toolkit::UnoGridControl::m_pEventForwarder
private

Definition at line 135 of file gridcontrol.hxx.

Referenced by setModel().


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