@FunctionalInterface public interface ITableListener
ITable
Modifier and Type | Method and Description |
---|---|
void |
valueChanged(ITable source,
java.lang.String key,
java.lang.Object value,
boolean isNew)
Called when a key-value pair is changed in a
ITable |
default void |
valueChangedEx(ITable source,
java.lang.String key,
java.lang.Object value,
int flags)
Extended version of valueChanged.
|
void valueChanged(ITable source, java.lang.String key, java.lang.Object value, boolean isNew)
ITable
source
- the table the key-value pair exists inkey
- the key associated with the value that changedvalue
- the new valueisNew
- true if the key did not previously exist in the table, otherwise it is falsedefault void valueChangedEx(ITable source, java.lang.String key, java.lang.Object value, int flags)
ITable
. The default implementation simply calls
valueChanged(). If this is overridden, valueChanged() will not be
called.source
- the table the key-value pair exists inkey
- the key associated with the value that changedvalue
- the new valueflags
- update flags; for example, NOTIFY_NEW if the key did not
previously exist in the table