com.sencha.gxt.cell.core.client.form
Class ViewData

java.lang.Object
  extended by com.sencha.gxt.cell.core.client.form.ViewData
Direct Known Subclasses:
FieldCell.FieldViewData

public class ViewData
extends java.lang.Object

The ViewData for this cell.


Constructor Summary
ViewData(java.lang.String value)
          Construct a ViewData instance containing a given value.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewData

public ViewData(java.lang.String value)
Construct a ViewData instance containing a given value.

Parameters:
value - a String 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:
equals in class java.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 the ValueUpdater.

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:
hashCode in class java.lang.Object


Copyright © 2012. All Rights Reserved.