diff options
author | Frank Schönheit <fs@openoffice.org> | 2000-11-09 06:36:15 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2000-11-09 06:36:15 +0000 |
commit | 424427e8cfda1f7508cc87a62c0bf5e09a4d828a (patch) | |
tree | f1b05721846dc75e470909936a5fe77962499456 /dbaccess/source/ui/browser/dbtreeview.hxx | |
parent | now the controller is responsible for populating the tree model (diff) | |
download | core-424427e8cfda1f7508cc87a62c0bf5e09a4d828a.tar.gz core-424427e8cfda1f7508cc87a62c0bf5e09a4d828a.zip |
+getListBox / +PreExpandHandler
Diffstat (limited to 'dbaccess/source/ui/browser/dbtreeview.hxx')
-rw-r--r-- | dbaccess/source/ui/browser/dbtreeview.hxx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/dbaccess/source/ui/browser/dbtreeview.hxx b/dbaccess/source/ui/browser/dbtreeview.hxx index babd4c97eb0d..38b3a5fca09f 100644 --- a/dbaccess/source/ui/browser/dbtreeview.hxx +++ b/dbaccess/source/ui/browser/dbtreeview.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dbtreeview.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: oj $ $Date: 2000-10-26 14:41:11 $ + * last change: $Author: fs $ $Date: 2000-11-09 07:36:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,6 +66,7 @@ #include <vcl/window.hxx> #endif +class SvTreeListBox; namespace dbaui { class DBTreeListBox; @@ -86,9 +87,19 @@ namespace dbaui DBTreeView( Window* pParent, WinBits nBits ); ~DBTreeView(); - DBTreeListModel* getModel(); + /** sets a handler which is called when an list box entry is to be expanded. + <p>When calling the link, the parameter is an SvLBoxEntry marking the entry to be expanded. + </p> + */ + void SetPreExpandHandler(const Link& _rHdl); + /// gets the currently set NodeExpansionHandler + Link GetPreExpandHandler() const; + + DBTreeListModel* getModel() const; void setModel(DBTreeListModel* _pTreeModel); void setSelectHdl(const Link& _rHdl); + + SvTreeListBox* getListBox() const; }; } |