24 lines
515 B
Java
24 lines
515 B
Java
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;
|
|
}
|
|
}
|