Class Overview
A Cell
used to render text.
Summary
[Expand]
Inherited Methods |
From class
com.google.gwt.cell.client.AbstractSafeHtmlCell
|
From class
com.google.gwt.cell.client.AbstractCell
boolean
|
dependsOnSelection()
Check if this cell depends on the selection state.
|
Set<String>
|
getConsumedEvents()
Get the set of events that this cell consumes.
|
boolean
|
handlesSelection()
Check if this cell handles selection.
|
boolean
|
isEditing(Cell.Context context, Element parent, C value)
Returns false.
|
void
|
onBrowserEvent(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater)
Handle a browser event that took place within the cell.
If you override this method to add support for events, remember to pass the
event types that the cell expects into the constructor.
|
void
|
onEnterKeyDown(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater)
Called when the user triggers a keydown event with the ENTER
key while focused on the cell.
|
abstract
void
|
render(Cell.Context context, C value, SafeHtmlBuilder sb)
|
boolean
|
resetFocus(Cell.Context context, Element parent, C value)
Reset focus on the Cell.
This method is a no-op and returns false.
|
void
|
setValue(Cell.Context context, Element parent, C value)
This method may be used by cell containers to set the value on a single
cell directly, rather than using setInnerHTML(String) .
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gwt.cell.client.Cell
abstract
boolean
|
dependsOnSelection()
Check if this cell depends on the selection state.
|
abstract
Set<String>
|
getConsumedEvents()
Get the set of events that this cell consumes.
|
abstract
boolean
|
handlesSelection()
Check if this cell handles selection.
|
abstract
boolean
|
isEditing(Cell.Context context, Element parent, C value)
Returns true if the cell is currently editing the data identified by the
given element and key.
|
abstract
void
|
onBrowserEvent(Cell.Context context, Element parent, C value, NativeEvent event, ValueUpdater<C> valueUpdater)
Handle a browser event that took place within the cell.
|
abstract
void
|
render(Cell.Context context, C value, SafeHtmlBuilder sb)
|
abstract
boolean
|
resetFocus(Cell.Context context, Element parent, C value)
Reset focus on the Cell.
|
abstract
void
|
setValue(Cell.Context context, Element parent, C value)
This method may be used by cell containers to set the value on a single
cell directly, rather than using setInnerHTML(String) .
|
|
Public Constructors
Constructs a TextCell that uses the provided SafeHtmlRenderer
to
render its text.
Public Methods
Render the cell contents after they have been converted to SafeHtml
form.