Package com.google.gwt.cell.client
Interface HasCell<T,C>
- Type Parameters:
T
- the underlying data typeC
- the cell data type
- All Known Implementing Classes:
Column
,IdentityColumn
,TextColumn
public interface HasCell<T,C>
An interface for extracting a value of type C from an underlying data value
of type T, provide a
Cell
to render that value, and provide a
FieldUpdater
to perform notification of updates to the cell.-
Method Summary
Modifier and TypeMethodDescriptiongetCell()
Returns theCell
of type C.Returns theFieldUpdater
instance.Returns the value of type C extracted from the record of type T.
-
Method Details
-
getCell
Returns theCell
of type C.- Returns:
- a Cell
-
getFieldUpdater
FieldUpdater<T,C> getFieldUpdater()Returns theFieldUpdater
instance.- Returns:
- an instance of FieldUpdaterinvalid input: '<'T, C>
-
getValue
Returns the value of type C extracted from the record of type T.- Parameters:
object
- a record of type T- Returns:
- a value of type C suitable for passing to the cell
-