Package | Description |
---|---|
org.eclipse.swt.custom | |
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
TableItem |
TableEditor.getItem()
Returns the TableItem for the row of the cell being tracked by this editor.
|
Modifier and Type | Method and Description |
---|---|
void |
TableEditor.setEditor(Control editor,
TableItem item,
int column)
Specify the Control that is to be displayed and the cell in the table that it is to be positioned above.
|
void |
TableEditor.setItem(TableItem item)
Specifies the
TableItem that is to be edited. |
Modifier and Type | Method and Description |
---|---|
TableItem |
Table.getItem(int index)
Returns the item at the given, zero-relative index in the
receiver.
|
TableItem |
Table.getItem(Point point)
Returns the item at the given point in the receiver
or null if no such item exists.
|
TableItem[] |
Table.getItems()
Returns a (possibly empty) array of
TableItem s which
are the items in the receiver. |
TableItem[] |
Table.getSelection()
Returns an array of
TableItem s that are currently
selected in the receiver. |
Modifier and Type | Method and Description |
---|---|
int |
Table.indexOf(TableItem item)
Searches the receiver's list starting at the first item
(index 0) until an item is found that is equal to the
argument, and returns the index of that item.
|
void |
Table.setSelection(TableItem item)
Sets the receiver's selection to the given item.
|
void |
Table.setSelection(TableItem[] items)
Sets the receiver's selection to be the given array of items.
|
void |
Table.showItem(TableItem item)
Shows the item.
|
Copyright (c) EclipseSource and others 2002, 2014.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0