类 Grid<T>

java.lang.Object
cn.openjava.basic.format.vo.Grid<T>
类型参数:
T - 对象
所有已实现的接口:
Serializable

public class Grid<T> extends Object implements Serializable
表格对象
另请参阅:
  • 构造器详细资料

    • Grid

      public Grid()
      构造函数
    • Grid

      public Grid(List<T> data)
      构造函数
      参数:
      data - 数据
    • Grid

      public Grid(List<T> data, Map<String,List<Dict>> dicts)
      构造函数
      参数:
      data - 数据
      dicts - 数据字典
    • Grid

      public Grid(List<T> data, Map<String,List<Dict>> dicts, long current, long size)
      构造函数
      参数:
      data - 数据
      dicts - 数据字典
    • Grid

      public Grid(List<T> data, Map<String,List<Dict>> dicts, long current, long size, long total)
      构造函数
      参数:
      data - 数据
      dicts - 数据字典
    • Grid

      public Grid(List<T> data, Map<String,List<Dict>> dicts, boolean isPaged)
      构造函数
      参数:
      data - 数据
      dicts - 数据字典
      isPaged - 是否分页
  • 方法详细资料

    • setSize

      public Grid<T> setSize(long size)
      setPageSize
      参数:
      size - 每页条目数
    • setTotal

      public Grid<T> setTotal(long total)
      setTotalSize
      参数:
      total - 总数
    • setCurrent

      public Grid setCurrent(long current)
    • setData

      public Grid<T> setData(List<T> data)
    • setDicts

      public Grid<T> setDicts(Map<String,List<Dict>> dicts)
    • setPages

      public Grid<T> setPages(long pages)
    • beanConvert

      @Deprecated public Grid<T> beanConvert(Class to)
      已过时。