package com.videonext.mplayer.api.events;

import java.awt.event.MouseEvent;

import com.videonext.mplayer.api.ControllerEvent;

public class UIEvent extends ControllerEvent {

	public final static int MOUSE_MOVED = 0;
	public final static int MOUSE_CLICKED = 1;
	public final static int MOUSE_EXIT = 2;
	
	private int type = -1;
	private MouseEvent mouseEvent;
	
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public MouseEvent getMouseEvent() {
		return mouseEvent;
	}

	public void setMouseEvent(MouseEvent event) {
		this.mouseEvent = event;
	}

	public UIEvent(Object source) {
		super(source);
		// TODO Auto-generated constructor stub
	}
	
	public UIEvent(Object source, int type) {
	    this(source);
		this.type = type;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	

}
