summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/awt')
-rw-r--r--offapi/com/sun/star/awt/grid/XGridDataListener.idl2
-rw-r--r--offapi/com/sun/star/awt/grid/XGridDataModel.idl12
-rwxr-xr-xoffapi/com/sun/star/awt/grid/XMutableGridDataModel.idl14
3 files changed, 15 insertions, 13 deletions
diff --git a/offapi/com/sun/star/awt/grid/XGridDataListener.idl b/offapi/com/sun/star/awt/grid/XGridDataListener.idl
index cfff84ea0..a03a60c27 100644
--- a/offapi/com/sun/star/awt/grid/XGridDataListener.idl
+++ b/offapi/com/sun/star/awt/grid/XGridDataListener.idl
@@ -66,7 +66,7 @@ interface XGridDataListener: com::sun::star::lang::XEventListener
/** is called when the title of one or more rows changed.
*/
- void rowTitleChanged( [in] GridDataEvent Event );
+ void rowHeadingChanged( [in] GridDataEvent Event );
};
//=============================================================================
diff --git a/offapi/com/sun/star/awt/grid/XGridDataModel.idl b/offapi/com/sun/star/awt/grid/XGridDataModel.idl
index 5b5f3190f..9b9ec840d 100644
--- a/offapi/com/sun/star/awt/grid/XGridDataModel.idl
+++ b/offapi/com/sun/star/awt/grid/XGridDataModel.idl
@@ -76,24 +76,26 @@ interface XGridDataModel
<p>At the moment, only string tool tips are supported.</p>
+ <p>If <VOID/> is returned here, the cell's content will be displayed as tip, but only if it does
+ not fit into the cell.</p>
+
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the column or row index do not denote a valid cell position.
*/
any getCellToolTip( [in] long Column, [in] long Row )
raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
- /** retrieves the title of the given row
+ /** retrieves the heading of a given row
<p>A grid control will usually paint a row's title in the header column of the respective row.</p>
- <p>If <VOID/> is returned here, the cell's content will be displayed as tip, but only if it does
- not fit into the cell.</p>
+ <p>At the moment, only strings are supported as row headings.</p>
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the given index does not denote a valid row.
*/
- string
- getRowTitle( [in] long RowIndex )
+ any
+ getRowHeading( [in] long RowIndex )
raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
};
diff --git a/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl
index 8764fa705..57409bbde 100755
--- a/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl
+++ b/offapi/com/sun/star/awt/grid/XMutableGridDataModel.idl
@@ -43,22 +43,22 @@ interface XMutableGridDataModel : XGridDataModel
{
/** adds a row to the model.
- @param Title
- is the header title of the row.
+ @param Heading
+ denotes the heading of the row.
@param Data
specifies the content of the row.
*/
- void addRow( [in] string Title, [in] sequence< any > Data );
+ void addRow( [in] any Heading, [in] sequence< any > Data );
/** adds multiple rows of data to the model.
- @param Titles
- specifies the header titles of the to-be-added rows.
+ @param Headings
+ denotes the headings of the to-be-added rows.
@param Data
specifies the data of the rows to be added.
@throws ::com::sun::star::lang::IllegalArgumentException
if <code>Titles</code> and <code>Data</code> are of different length.
*/
- void addRows( [in] sequence< string > Titles, [in] sequence< sequence< any > > Data )
+ void addRows( [in] sequence< any > Headings, [in] sequence< sequence< any > > Data )
raises ( ::com::sun::star::lang::IllegalArgumentException );
/** removes a row of data from the model
@@ -116,7 +116,7 @@ interface XMutableGridDataModel : XGridDataModel
if the given index does not denote a valid row.
*/
void
- setRowTitle( [in] long RowIndex, [in] string Title )
+ setRowHeading( [in] long RowIndex, [in] any Heading )
raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
/** updates the tooltip to be displayed for a given cell