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

#include <uiobject.hxx>

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

Public Member Functions

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

Static Public Member Functions

static std::unique_ptr< UIObjectcreate (vcl::Window *pWindow)
 
- Static Public Member Functions inherited from TreeListUIObject
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
 

Additional Inherited Members

virtual OUString get_name () const override
 
virtual OUString get_name () const
 
- Protected Attributes inherited from TreeListUIObject
VclPtr< SvTreeListBoxmxTreeList
 

Detailed Description

Definition at line 515 of file uiobject.hxx.

Constructor & Destructor Documentation

◆ IconViewUIObject()

IconViewUIObject::IconViewUIObject ( const VclPtr< SvTreeListBox > &  xIconView)

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

Referenced by create().

Member Function Documentation

◆ create()

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

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

References IconViewUIObject().

Referenced by IconView::GetUITestFactory().

◆ get_name()

OUString IconViewUIObject::get_name ( ) const
overrideprivatevirtual

Reimplemented from TreeListUIObject.

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

◆ get_state()

StringMap IconViewUIObject::get_state ( )
overridevirtual

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

Reimplemented from TreeListUIObject.

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

References aMap, SvListView::FirstSelected(), TreeListUIObject::get_state(), SvTreeList::GetAbsPos(), SvTreeListBox::GetModel(), SvTreeListEntry::GetUserData(), and TreeListUIObject::mxTreeList.


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