public static class TextInputCell.ViewData
extends java.lang.Object
ViewData
for this cell.Constructor and Description |
---|
ViewData(java.lang.String value)
Construct a ViewData instance containing a given value.
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getCurrentValue()
Return the current value of the input element.
|
java.lang.String |
getLastValue()
Return the last value sent to the
ValueUpdater . |
int |
hashCode()
Return a hash code based on the last and current values.
|
protected void |
setCurrentValue(java.lang.String curValue)
Set the current value.
|
protected void |
setLastValue(java.lang.String lastValue)
Set the last value.
|
public ViewData(java.lang.String value)
value
- a String valuepublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String getCurrentValue()
setCurrentValue(String)
public java.lang.String getLastValue()
ValueUpdater
.setLastValue(String)
public int hashCode()
hashCode
in class java.lang.Object
protected void setCurrentValue(java.lang.String curValue)
curValue
- the current valuegetCurrentValue()
protected void setLastValue(java.lang.String lastValue)
lastValue
- the last valuegetLastValue()