public class

IdentityColumn

extends Column<T, C>
java.lang.Object
   ↳ com.google.gwt.user.cellview.client.Column<T, C>
     ↳ com.google.gwt.user.cellview.client.IdentityColumn<T>

Class Overview

A passthrough column, useful for giving cells access to the entire row object.

Summary

[Expand]
Inherited Fields
From interface com.google.gwt.user.client.ui.HasHorizontalAlignment
From interface com.google.gwt.user.client.ui.HasVerticalAlignment
Public Constructors
IdentityColumn(Cell<T> cell)
Construct a new IdentityColumn with a given Cell.
Public Methods
T getValue(T object)
Return the passed-in object.
[Expand]
Inherited Methods
From class com.google.gwt.user.cellview.client.Column
From class java.lang.Object
From interface com.google.gwt.cell.client.HasCell
From interface com.google.gwt.user.client.ui.HasHorizontalAlignment
From interface com.google.gwt.user.client.ui.HasVerticalAlignment

Public Constructors

public IdentityColumn (Cell<T> cell)

Construct a new IdentityColumn with a given Cell.

Parameters
cell the Cell responsible for rendering items in the column

Public Methods

public T getValue (T object)

Return the passed-in object.

Parameters
object the object to return
Returns
  • a value of type C suitable for passing to the cell