LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SpinFieldUIObject Class Referencefinal

#include <uiobject.hxx>

Inheritance diagram for SpinFieldUIObject:
[legend]
Collaboration diagram for SpinFieldUIObject:
[legend]

Public Member Functions

 SpinFieldUIObject (const VclPtr< SpinField > &xEdit)
 
virtual ~SpinFieldUIObject () override
 
virtual void execute (const OUString &rAction, const StringMap &rParameters) override
 Executes an action on the wrapped UI object, possibly with some additional parameters. More...
 
virtual StringMap get_state () override
 Returns the state of the wrapped UI object as a string key value map. More...
 
virtual OUString get_action (VclEventId nEvent) const override
 Gets the corresponding Action string for the event. More...
 
- Public Member Functions inherited from EditUIObject
 EditUIObject (const VclPtr< Edit > &xEdit)
 
virtual ~EditUIObject () override
 
- Public Member Functions inherited from WindowUIObject
 WindowUIObject (const VclPtr< vcl::Window > &xWindow)
 
virtual OUString get_type () const override
 Returns the type of the UIObject. More...
 
virtual std::unique_ptr< UIObjectget_child (const OUString &rID) override
 Returns the child of the current UIObject with the corresponding id. More...
 
virtual std::set< OUString > get_children () const override
 Returns a set containing all descendants of the object. More...
 
virtual OUString dumpState () const override
 Currently an internal method to dump the state of the current UIObject as represented by get_state(). More...
 
virtual OUString dumpHierarchy () const override
 Currently an internal method to dump the parent-child relationship starting from the current top focus window. More...
 
- Public Member Functions inherited from UIObject
 UIObject ()=default
 
virtual ~UIObject ()
 

Static Public Member Functions

static std::unique_ptr< UIObjectcreate (vcl::Window *pWindow)
 
- Static Public Member Functions inherited from EditUIObject
static std::unique_ptr< UIObjectcreate (vcl::Window *pWindow)
 
- Static Public Member Functions inherited from WindowUIObject
static std::unique_ptr< UIObjectcreate (vcl::Window *pWindow)
 

Private Member Functions

virtual OUString get_name () const override
 

Private Attributes

VclPtr< SpinFieldmxSpinField
 

Additional Inherited Members

Detailed Description

Definition at line 362 of file uiobject.hxx.

Constructor & Destructor Documentation

SpinFieldUIObject::SpinFieldUIObject ( const VclPtr< SpinField > &  xEdit)

Definition at line 1206 of file uitest/uiobject.cxx.

Referenced by create().

SpinFieldUIObject::~SpinFieldUIObject ( )
overridevirtual

Definition at line 1212 of file uitest/uiobject.cxx.

Member Function Documentation

std::unique_ptr< UIObject > SpinFieldUIObject::create ( vcl::Window pWindow)
static

Definition at line 1278 of file uitest/uiobject.cxx.

References SpinFieldUIObject().

Referenced by SpinField::GetUITestFactory().

void SpinFieldUIObject::execute ( const OUString &  rAction,
const StringMap rParameters 
)
overridevirtual

Executes an action on the wrapped UI object, possibly with some additional parameters.

Reimplemented from EditUIObject.

Definition at line 1216 of file uitest/uiobject.cxx.

References SpinField::Down(), EditUIObject::execute(), Edit::GetSubEdit(), mxSpinField, and SpinField::Up().

OUString SpinFieldUIObject::get_action ( VclEventId  nEvent) const
overridevirtual

Gets the corresponding Action string for the event.

Reimplemented from EditUIObject.

Definition at line 1247 of file uitest/uiobject.cxx.

References WindowUIObject::get_action(), vcl::Window::get_id(), mxSpinField, SpinfieldDown, and SpinfieldUp.

OUString SpinFieldUIObject::get_name ( ) const
overrideprivatevirtual

Reimplemented from EditUIObject.

Definition at line 1273 of file uitest/uiobject.cxx.

StringMap SpinFieldUIObject::get_state ( )
overridevirtual

Returns the state of the wrapped UI object as a string key value map.

Reimplemented from EditUIObject.

Definition at line 1240 of file uitest/uiobject.cxx.

References EditUIObject::get_state().

Member Data Documentation

VclPtr<SpinField> SpinFieldUIObject::mxSpinField
private

Definition at line 364 of file uiobject.hxx.

Referenced by execute(), and get_action().


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