public interface Callback
// inside calling class:
filterDialog.setCallback(new Callback() {
public void callback() {
// do things after you have been called back like e.g. refresh
}
});
// inside called class:
public void setCallback(Callback callback) {
this.callback = callback;
}
protected void act() {
callback.callback();
}
Modifier and Type | Method and Description |
---|---|
void |
callback() |
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de