Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package efl.bindings;
- public class EventHandler <E,S> {
- private E event;
- private S source;
- public EventHandler(E event, S source) {
- super();
- this.event = event;
- this.source = source;
- }
- public S getSource() {
- return source;
- }
- public void setSource(S source) {
- this.source = source;
- }
- public E getEvent() {
- return event;
- }
- public void setEvent(E event) {
- this.event = event;
- }
- }
- interface EventCaller<E,S> {
- public void eventEmitted(EventHandler<E, S> eventHandler);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement