I welcome!
At me, let us assume, I have defined a question a little ComboBoxes and I want to listen their one listener. How to differentiate an event source?
ComboBox firstComboBox = new ComboBox(" ");
firstComboBox.addListener(this);
ComboBox secondComboBox = new ComboBox(" ");
secondComboBox.addListener(this);
...
ComboBox nComboBox = new ComboBox(" ");
nComboBox.addListener(this);
Property.ValueChangeListener listener = new Property.ValueChangeListener() {
public void valueChange(ValueChangeEvent event) {
// ???
}
};
Thanks.