LibreOffice Module toolkit (master) 1
|
#include <vclxwindows.hxx>
Public Member Functions | |
SVTXGridControl () | |
virtual | ~SVTXGridControl () override |
virtual void SAL_CALL | rowsInserted (const css::awt::grid::GridDataEvent &Event) override |
virtual void SAL_CALL | rowsRemoved (const css::awt::grid::GridDataEvent &Event) override |
virtual void SAL_CALL | dataChanged (const css::awt::grid::GridDataEvent &Event) override |
virtual void SAL_CALL | rowHeadingChanged (const css::awt::grid::GridDataEvent &Event) override |
virtual void SAL_CALL | elementInserted (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementRemoved (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | elementReplaced (const css::container::ContainerEvent &Event) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual ::sal_Int32 SAL_CALL | getRowAtPoint (::sal_Int32 x, ::sal_Int32 y) override |
virtual ::sal_Int32 SAL_CALL | getColumnAtPoint (::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 |
void SAL_CALL | setProperty (const OUString &PropertyName, const css::uno::Any &Value) override |
css::uno::Any SAL_CALL | getProperty (const OUString &PropertyName) override |
void SAL_CALL | dispose () override |
void SAL_CALL | setEnable (sal_Bool bEnable) override |
Private Member Functions | |
virtual void | SetWindow (const VclPtr< vcl::Window > &pWindow) override |
void | impl_updateColumnsFromModel_nothrow () |
void | impl_checkTableModelInit () |
void | impl_checkColumnIndex_throw (::svt::table::TableControl const &i_table, sal_Int32 const i_columnIndex) const |
void | impl_checkRowIndex_throw (::svt::table::TableControl const &i_table, sal_Int32 const i_rowIndex) const |
virtual void | ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) override |
void | ImplCallItemListeners () |
Private Attributes | |
std::shared_ptr< ::svt::table::UnoControlTableModel > | m_xTableModel |
bool | m_bTableModelInitCompleted |
SelectionListenerMultiplexer | m_aSelectionListeners |
Definition at line 595 of file toolkit/inc/awt/vclxwindows.hxx.
SVTXGridControl::SVTXGridControl | ( | ) |
Definition at line 74 of file svtxgridcontrol.cxx.
References make_shared().
|
overridevirtual |
Definition at line 82 of file svtxgridcontrol.cxx.
|
overridevirtual |
Definition at line 170 of file svtxgridcontrol.cxx.
References m_aSelectionListeners.
|
overridevirtual |
Definition at line 613 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN_VOID, and m_xTableModel.
|
overridevirtual |
Definition at line 712 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN_VOID.
|
overridevirtual |
Definition at line 699 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN_VOID, and impl_checkRowIndex_throw().
|
override |
Definition at line 761 of file svtxgridcontrol.cxx.
References VCLXWindow::dispose(), and m_aSelectionListeners.
|
overridevirtual |
Definition at line 669 of file svtxgridcontrol.cxx.
References VCLXWindow::disposing(), and Source.
|
overridevirtual |
Definition at line 639 of file svtxgridcontrol.cxx.
References m_xTableModel, and nIndex.
|
overridevirtual |
Definition at line 651 of file svtxgridcontrol.cxx.
References m_xTableModel, and nIndex.
|
overridevirtual |
Definition at line 661 of file svtxgridcontrol.cxx.
|
override |
Definition at line 120 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN, TableCell, x, and y.
|
override |
Definition at line 132 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN.
|
override |
Definition at line 144 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN.
|
override |
Definition at line 466 of file svtxgridcontrol.cxx.
References Any, BASEPROPERTY_ACTIVE_SEL_BACKGROUND_COLOR, BASEPROPERTY_ACTIVE_SEL_TEXT_COLOR, BASEPROPERTY_GRID_COLUMNMODEL, BASEPROPERTY_GRID_DATAMODEL, BASEPROPERTY_GRID_HEADER_BACKGROUND, BASEPROPERTY_GRID_HEADER_TEXT_COLOR, BASEPROPERTY_GRID_LINE_COLOR, BASEPROPERTY_GRID_ROW_BACKGROUND_COLORS, BASEPROPERTY_GRID_SELECTIONMODE, BASEPROPERTY_GRID_SHOWCOLUMNHEADER, BASEPROPERTY_GRID_SHOWROWHEADER, BASEPROPERTY_HSCROLL, BASEPROPERTY_INACTIVE_SEL_BACKGROUND_COLOR, BASEPROPERTY_INACTIVE_SEL_TEXT_COLOR, BASEPROPERTY_TEXTCOLOR, BASEPROPERTY_TEXTLINECOLOR, BASEPROPERTY_USE_GRID_LINES, BASEPROPERTY_VSCROLL, ENSURE_OR_RETURN, VCLXWindow::getProperty(), GetPropertyId(), m_xTableModel, SAL_WARN, and svt::table::ScrollbarShowNever.
|
override |
Definition at line 108 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN, TableCell, x, and y.
|
overridevirtual |
Definition at line 723 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN, and i.
|
overridevirtual |
Definition at line 156 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN_VOID, impl_checkColumnIndex_throw(), and impl_checkRowIndex_throw().
|
overridevirtual |
Definition at line 739 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN.
|
private |
Definition at line 94 of file svtxgridcontrol.cxx.
References svt::table::TableControl::GetColumnCount().
Referenced by goToCell().
|
private |
Definition at line 101 of file svtxgridcontrol.cxx.
References svt::table::TableControl::GetRowCount().
Referenced by deselectRow(), goToCell(), and selectRow().
|
private |
Definition at line 432 of file svtxgridcontrol.cxx.
References m_bTableModelInitCompleted, and m_xTableModel.
Referenced by setProperty(), and SetWindow().
|
private |
Definition at line 884 of file svtxgridcontrol.cxx.
References DBG_UNHANDLED_EXCEPTION, ENSURE_OR_RETURN_VOID, Exception, m_xTableModel, and SAL_WARN.
Referenced by setProperty().
|
private |
Definition at line 864 of file svtxgridcontrol.cxx.
References aEvent, ENSURE_OR_RETURN_VOID, i, and m_aSelectionListeners.
Referenced by ProcessWindowEvent().
|
overridevirtual |
Definition at line 750 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN, and index.
|
overrideprivatevirtual |
Definition at line 770 of file svtxgridcontrol.cxx.
References Any, ENSURE_OR_RETURN_VOID, VclSimpleEvent::GetId(), ImplCallItemListeners(), m_aSelectionListeners, and VCLXWindow::ProcessWindowEvent().
|
overridevirtual |
Definition at line 176 of file svtxgridcontrol.cxx.
References m_aSelectionListeners.
|
overridevirtual |
Definition at line 627 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN_VOID.
|
overridevirtual |
Definition at line 598 of file svtxgridcontrol.cxx.
References m_xTableModel.
|
overridevirtual |
Definition at line 606 of file svtxgridcontrol.cxx.
References m_xTableModel.
|
overridevirtual |
Definition at line 688 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN_VOID.
|
overridevirtual |
Definition at line 675 of file svtxgridcontrol.cxx.
References ENSURE_OR_RETURN_VOID, and impl_checkRowIndex_throw().
|
override |
Definition at line 849 of file svtxgridcontrol.cxx.
References m_xTableModel.
|
override |
Definition at line 182 of file svtxgridcontrol.cxx.
References BASEPROPERTY_ACTIVE_SEL_BACKGROUND_COLOR, BASEPROPERTY_ACTIVE_SEL_TEXT_COLOR, BASEPROPERTY_BACKGROUNDCOLOR, BASEPROPERTY_COLUMN_HEADER_HEIGHT, BASEPROPERTY_GRID_COLUMNMODEL, BASEPROPERTY_GRID_DATAMODEL, BASEPROPERTY_GRID_HEADER_BACKGROUND, BASEPROPERTY_GRID_HEADER_TEXT_COLOR, BASEPROPERTY_GRID_LINE_COLOR, BASEPROPERTY_GRID_ROW_BACKGROUND_COLORS, BASEPROPERTY_GRID_SELECTIONMODE, BASEPROPERTY_GRID_SHOWCOLUMNHEADER, BASEPROPERTY_GRID_SHOWROWHEADER, BASEPROPERTY_HSCROLL, BASEPROPERTY_INACTIVE_SEL_BACKGROUND_COLOR, BASEPROPERTY_INACTIVE_SEL_TEXT_COLOR, BASEPROPERTY_ROW_HEADER_WIDTH, BASEPROPERTY_ROW_HEIGHT, BASEPROPERTY_TEXTCOLOR, BASEPROPERTY_TEXTLINECOLOR, BASEPROPERTY_USE_GRID_LINES, BASEPROPERTY_VERTICALALIGN, BASEPROPERTY_VSCROLL, ENSURE_OR_RETURN_VOID, GetPropertyId(), impl_checkTableModelInit(), impl_updateColumnsFromModel_nothrow(), m_xTableModel, SAL_WARN, svt::table::ScrollbarShowAlways, svt::table::ScrollbarShowSmart, and VCLXWindow::setProperty().
|
overrideprivatevirtual |
Definition at line 87 of file svtxgridcontrol.cxx.
References impl_checkTableModelInit().
|
private |
Definition at line 657 of file toolkit/inc/awt/vclxwindows.hxx.
Referenced by addSelectionListener(), dispose(), ImplCallItemListeners(), ProcessWindowEvent(), and removeSelectionListener().
|
private |
Definition at line 656 of file toolkit/inc/awt/vclxwindows.hxx.
Referenced by impl_checkTableModelInit().
|
private |
Definition at line 655 of file toolkit/inc/awt/vclxwindows.hxx.
Referenced by dataChanged(), elementInserted(), elementRemoved(), getProperty(), impl_checkTableModelInit(), impl_updateColumnsFromModel_nothrow(), rowsInserted(), rowsRemoved(), setEnable(), and setProperty().