All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robobinding.widget.edittext.TextChangedEvent Maven / Gradle / Ivy

package org.robobinding.widget.edittext;

import org.robobinding.widget.view.AbstractViewEvent;

import android.widget.TextView;

/**
 * 
 * @since 1.0
 * @version $Revision: 1.0 $
 * @author Cheng Wei
 */
public class TextChangedEvent extends AbstractViewEvent {
    private int start;
    private int before;
    private int count;

    TextChangedEvent(TextView textView, int start, int before, int count) {
	super(textView);
	this.start = start;
	this.before = before;
	this.count = count;
    }
    
    @Override
    public TextView getView() {
        return (TextView) super.getView();
    }

    public int getStart() {
	return start;
    }

    public int getBefore() {
	return before;
    }

    public int getCount() {
	return count;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy