Package com.google.gwt.cell.client
Class TextInputCell.ViewData
- java.lang.Object
-
- com.google.gwt.cell.client.TextInputCell.ViewData
-
- Enclosing class:
- TextInputCell
public static class TextInputCell.ViewData extends java.lang.ObjectTheViewDatafor this cell.
-
-
Constructor Summary
Constructors Constructor Description ViewData(java.lang.String value)Construct a ViewData instance containing a given value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)Return true if the last and current values of this ViewData object are equal to those of the other object.java.lang.StringgetCurrentValue()Return the current value of the input element.java.lang.StringgetLastValue()Return the last value sent to theValueUpdater.inthashCode()Return a hash code based on the last and current values.protected voidsetCurrentValue(java.lang.String curValue)Set the current value.protected voidsetLastValue(java.lang.String lastValue)Set the last value.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
Return true if the last and current values of this ViewData object are equal to those of the other object.- Overrides:
equalsin classjava.lang.Object
-
getCurrentValue
public java.lang.String getCurrentValue()
Return the current value of the input element.- Returns:
- the current value String
- See Also:
setCurrentValue(String)
-
getLastValue
public java.lang.String getLastValue()
Return the last value sent to theValueUpdater.- Returns:
- the last value String
- See Also:
setLastValue(String)
-
hashCode
public int hashCode()
Return a hash code based on the last and current values.- Overrides:
hashCodein classjava.lang.Object
-
setCurrentValue
protected void setCurrentValue(java.lang.String curValue)
Set the current value.- Parameters:
curValue- the current value- See Also:
getCurrentValue()
-
setLastValue
protected void setLastValue(java.lang.String lastValue)
Set the last value.- Parameters:
lastValue- the last value- See Also:
getLastValue()
-
-