LibreOffice Module dbaccess (master) 1
|
#include <TableWindowData.hxx>
Public Member Functions | |
OTableWindowData (const css::uno::Reference< css::beans::XPropertySet > &_xTable, OUString _sComposedName, OUString strTableName, OUString sWinName) | |
virtual | ~OTableWindowData () override |
bool | init (const css::uno::Reference< css::sdbc::XConnection > &_xConnection, bool _bAllowQueries) |
late constructor More... | |
const OUString & | GetComposedName () const |
const OUString & | GetTableName () const |
const OUString & | GetWinName () const |
const Point & | GetPosition () const |
const Size & | GetSize () const |
bool | IsShowAll () const |
bool | isQuery () const |
bool | isValid () const |
bool | HasPosition () const |
bool | HasSize () const |
void | SetWinName (const OUString &rWinName) |
void | SetPosition (const Point &rPos) |
void | SetSize (const Size &rSize) |
void | ShowAll (bool bAll) |
css::uno::Reference< css::beans::XPropertySet > | getTable () const |
css::uno::Reference< css::container::XIndexAccess > | getKeys () const |
css::uno::Reference< css::container::XNameAccess > | getColumns () const |
virtual void | _disposing (const css::lang::EventObject &_rSource) override |
Private Member Functions | |
void | listen () |
Private Attributes | |
mutable::osl::Mutex | m_aMutex |
css::uno::Reference< css::beans::XPropertySet > | m_xTable |
css::uno::Reference< css::container::XIndexAccess > | m_xKeys |
css::uno::Reference< css::container::XNameAccess > | m_xColumns |
OUString | m_aTableName |
OUString | m_aWinName |
OUString | m_sComposedName |
Point | m_aPosition |
Size | m_aSize |
bool | m_bShowAll |
bool | m_bIsQuery |
bool | m_bIsValid |
Additional Inherited Members | |
Protected Member Functions inherited from utl::OEventListenerAdapter | |
OEventListenerAdapter () | |
virtual | ~OEventListenerAdapter () |
void | startComponentListening (const css::uno::Reference< css::lang::XComponent > &_rxComp) |
void | stopComponentListening (const css::uno::Reference< css::lang::XComponent > &_rxComp) |
void | stopAllComponentListening () |
virtual void | _disposing (const css::lang::EventObject &_rSource)=0 |
Definition at line 32 of file TableWindowData.hxx.
|
explicit |
Definition at line 40 of file TableWindowData.cxx.
References listen(), m_aSize, m_aTableName, and m_aWinName.
|
overridevirtual |
Definition at line 60 of file TableWindowData.cxx.
References m_xTable, and utl::OEventListenerAdapter::stopComponentListening().
|
overridevirtual |
Implements utl::OEventListenerAdapter.
Definition at line 77 of file TableWindowData.cxx.
References m_aMutex, m_xColumns, m_xKeys, and m_xTable.
|
inline |
Definition at line 86 of file TableWindowData.hxx.
References m_aMutex, and m_xColumns.
|
inline |
Definition at line 68 of file TableWindowData.hxx.
References m_sComposedName.
|
inline |
Definition at line 85 of file TableWindowData.hxx.
|
inline |
Definition at line 71 of file TableWindowData.hxx.
References m_aPosition.
|
inline |
Definition at line 72 of file TableWindowData.hxx.
References m_aSize.
|
inline |
Definition at line 84 of file TableWindowData.hxx.
|
inline |
Definition at line 69 of file TableWindowData.hxx.
References m_aTableName.
|
inline |
Definition at line 70 of file TableWindowData.hxx.
References m_aWinName.
Referenced by dbaui::OQueryTableWindowData::GetAliasName().
bool OTableWindowData::HasPosition | ( | ) | const |
Definition at line 67 of file TableWindowData.cxx.
References m_aPosition, Point::X(), and Point::Y().
bool OTableWindowData::HasSize | ( | ) | const |
Definition at line 72 of file TableWindowData.cxx.
References Size::Height(), m_aSize, and Size::Width().
bool OTableWindowData::init | ( | const css::uno::Reference< css::sdbc::XConnection > & | _xConnection, |
bool | _bAllowQueries | ||
) |
late constructor
_xConnection | |
_bAllowQueries | when true, queries are allowed |
Definition at line 86 of file TableWindowData.cxx.
References listen(), m_aMutex, m_bIsQuery, m_bIsValid, m_sComposedName, m_xColumns, and m_xTable.
|
inline |
Definition at line 74 of file TableWindowData.hxx.
References m_bIsQuery.
|
inline |
Definition at line 73 of file TableWindowData.hxx.
References m_bShowAll.
|
inline |
Definition at line 75 of file TableWindowData.hxx.
References m_bIsValid.
|
private |
Definition at line 116 of file TableWindowData.cxx.
References m_xColumns, m_xKeys, m_xTable, and utl::OEventListenerAdapter::startComponentListening().
Referenced by init(), and OTableWindowData().
|
inline |
Definition at line 80 of file TableWindowData.hxx.
References m_aPosition.
|
inline |
Definition at line 81 of file TableWindowData.hxx.
References m_aSize.
|
inline |
Definition at line 79 of file TableWindowData.hxx.
References m_aWinName.
Referenced by dbaui::OQueryTableWindowData::SetAliasName().
|
inline |
Definition at line 82 of file TableWindowData.hxx.
References m_bShowAll.
|
private |
Definition at line 34 of file TableWindowData.hxx.
Referenced by _disposing(), getColumns(), getKeys(), getTable(), and init().
|
private |
Definition at line 46 of file TableWindowData.hxx.
Referenced by GetPosition(), HasPosition(), and SetPosition().
|
private |
Definition at line 47 of file TableWindowData.hxx.
|
private |
Definition at line 43 of file TableWindowData.hxx.
Referenced by GetTableName(), and OTableWindowData().
|
private |
Definition at line 44 of file TableWindowData.hxx.
Referenced by GetWinName(), OTableWindowData(), and SetWinName().
|
private |
Definition at line 49 of file TableWindowData.hxx.
|
private |
Definition at line 50 of file TableWindowData.hxx.
|
private |
Definition at line 48 of file TableWindowData.hxx.
Referenced by IsShowAll(), and ShowAll().
|
private |
Definition at line 45 of file TableWindowData.hxx.
Referenced by GetComposedName(), and init().
|
private |
Definition at line 41 of file TableWindowData.hxx.
Referenced by _disposing(), getColumns(), init(), and listen().
|
private |
Definition at line 40 of file TableWindowData.hxx.
Referenced by _disposing(), getKeys(), and listen().
|
private |
Definition at line 39 of file TableWindowData.hxx.
Referenced by _disposing(), getTable(), init(), listen(), and ~OTableWindowData().