Event Dispatcher  v0.1.6-beta.1
Project that offers a small library that allows to subscribe and fire events.
ValueChangeListener< T >

Detailed Description

The listener interface for receiving value change events.

This is a functional interface whose functional method is onValueChanged.

Parameters
<T>the type of the variable that is being listened to

Definition at line 11 of file ValueChangeListener.java.

Public Member Functions

void onValueChanged (T oldValue, T value)
 

Member Function Documentation

◆ onValueChanged()

void onValueChanged ( oldValue,
value 
)

Function called when the listened to variable value change.

Parameters
oldValuethe old value of the variable
valuethe new value of the variable