Java org.eclipse.jface.viewers TableViewer fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.viewers TableViewer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.viewers TableViewer.

The text is from its open source code.

Subclass

org.eclipse.jface.viewers.TableViewer has subclasses.
Click this link to see all its subclasses.

Constructor

TableViewer(Composite parent)
Creates a table viewer on a newly-created table control under the given parent.
TableViewer(Table table)
Creates a table viewer on the given table control.
TableViewer(Composite parent, int style)
Creates a table viewer on a newly-created table control under the given parent.

Method

voidadd(Object[] elements)
Adds the given elements to this table viewer.
voidclear(int index)
Clear the table item at the specified index
ControlgetControl()
ObjectgetElementAt(int index)
Returns the element with the given index from this table viewer.
IBaseLabelProvidergetLabelProvider()
The table viewer implementation of this Viewer framework method returns the label provider, which in the case of table viewers will be an instance of either ITableLabelProvider or ILabelProvider.
TablegetTable()
Returns this table viewer's table control.
voidinsert(Object element, int position)
Inserts the given element into this table viewer at the given position.
voidrefresh(boolean updateLabels, boolean reveal)
Refreshes this viewer with information freshly obtained from this viewer's model.
voidremove(Object[] elements)
voidreplace(Object element, int index)
Replace the element at the given index with the given element.
voidreveal(Object element)
voidsetContentProvider(IContentProvider provider)
Sets the content provider used by this AbstractTableViewer.
voidsetItemCount(int count)
Set the item count of the receiver.
voidsetSelection(ISelection selection, boolean reveal)

Sets a new selection for this viewer and optionally makes it visible.