Package com.google.gwt.cell.client
Class TextInputCell.ViewData
java.lang.Object
com.google.gwt.cell.client.TextInputCell.ViewData
- Enclosing class:
- TextInputCell
The
ViewData
for this cell.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if the last and current values of this ViewData object are equal to those of the other object.Return the current value of the input element.Return the last value sent to theValueUpdater
.int
hashCode()
Return a hash code based on the last and current values.protected void
setCurrentValue
(String curValue) Set the current value.protected void
setLastValue
(String lastValue) Set the last value.
-
Constructor Details
-
ViewData
Construct a ViewData instance containing a given value.- Parameters:
value
- a String value
-
-
Method Details
-
equals
Return true if the last and current values of this ViewData object are equal to those of the other object. -
getCurrentValue
Return the current value of the input element.- Returns:
- the current value String
- See Also:
-
getLastValue
Return the last value sent to theValueUpdater
.- Returns:
- the last value String
- See Also:
-
hashCode
public int hashCode()Return a hash code based on the last and current values. -
setCurrentValue
Set the current value.- Parameters:
curValue
- the current value- See Also:
-
setLastValue
Set the last value.- Parameters:
lastValue
- the last value- See Also:
-