LibreOffice Module toolkit (master) 1
|
#include <vclxspinbutton.hxx>
Public Member Functions | |
VCLXSpinButton () | |
Public Member Functions inherited from VCLXWindow | |
VCLXWindow (bool bWithDefaultProps=false) | |
virtual | ~VCLXWindow () override |
virtual void | SetWindow (const VclPtr< vcl::Window > &pWindow) |
template<class derived_type > | |
derived_type * | GetAs () const |
template<class derived_type > | |
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 |
Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) 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 |
Private Member Functions | |
virtual | ~VCLXSpinButton () override |
void SAL_CALL | dispose () override |
virtual void SAL_CALL | addAdjustmentListener (const css::uno::Reference< css::awt::XAdjustmentListener > &listener) override |
virtual void SAL_CALL | removeAdjustmentListener (const css::uno::Reference< css::awt::XAdjustmentListener > &listener) override |
virtual void SAL_CALL | setValue (sal_Int32 n) override |
virtual void SAL_CALL | setValues (sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue) override |
virtual sal_Int32 SAL_CALL | getValue () override |
virtual void SAL_CALL | setMinimum (sal_Int32 minValue) override |
virtual void SAL_CALL | setMaximum (sal_Int32 maxValue) override |
virtual sal_Int32 SAL_CALL | getMinimum () override |
virtual sal_Int32 SAL_CALL | getMaximum () override |
virtual void SAL_CALL | setSpinIncrement (sal_Int32 spinIncrement) override |
virtual sal_Int32 SAL_CALL | getSpinIncrement () override |
virtual void SAL_CALL | setOrientation (sal_Int32 orientation) override |
virtual sal_Int32 SAL_CALL | getOrientation () override |
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 |
void | ProcessWindowEvent (const VclWindowEvent &_rVclWindowEvent) override |
VCLXSpinButton (const VCLXSpinButton &)=delete | |
VCLXSpinButton & | operator= (const VCLXSpinButton &)=delete |
Private Attributes | |
AdjustmentListenerMultiplexer | maAdjustmentListeners |
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) |
helper method to set a window handle into a SystemParentData struct More... | |
::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) |
executes the given callback asynchronously More... | |
Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
~ImplHelper1 () SAL_NOEXCEPT | |
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 37 of file vclxspinbutton.hxx.
toolkit::VCLXSpinButton::VCLXSpinButton | ( | ) |
Definition at line 51 of file vclxspinbutton.cxx.
|
overrideprivatevirtual |
Definition at line 57 of file vclxspinbutton.cxx.
|
privatedelete |
|
overrideprivatevirtual |
Definition at line 82 of file vclxspinbutton.cxx.
References maAdjustmentListeners.
|
overrideprivate |
Definition at line 68 of file vclxspinbutton.cxx.
References VCLXWindow::dispose().
|
overrideprivatevirtual |
Definition at line 164 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow().
Referenced by getProperty().
|
overrideprivatevirtual |
Definition at line 158 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow().
Referenced by getProperty().
|
overrideprivatevirtual |
Definition at line 190 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow(), and WB_HSCROLL.
|
overrideprivatevirtual |
Definition at line 280 of file vclxspinbutton.cxx.
References Any, BASEPROPERTY_BACKGROUNDCOLOR, BASEPROPERTY_ORIENTATION, BASEPROPERTY_SPININCREMENT, BASEPROPERTY_SPINVALUE, BASEPROPERTY_SPINVALUE_MAX, BASEPROPERTY_SPINVALUE_MIN, toolkit::getButtonLikeFaceColor(), getMaximum(), getMinimum(), VCLXWindow::getProperty(), GetPropertyId(), getSpinIncrement(), getValue(), VCLXWindow::GetWindow(), nPropertyId, and WB_HSCROLL.
|
overrideprivatevirtual |
Definition at line 176 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow().
Referenced by getProperty().
|
overrideprivatevirtual |
Definition at line 140 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow().
Referenced by getProperty().
|
privatedelete |
|
overrideprivatevirtual |
Reimplemented from VCLXWindow.
Definition at line 198 of file vclxspinbutton.cxx.
References aEvent, VclSimpleEvent::GetId(), maAdjustmentListeners, and VCLXWindow::ProcessWindowEvent().
|
overrideprivatevirtual |
Definition at line 89 of file vclxspinbutton.cxx.
References maAdjustmentListeners.
|
overrideprivatevirtual |
Definition at line 152 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow().
Referenced by setProperty(), and setValues().
|
overrideprivatevirtual |
Definition at line 146 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow().
Referenced by setProperty(), and setValues().
|
overrideprivatevirtual |
Definition at line 182 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow(), and WB_HSCROLL.
|
overrideprivatevirtual |
Definition at line 230 of file vclxspinbutton.cxx.
References BASEPROPERTY_BACKGROUNDCOLOR, BASEPROPERTY_ORIENTATION, BASEPROPERTY_SPININCREMENT, BASEPROPERTY_SPINVALUE, BASEPROPERTY_SPINVALUE_MAX, BASEPROPERTY_SPINVALUE_MIN, GetPropertyId(), VCLXWindow::GetWindow(), nPropertyId, nValue, toolkit::setButtonLikeFaceColor(), setMaximum(), setMinimum(), VCLXWindow::setProperty(), setSpinIncrement(), setValue(), Value, and WB_HSCROLL.
|
overrideprivatevirtual |
Definition at line 170 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow().
Referenced by setProperty().
|
overrideprivatevirtual |
Definition at line 124 of file vclxspinbutton.cxx.
References VCLXWindow::GetWindow(), and n.
Referenced by setProperty(), and setValues().
|
overrideprivatevirtual |
Definition at line 130 of file vclxspinbutton.cxx.
References setMaximum(), setMinimum(), and setValue().
|
private |
Definition at line 41 of file vclxspinbutton.hxx.
Referenced by addAdjustmentListener(), ProcessWindowEvent(), and removeAdjustmentListener().