Package com.google.gwt.cell.client
Class EditTextCell.ViewData
java.lang.Object
com.google.gwt.cell.client.EditTextCell.ViewData
- Enclosing class:
EditTextCell
The view data object used by this cell. We need to store both the text and
the state because this cell is rendered differently in edit mode. If we did
not store the edit state, refreshing the cell with view data would always
put us in to edit state, rendering a text box instead of the new text
string.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getText()
int
hashCode()
boolean
boolean
void
setEditing
(boolean isEditing) void
-
Constructor Details
-
ViewData
Construct a new ViewData in editing mode.- Parameters:
text
- the text to edit
-
-
Method Details