java.lang.Object | |||
↳ | com.google.gwt.cell.client.AbstractCell<C> | ||
↳ | com.google.gwt.cell.client.AbstractSafeHtmlCell<C> | ||
↳ | com.google.gwt.cell.client.ClickableTextCell |
A Cell
used to render text. Clicking on the cell causes its
ValueUpdater
to be called.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new ClickableTextCell that will use a
SimpleSafeHtmlRenderer . | |||||||||||
Construct a new ClickableTextCell that will use a given
SafeHtmlRenderer . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the user triggers a
keydown event with the ENTER
key while focused on the cell. | |||||||||||
Render the cell contents after they have been converted to
SafeHtml
form. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.cell.client.AbstractSafeHtmlCell
| |||||||||||
From class
com.google.gwt.cell.client.AbstractCell
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.cell.client.Cell
|
Construct a new ClickableTextCell that will use a
SimpleSafeHtmlRenderer
.
Construct a new ClickableTextCell that will use a given
SafeHtmlRenderer
.
renderer | a SafeHtmlRenderer instance
|
---|
Handle a browser event that took place within the cell. The default implementation returns null.
If you override this method to add support for events, remember to pass the event types that the cell expects into the constructor.
context | the Context of the cell |
---|---|
parent | the parent Element |
value | the value associated with the cell |
event | the native browser event |
valueUpdater | a ValueUpdater , or null if not specified
|
Called when the user triggers a keydown
event with the ENTER
key while focused on the cell. If your cell interacts with the user, you
should override this method to provide a consistent user experience. Your
widget must consume keydown
events for this method to be
called.
context | the Context of the cell |
---|---|
parent | the parent Element |
value | the value associated with the cell |
event | the native browser event |
valueUpdater | a ValueUpdater , or null if not specified
|
Render the cell contents after they have been converted to SafeHtml
form.
context | the original context to render |
---|---|
value | a SafeHtml string |
sb | the SafeHtmlBuilder to be written to
|