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 theCellof type C.Returns theFieldUpdaterinstance.Returns the value of type C extracted from the record of type T.
-
Method Details
-
getCell
Returns theCellof type C.- Returns:
- a Cell
-
getFieldUpdater
FieldUpdater<T,C> getFieldUpdater()Returns theFieldUpdaterinstance.- Returns:
- an instance of FieldUpdater<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
-