Class TableLabelProvider
Object
|
+--TableLabelProvider
- class
TableLabelProvider
Defined in table_label_provider.js
|
Method Summary |
int
|
getColumnCount()
Returns the number of columns to display in the
table.
|
string
|
getColumnTitle(<int> column)
Returns the title for column column.
|
string
|
getIcon(<Object> element, <int> column)
Returns the URL of an image to be displayed in the
column'th column for element.
|
Object
|
getLabel(<Object> element, <int> column)
Returns the label to be displayed in the column'th
column for element.
|
TableLabelProvider
function TableLabelProvider()
getColumnCount
int getColumnCount()
Returns the number of columns to display in the
table. The default implementation returns 0.
getColumnTitle
string getColumnTitle(<int> column)
Returns the title for column column.
The default implementation always returns the
empty string.
Parameters:
column - the index of the column whose title should be returned
Returns:
the title to display for column column
getIcon
string getIcon(<Object> element, <int> column)
Returns the URL of an image to be displayed in the
column'th column for element.
The default implementation returns null
to indicate that no image should be displayed.
Parameters:
element - the object to which this query is related
column - the index of the column whose icon should be returned
Returns:
the URL of an image file, or null if no image should be displayed
getLabel
Object getLabel(<Object> element, <int> column)
Returns the label to be displayed in the column'th
column for element. The default implementation
returns String(element).
Parameters:
element - the object to which this query is related
column - the index of the column whose label should be returned
Returns:
a suitable label. The label may be a string, a DOMNode, or a Widget.
