com.github.yiuman.citrus.support.widget.TreeNode Maven / Gradle / Ivy
package com.github.yiuman.citrus.support.widget;
import com.github.yiuman.citrus.support.model.BaseTree;
/**
* 树形控件
*
* @author yiuman
* @date 2020/6/1
*/
public class TreeNode> extends BaseWidget {
private boolean multipleSelect;
/**
* 模型的显示名称
*/
private String modelTextField;
/**
* 模型的主键
*/
private String modelKeyField;
public TreeNode() {
}
public TreeNode(String text, String key, M model) {
super(text, key, model);
}
@Override
public String getWidgetName() {
return "tree-select";
}
public boolean isMultipleSelect() {
return multipleSelect;
}
public void setMultipleSelect(boolean multipleSelect) {
this.multipleSelect = multipleSelect;
}
public String getModelTextField() {
return modelTextField;
}
public void setModelTextField(String modelTextField) {
this.modelTextField = modelTextField;
}
public String getModelKeyField() {
return modelKeyField;
}
public void setModelKeyField(String modelKeyField) {
this.modelKeyField = modelKeyField;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy