Package edu.wpi.first.networktables
Interface TableEntryListener
-
- All Superinterfaces:
EntryListenerFlags
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TableEntryListener extends EntryListenerFlags
A listener that listens to changes in values in aNetworkTable.
-
-
Field Summary
-
Fields inherited from interface edu.wpi.first.networktables.EntryListenerFlags
kDelete, kFlags, kImmediate, kLocal, kNew, kUpdate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalueChanged(NetworkTable table, String key, NetworkTableEntry entry, NetworkTableValue value, int flags)Called when a key-value pair is changed in aNetworkTable.
-
-
-
Method Detail
-
valueChanged
void valueChanged(NetworkTable table, String key, NetworkTableEntry entry, NetworkTableValue value, int flags)
Called when a key-value pair is changed in aNetworkTable.- Parameters:
table- the table the key-value pair exists inkey- the key associated with the value that changedentry- the entry associated with the value that changedvalue- the new valueflags- update flags; for example, EntryListenerFlags.kNew if the key did not previously exist in the table
-
-