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

org.webswing.model.c2s.WindowEventMsgIn Maven / Gradle / Ivy

There is a newer version: 20.2.4
Show newest version
package org.webswing.model.c2s;

import org.webswing.model.MsgIn;

public class WindowEventMsgIn implements MsgIn {

	private static final long serialVersionUID = -4269267759304268713L;

	private String id;
	private int x;
	private int y;
	private int width;
	private int height;
	private WindowEventType eventType;
	
	public enum WindowEventType {
		close,
		focus,
		maximize,
		undecorate,
		decorate,
		undock,
		dock
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getWidth() {
		return width;
	}
	
	public void setWidth(int width) {
		this.width = width;
	}
	
	public int getHeight() {
		return height;
	}
	
	public void setHeight(int height) {
		this.height = height;
	}

	public WindowEventType getEventType() {
		return eventType;
	}

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy