Android Open Source - MVC Simple Event






From Project

Back to project page MVC.

License

The source code is released under:

Apache License

If you think the Android project MVC listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.musselwhizzle.mvc.events;
//w ww. j  a v a  2 s.  com
public class SimpleEvent implements Event {

    private String type;
    @Override public String getType() { return type; }
    public void setType(String type) {
        this.type = type;
    }

    protected Object source;
    @Override public Object getSource() {
        return source;
    }
    @Override public void setSource(Object source) {
        this.source = source;
    }

    public SimpleEvent(String type) {
        this.type = type;
    }

}




Java Source Code List

com.musselwhizzle.mvc.activities.MainActivity.java
com.musselwhizzle.mvc.events.Dispatcher.java
com.musselwhizzle.mvc.events.EventDispatcher.java
com.musselwhizzle.mvc.events.EventListener.java
com.musselwhizzle.mvc.events.Event.java
com.musselwhizzle.mvc.events.SimpleEvent.java
com.musselwhizzle.mvc.models.AppModel.java
com.musselwhizzle.mvc.views.MainView.java
com.musselwhizzle.mvc.widgets.DigitObjectPool.java
com.musselwhizzle.mvc.widgets.Digit.java