
cn.featherfly.common.form.SimpleStateForm Maven / Gradle / Ivy
package cn.featherfly.common.form;
/**
*
* 有状态表单
*
* @param 泛型
* @author 钟冀
*/
public class SimpleStateForm
implements StateForm
{
private P parameter;
private Form
form;
/**
* @param form 表单
* @param parameter 参数
*/
public SimpleStateForm(Form
form, P parameter) {
this.parameter = parameter;
this.form = form;
}
/**
* {@inheritDoc}
*/
@Override
public void submit() {
form.submit(parameter);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy