summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt/grid/XGridColumnModel.idl
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-07 15:35:19 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-07 15:35:19 +0100
commit334a11ea8284cf6fa5af6dfbbb9d105418356ca6 (patch)
tree746cec8e6a4c9d562083a23d5c56a786585017d2 /offapi/com/sun/star/awt/grid/XGridColumnModel.idl
parentdcd6c8a87317a81beea35a067667165b9e0f051b (diff)
gridsort: document ownership of the grid columns
Diffstat (limited to 'offapi/com/sun/star/awt/grid/XGridColumnModel.idl')
-rw-r--r--offapi/com/sun/star/awt/grid/XGridColumnModel.idl7
1 files changed, 6 insertions, 1 deletions
diff --git a/offapi/com/sun/star/awt/grid/XGridColumnModel.idl b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl
index 49ad3cbc1f9a..0d654f048970 100644
--- a/offapi/com/sun/star/awt/grid/XGridColumnModel.idl
+++ b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl
@@ -84,6 +84,9 @@ interface XGridColumnModel
implementations of the <code>XGridColumnModel</code> interface the possibility to provide own column
implementations which extend the basic <type>GridColumn</type> type.</p>
+ <p>As soon as the column has been inserted into the model, the model takes ownership of it. This means when the
+ column is removed, or when the column model is disposed, the grid column is disposed as well.</p>
+
@param column
the column to add to the model.
@returns
@@ -95,7 +98,9 @@ interface XGridColumnModel
long addColumn( [in] XGridColumn column )
raises ( ::com::sun::star::lang::IllegalArgumentException );
- /** retrieves a column from the model
+ /** removes a column from the model
+
+ <p>The column object will be disposed upon removal.</p>
@param ColumnIndex
denotes the index of the column to remove