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

com.github.yiuman.citrus.support.model.TreeDisplay Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
package com.github.yiuman.citrus.support.model;

import com.github.yiuman.citrus.support.widget.Inputs;
import com.github.yiuman.citrus.support.widget.Widget;

import java.util.ArrayList;
import java.util.List;

/**
 * CRUD操作时显示的页面树形结构以及页面组件
 *
 * @author yiuman
 * @date 2020/5/13
 */
public class TreeDisplay> {

    private boolean displayRoot = true;

    private boolean lazy;

    /**
     * 实体的主键
     */
    private String itemKey = "id";

    /**
     * 显示的名称
     */
    private String itemText = "name";

    /**
     * 顶部的控件集合
     */
    private List widgets = new ArrayList<>();

    private T tree;

    /**
     * 顶部按钮
     */
    private List