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

#include <uiobject.hxx>

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

Public Member Functions

 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 OUString get_type () const override
 Returns the type of the UIObject. More...
 
virtual std::unique_ptr< UIObjectget_visible_child (const OUString &rID)
 
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 ()
 

Static Public Member Functions

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< SvTreeListBoxmxTreeList
 

Additional Inherited Members

Detailed Description

Definition at line 440 of file uiobject.hxx.

Constructor & Destructor Documentation

TreeListUIObject::TreeListUIObject ( const VclPtr< SvTreeListBox > &  xTreeList)

Definition at line 16 of file treelist/uiobject.cxx.

Referenced by create().

Member Function Documentation

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

Definition at line 89 of file treelist/uiobject.cxx.

References assert(), and TreeListUIObject().

Referenced by SvTreeListBox::GetUITestFactory().

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

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

Reimplemented from WindowUIObject.

Definition at line 46 of file treelist/uiobject.cxx.

References WindowUIObject::execute().

std::unique_ptr< UIObject > TreeListUIObject::get_child ( const OUString &  rID)
overridevirtual

Returns the child of the current UIObject with the corresponding id.

If no object with that id is being found returns a nullptr.

Reimplemented from WindowUIObject.

Definition at line 56 of file treelist/uiobject.cxx.

References SvTreeListBox::GetEntry(), and mxTreeList.

std::set< OUString > TreeListUIObject::get_children ( ) const
overridevirtual

Returns a set containing all descendants of the object.

Reimplemented from WindowUIObject.

Definition at line 71 of file treelist/uiobject.cxx.

References aChildren, SvTreeListBox::GetLevelChildCount(), i, and mxTreeList.

OUString TreeListUIObject::get_name ( ) const
overrideprivatevirtual

Reimplemented from WindowUIObject.

Definition at line 84 of file treelist/uiobject.cxx.

StringMap TreeListUIObject::get_state ( )
overridevirtual

Member Data Documentation

VclPtr<SvTreeListBox> TreeListUIObject::mxTreeList
private

Definition at line 460 of file uiobject.hxx.

Referenced by get_child(), get_children(), and get_state().


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