szkielet oblsugi eventow

This commit is contained in:
lukasgol committed 2015-02-01 16:20:45 +01:00
1 parent 6942009358
commit a733249665
4 files changed
+87

No files matched your search

@@ -0,0 +1,23 @@
package application.events.impl;
import application.events.EventObject;
/**
* Created by lukasgol on 01.02.15.
*/
public class EventObjectImpl implements EventObject {
@Override
public void validEvent() {
System.out.println("Chceking event: "+this.getClass().getName());
}
@Override
public void handleEvent() {
System.out.println("sending notification for event: "+this.getClass().getName());
}
@Override
public boolean isValid() {
return true;
}
}