Code Search for Developers
 
 
  

EventDataObject.java from MASE: Agile Software Engineering at Krugle


Show EventDataObject.java syntax highlighted

package persister.impl.data;

import java.io.Serializable;



import persister.Keystroke;
import persister.MouseClick;
import persister.MouseMove;

public class EventDataObject implements MouseMove, Keystroke, MouseClick, Serializable {

	private static final long serialVersionUID = 2908054717758878315L;
	private int locationX, locationY;
	private long id;
	private String name;
	private char c;
	private boolean sendKeyOut;
	private int eventType;
	
	public static Keystroke keystroke;
	
	public EventDataObject() {
		this.id = 0;
		this.name = "";
		this.locationX = 0;
		this.locationY = 0;
	}
	
	public EventDataObject(long clientid, String name, int locationX, int locationY) {
		this.id = clientid;
		this.name = name;
		this.locationX = locationX;
		this.locationY = locationY;
	}
	

	public long getId() {
		return this.id;
	}

	public int getLocationX() {
		return this.locationX;
	}

	public int getLocationY() {
		return locationY;
	}

	public void setId(long id) {
		this.id = id;

	}

	public void setLocationX(int locationX) {
		this.locationX = locationX;

	}

	public void setLocationY(int locationY) {
		this.locationY = locationY;

	}


	public String getName() {
		return this.name;
	}


	public void setName(String name) {
		this.name = name;
	}
	
	public String toString() {
		String mm = "###################################\n"+
		"#            MouseMove            #\n" +
		"###################################\n\n" +
				"ID:\t\t"+this.id+"\n"+
				"Location:\t( "+this.locationX+" x "+this.locationY+" )\n"+
				"Name:\t\t"+this.name+"\n\n";
		return mm;
	}

	public char getKeystroke() {
		return c;
	}

	public void setKeystroke(char c) {
		this.c = c;		
	}


	public boolean sendKeyOut() {
		
		return sendKeyOut;
	}

	public void setSendKeyOut(boolean sendKeyOut) {
		this.sendKeyOut = sendKeyOut;
		
	}

	public int getEventType() {
		
		return  eventType;
	}

	public void setEventType(int eventType) {
		this.eventType = eventType;
		
	}



	
}




See more files for this project here

MASE: Agile Software Engineering

The MASE project investigates methods to support the coordination and executable acceptance testing of software projects. Keywords: Agile methods, distributed teams, Extreme Programming. See http://ebe.cpsc.ucalgary.ca/ebe for more information.

Project homepage: http://sourceforge.net/projects/mase
Programming language(s): Java,XML
License: other

  BacklogDataObject.java
  EventDataObject.java
  IterationDataObject.java
  MessageDataObject.java
  ProjectDataObject.java
  StoryCardDataObject.java