summaryrefslogtreecommitdiff
path: root/include/vcl/uitest/uiobject.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-01-09 02:11:05 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:23 +0200
commit8eaa56046d0c072256ac0b0ca563006b83b79d6b (patch)
treec5a82ecec8b9c385ebfdb5a751eac105fb8ebabf /include/vcl/uitest/uiobject.hxx
parentd5acf9d60b02e3056a989b37820bc1b35c331be3 (diff)
uitest: more method documentations
Change-Id: I545a9e40f6fb1f07e685d6901d2158b83012331c
Diffstat (limited to 'include/vcl/uitest/uiobject.hxx')
-rw-r--r--include/vcl/uitest/uiobject.hxx27
1 files changed, 25 insertions, 2 deletions
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx
index 0df34afa5b33..fb7b63ef440f 100644
--- a/include/vcl/uitest/uiobject.hxx
+++ b/include/vcl/uitest/uiobject.hxx
@@ -37,23 +37,46 @@ public:
virtual ~UIObject();
/**
- * returns the state of the wrapped UI object
+ * Returns the state of the wrapped UI object as a
+ * string key value map.
*/
virtual StringMap get_state();
/**
- * executes an action on the wrapped UI object,
+ * Executes an action on the wrapped UI object,
* possibly with some additional parameters
*/
virtual void execute(const OUString& rAction,
const StringMap& rParameters);
+ /**
+ * Returns the type of the UIObject. Additional information might
+ * be available through UIObject::get_state().
+ *
+ */
virtual UIObjectType getType() const;
+ /**
+ * Returns the child of the current UIObject with the corresponding id.
+ * If no object with that id is being found returns a nullptr.
+ *
+ */
virtual std::unique_ptr<UIObject> get_child(const OUString& rID);
+ /**
+ * Currently an internal method to dump the state of the current UIObject as represented by get_state().
+ *
+ * This method should not be exposed to the outside world.
+ *
+ */
virtual void dumpState() const;
+ /**
+ * Currently an internal method to dump the parent-child relationship starting from the current top focus window.
+ *
+ * This method should not be exposed to the outside world.
+ *
+ */
virtual void dumpHierarchy() const;
};