summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-10 15:48:16 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-10 15:48:16 +0100
commita47a228eb5e1173e519d9aee9dc674875cb32116 (patch)
tree92dbdf0ebb24cc81c3d764b95d1443d315d1f93f
parentgridsort: XGridDataModel: moved modifying functionality into XMutableGridData... (diff)
downloadcore-a47a228eb5e1173e519d9aee9dc674875cb32116.tar.gz
core-a47a228eb5e1173e519d9aee9dc674875cb32116.zip
gridsort: removed XGridColumn::setIndex - don't really want to have something like this at the public API
-rw-r--r--offapi/com/sun/star/awt/grid/XGridColumn.idl16
1 files changed, 8 insertions, 8 deletions
diff --git a/offapi/com/sun/star/awt/grid/XGridColumn.idl b/offapi/com/sun/star/awt/grid/XGridColumn.idl
index f654ca9ba8bf..fea2cde7b6d2 100644
--- a/offapi/com/sun/star/awt/grid/XGridColumn.idl
+++ b/offapi/com/sun/star/awt/grid/XGridColumn.idl
@@ -76,11 +76,17 @@ interface XGridColumn
/** A title is displayed in the colum header row if <method>UnoControlGridModel::ShowRowHeader</method> is set to <true/>**/
[attribute] string Title;
+ /** denotes the index of the column within the grid column model it belongs to
+
+ <p>If the column is not yet part of a column model, <code>Index</code> is -1.</p>
+ */
+ [attribute, readonly] long Index;
+
/** Adds a listener for the <type>GridColumnEvent</type> posted after the grid changes.
@param Listener
the listener to add.
*/
- [oneway] void addGridColumnListener( [in] XGridColumnListener listener);
+ void addGridColumnListener( [in] XGridColumnListener listener);
//-------------------------------------------------------------------------
@@ -88,13 +94,7 @@ interface XGridColumn
@param Listener
the listener to remove.
*/
- [oneway] void removeGridColumnListener( [in] XGridColumnListener listener);
-
- /**Sets column index
- @param index
- index, which is the index of the column in the column array of the column model
- */
- void setIndex( [in] long index );
+ void removeGridColumnListener( [in] XGridColumnListener listener);
};
//=============================================================================