public static class

Cell.Context

extends Object
java.lang.Object
   ↳ com.google.gwt.cell.client.Cell.Context

Class Overview

Contains information about the context of the Cell.

Summary

Public Constructors
Cell.Context(int index, int column, Object key)
Create a new Cell.Context.
Public Methods
int getColumn()
Get the column index of the cell.
int getIndex()
Get the absolute index of the value.
Object getKey()
Get the key that uniquely identifies the row object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Cell.Context (int index, int column, Object key)

Create a new Cell.Context.

Parameters
index the absolute index of the value
column the column index of the cell, or 0
key the unique key that represents the row value

Public Methods

public int getColumn ()

Get the column index of the cell. If the view only contains a single column, this method returns 0.

Returns
  • the column index of the cell

public int getIndex ()

Get the absolute index of the value.

Returns
  • the index

public Object getKey ()

Get the key that uniquely identifies the row object.

Returns
  • the unique key