Class TextInputCell.ViewData

java.lang.Object
com.google.gwt.cell.client.TextInputCell.ViewData
Enclosing class:
TextInputCell

public static class TextInputCell.ViewData extends Object
The ViewData for this cell.
  • Constructor Details

    • ViewData

      public ViewData(String value)
      Construct a ViewData instance containing a given value.
      Parameters:
      value - a String value
  • Method Details

    • equals

      public boolean equals(Object other)
      Return true if the last and current values of this ViewData object are equal to those of the other object.
      Overrides:
      equals in class Object
    • getCurrentValue

      public String getCurrentValue()
      Return the current value of the input element.
      Returns:
      the current value String
      See Also:
    • getLastValue

      public String getLastValue()
      Return the last value sent to the ValueUpdater.
      Returns:
      the last value String
      See Also:
    • hashCode

      public int hashCode()
      Return a hash code based on the last and current values.
      Overrides:
      hashCode in class Object
    • setCurrentValue

      protected void setCurrentValue(String curValue)
      Set the current value.
      Parameters:
      curValue - the current value
      See Also:
    • setLastValue

      protected void setLastValue(String lastValue)
      Set the last value.
      Parameters:
      lastValue - the last value
      See Also: