Class SimpleListViewPanel.Builder<T extends Serializable>

    • Method Detail

      • setItems

        public SimpleListViewPanel.Builder<T> setItems​(List<T> items)
        Sets list of items.
        Parameters:
        items - list of items.
        Returns:
        current builder object.
      • includes

        public SimpleListViewPanel.Builder<T> includes​(String... includes)
        Gives fields to be shown. It could be used to give an order as well.
        Parameters:
        includes - field names to be shown.
        Returns:
        current builder object.
      • getValueComponent

        protected Component getValueComponent​(String key,
                                              T bean)
        Overridable method to generate field value rendering component.
        Parameters:
        key - field key.
        bean - source bean.
        Returns:
        field rendering component.
      • getActualItem

        protected T getActualItem​(T item,
                                  List<T> list)