LibreOffice Module dbaccess (master) 1
|
#include <ColumnPeer.hxx>
Public Member Functions | |
OColumnPeer (vcl::Window *_pParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext) | |
void | setColumn (const css::uno::Reference< css::beans::XPropertySet > &_xColumn) |
void | setConnection (const css::uno::Reference< css::sdbc::XConnection > &_xCon) |
void | setEditWidth (sal_Int32 _nWidth) |
virtual void SAL_CALL | setProperty (const OUString &PropertyName, const css::uno::Any &Value) override |
virtual css::uno::Any SAL_CALL | getProperty (const OUString &PropertyName) override |
Public Member Functions inherited from VCLXWindow | |
VCLXWindow (bool bWithDefaultProps=false) | |
virtual | ~VCLXWindow () override |
virtual void | SetWindow (const VclPtr< vcl::Window > &pWindow) |
derived_type * | GetAs () const |
derived_type * | GetAsDynamic () const |
vcl::Window * | GetWindow () const |
void | suspendVclEventListening () |
void | resumeVclEventListening () |
void | notifyWindowRemoved (vcl::Window const &_rWindow) |
bool | IsDisposed () const |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
void SAL_CALL | dispose () override |
void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &rxListener) override |
void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &rxListener) override |
void SAL_CALL | setPosSize (sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags) override |
css::awt::Rectangle SAL_CALL | getPosSize () override |
void SAL_CALL | setVisible (sal_Bool Visible) override |
void SAL_CALL | setEnable (sal_Bool Enable) override |
void SAL_CALL | setFocus () override |
void SAL_CALL | addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &rrxListener) override |
void SAL_CALL | removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &rrxListener) override |
void SAL_CALL | addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &rrxListener) override |
void SAL_CALL | removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &rrxListener) override |
void SAL_CALL | addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &rrxListener) override |
void SAL_CALL | removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &rrxListener) override |
void SAL_CALL | addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &rrxListener) override |
void SAL_CALL | removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &rrxListener) override |
void SAL_CALL | addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &rrxListener) override |
void SAL_CALL | removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &rrxListener) override |
void SAL_CALL | addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &rrxListener) override |
void SAL_CALL | removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &rrxListener) override |
css::uno::Reference< css::awt::XToolkit > SAL_CALL | getToolkit () override |
void SAL_CALL | setPointer (const css::uno::Reference< css::awt::XPointer > &Pointer) override |
void SAL_CALL | setBackground (sal_Int32 Color) override |
void SAL_CALL | invalidate (sal_Int16 Flags) override |
void SAL_CALL | invalidateRect (const css::awt::Rectangle &Rect, sal_Int16 Flags) override |
sal_Bool SAL_CALL | isChild (const css::uno::Reference< css::awt::XWindowPeer > &Peer) override |
void SAL_CALL | setDesignMode (sal_Bool bOn) override |
sal_Bool SAL_CALL | isDesignMode () override |
void SAL_CALL | enableClipSiblings (sal_Bool bClip) override |
void SAL_CALL | setForeground (sal_Int32 Color) override |
void SAL_CALL | setControlFont (const css::awt::FontDescriptor &aFont) override |
void SAL_CALL | getStyles (sal_Int16 nType, css::awt::FontDescriptor &Font, sal_Int32 &ForegroundColor, sal_Int32 &BackgroundColor) override |
void SAL_CALL | setProperty (const OUString &PropertyName, const css::uno::Any &Value) override |
css::uno::Any SAL_CALL | getProperty (const OUString &PropertyName) override |
css::awt::Size SAL_CALL | getMinimumSize () override |
css::awt::Size SAL_CALL | getPreferredSize () override |
css::awt::Size SAL_CALL | calcAdjustedSize (const css::awt::Size &aNewSize) override |
sal_Bool SAL_CALL | setGraphics (const css::uno::Reference< css::awt::XGraphics > &aDevice) override |
css::uno::Reference< css::awt::XGraphics > SAL_CALL | getGraphics () override |
css::awt::Size SAL_CALL | getSize () override |
void SAL_CALL | draw (sal_Int32 nX, sal_Int32 nY) override |
void SAL_CALL | setZoom (float fZoomX, float fZoomY) override |
css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () override |
void SAL_CALL | addDockableWindowListener (const css::uno::Reference< css::awt::XDockableWindowListener > &xListener) override |
void SAL_CALL | removeDockableWindowListener (const css::uno::Reference< css::awt::XDockableWindowListener > &xListener) override |
void SAL_CALL | enableDocking (sal_Bool bEnable) override |
sal_Bool SAL_CALL | isFloating () override |
void SAL_CALL | setFloatingMode (sal_Bool bFloating) override |
void SAL_CALL | lock () override |
void SAL_CALL | unlock () override |
sal_Bool SAL_CALL | isLocked () override |
void SAL_CALL | startPopupMode (const css::awt::Rectangle &WindowRect) override |
sal_Bool SAL_CALL | isInPopupMode () override |
void SAL_CALL | setOutputSize (const css::awt::Size &aSize) override |
css::awt::Size SAL_CALL | getOutputSize () override |
sal_Bool SAL_CALL | isVisible () override |
sal_Bool SAL_CALL | isActive () override |
sal_Bool SAL_CALL | isEnabled () override |
sal_Bool SAL_CALL | hasFocus () override |
css::uno::Sequence< css::beans::Property > SAL_CALL | getProperties () override |
css::beans::Property SAL_CALL | getPropertyByName (const OUString &aName) override |
sal_Bool SAL_CALL | hasPropertyByName (const OUString &Name) override |
virtual css::uno::Reference< css::awt::XStyleSettings > SAL_CALL | getStyleSettings () override |
Private Attributes | |
OFieldDescription * | m_pActFieldDescr |
css::uno::Reference< css::beans::XPropertySet > | m_xColumn |
Additional Inherited Members | |
Public Types inherited from VCLXWindow | |
typedef ::std::function< void()> | Callback |
Protected Member Functions inherited from VCLXWindow | |
Size | ImplCalcWindowSize (const Size &rOutSz) const |
DECL_DLLPRIVATE_LINK (WindowEventListener, VclWindowEvent &, void) | |
virtual void | ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) |
virtual css::uno::Reference< css::accessibility::XAccessibleContext > | CreateAccessibleContext () |
void | SetSynthesizingVCLEvent (bool b) |
bool | IsSynthesizingVCLEvent () const |
void | SetSystemParent_Impl (const css::uno::Any &rHandle) |
::toolkit::IAccessibleFactory & | getAccessibleFactory () |
virtual void | GetPropertyIds (std::vector< sal_uInt16 > &aIds) |
ListenerMultiplexerBase< css::awt::XVclContainerListener > & | GetContainerListeners () |
ListenerMultiplexerBase< css::awt::XTopWindowListener > & | GetTopWindowListeners () |
void | ImplExecuteAsyncWithoutSolarLock (const Callback &i_callback) |
Static Protected Member Functions inherited from VCLXWindow | |
static void | PushPropertyIds (std::vector< sal_uInt16 > &aIds, int nFirstId,...) |
static void | ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds, bool bWithDefaults=false) |
Definition at line 29 of file ColumnPeer.hxx.
dbaui::OColumnPeer::OColumnPeer | ( | vcl::Window * | _pParent, |
const css::uno::Reference< css::uno::XComponentContext > & | _rxContext | ||
) |
Definition at line 34 of file ColumnPeer.cxx.
References m_refCount.
|
overridevirtual |
Definition at line 129 of file ColumnPeer.cxx.
References Any, VCLXWindow::getProperty(), m_xColumn, PROPERTY_ACTIVE_CONNECTION(), and PROPERTY_COLUMN().
void dbaui::OColumnPeer::setColumn | ( | const css::uno::Reference< css::beans::XPropertySet > & | _xColumn | ) |
Definition at line 54 of file ColumnPeer.cxx.
References bAutoIncrement, dbaui::OFieldDescControl::DisplayData(), Exception, dbaui::OFieldDescription::FillFromTypeInfo(), dbaui::OColumnControlWindow::getDefaultTyp(), dbaui::OColumnControlWindow::getTypeInfo(), dbaui::getTypeInfoFromType(), m_pActFieldDescr, m_xColumn, nType, PROPERTY_ISAUTOINCREMENT(), PROPERTY_PRECISION(), PROPERTY_SCALE(), PROPERTY_TYPE(), and PROPERTY_TYPENAME().
Referenced by setProperty().
void dbaui::OColumnPeer::setConnection | ( | const css::uno::Reference< css::sdbc::XConnection > & | _xCon | ) |
Definition at line 103 of file ColumnPeer.cxx.
Referenced by setProperty().
void dbaui::OColumnPeer::setEditWidth | ( | sal_Int32 | _nWidth | ) |
Definition at line 46 of file ColumnPeer.cxx.
|
overridevirtual |
Definition at line 111 of file ColumnPeer.cxx.
References PROPERTY_ACTIVE_CONNECTION(), PROPERTY_COLUMN(), setColumn(), setConnection(), VCLXWindow::setProperty(), and Value.
|
private |
Definition at line 31 of file ColumnPeer.hxx.
Referenced by setColumn().
|
private |
Definition at line 32 of file ColumnPeer.hxx.
Referenced by getProperty(), and setColumn().