|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lightstreamer.javameclient.midp.SimpleItemUpdate
public class SimpleItemUpdate
Carries any update pertaining to an item. Changed and unchanged values are distinguished. This object is not reused by LSClient, so it can be freely stored by the application.
| Method Summary | |
|---|---|
java.lang.String |
getFieldNewValue(int numField)
Inquiry method that gets the new value for a specified field, as received from the Server with the current update or SimpleTableListener.UNCHANGED if the field is not changed. |
int |
getNumFields()
Inquiry method that gets the number of fields received from the Server with the current update. |
boolean |
isFieldChanged(int numField)
Inquiry method that asks whether the value for a field is changed after the reception of an update from the Server for an item. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getNumFields()
public java.lang.String getFieldNewValue(int numField)
SimpleTableListener.UNCHANGED if the field is not changed.
numField - 1-based index of the field.
SimpleTableListener.UNCHANGED if the value is unchanged, the received value otherwise.public boolean isFieldChanged(int numField)
numField - 1-based index of the field.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||