org.webswing.model.s2c.LinkActionMsg Maven / Gradle / Ivy
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;
}
}