# Uses of Class
org.eclipse.nebula.widgets.grid.GridItem

Packages that use GridItem
Package
Description
org.eclipse.nebula.widgets.grid

## Uses of GridItem in org.eclipse.nebula.widgets.grid

Methods in org.eclipse.nebula.widgets.grid that return GridItem
Modifier and Type
Method
Description
`GridItem`
Grid.`getFocusItem()`
Returns the current item in focus.
`GridItem`
Grid.`getItem(int index)`
Returns the item at the given, zero-relative index in the receiver.
`GridItem`
Grid.`getItem(Point point)`
Returns the item at the given point in the receiver or null if no such item exists.
`GridItem`
GridEditor.`getItem()`
Returns the TableItem for the row of the cell being tracked by this editor.
`GridItem`
GridItem.`getItem(int index)`
Returns the item at the given, zero-relative index in the receiver.
`GridItem[]`
Grid.`getItems()`
Returns a (possibly empty) array of `GridItem`s which are the items in the receiver.
`GridItem[]`
GridItem.`getItems()`
Returns a (possibly empty) array of `GridItem`s which are the direct item children of the receiver.
`GridItem`
Grid.`getNextVisibleItem(GridItem item)`
Returns the next visible item in the table.
`GridItem`
GridItem.`getParentItem()`
Returns the receiver's parent item, which must be a `GridItem` or null when the receiver is a root.
`GridItem`
Grid.`getPreviousVisibleItem(GridItem item)`
Returns the previous visible item in the table.
`GridItem`
Grid.`getRootItem(int index)`
TODO: JavaDoc
`GridItem[]`
Grid.`getRootItems()`
Returns a (possibly empty) array of `GridItem`s which are the root items in the receiver.
`GridItem[]`
Grid.`getSelection()`
Returns a array of `GridItem`s that are currently selected in the receiver.
Methods in org.eclipse.nebula.widgets.grid with parameters of type GridItem
Modifier and Type
Method
Description
`GridItem`
Grid.`getNextVisibleItem(GridItem item)`
Returns the next visible item in the table.
`GridItem`
Grid.`getPreviousVisibleItem(GridItem item)`
Returns the previous visible item in the table.
`int`
Grid.`indexOf(GridItem 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.
`int`
GridItem.`indexOf(GridItem 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.
`boolean`
Grid.`isSelected(GridItem item)`
Returns true if the given item is selected.
`void`
GridEditor.`setEditor(Control editor, GridItem 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`
Grid.`setFocusItem(GridItem item)`
Sets the focused item to the given item.
`void`
GridEditor.`setItem(GridItem item)`
Sets the item that this editor will function over.
`void`
Grid.`setSelection(GridItem[] items)`
Sets the receiver's selection to be the given array of items.
`void`
Grid.`showItem(GridItem item)`
Shows the item.
Constructors in org.eclipse.nebula.widgets.grid with parameters of type GridItem
Modifier
Constructor
Description
``
`GridItem(GridItem parent, int style)`
Creates a new instance of this class as a child node of the given GridItem and places the item at the end of the parents items.
``
`GridItem(GridItem parent, int style, int index)`
Creates a new instance of this class as a child node of the given Grid and places the item at the given index in the parent items list.