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

org.webswing.model.s2c.LinkActionMsg Maven / Gradle / Ivy

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

import org.webswing.model.Msg;

public class LinkActionMsg implements Msg {

	private static final long serialVersionUID = -1341111272614100725L;

	public enum LinkActionType {
		file, url, print, redirect;
	}

	private LinkActionType action;
	private String src;

	public LinkActionMsg() {
	}

	public LinkActionMsg(LinkActionType action, String url) {
		super();
		this.action = action;
		this.src = url;
	}

	public LinkActionType getAction() {
		return action;
	}

	public void setAction(LinkActionType action) {
		this.action = action;
	}

	public String getSrc() {
		return src;
	}

	public void setSrc(String src) {
		this.src = src;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy