类 SimpleVirtualFlow.Builder

java.lang.Object
io.github.palexdev.virtualizedfx.flow.simple.SimpleVirtualFlow.Builder
封闭类:
SimpleVirtualFlow<T,C extends Cell<T>>

@Deprecated(forRemoval=true) public static class SimpleVirtualFlow.Builder extends Object
已过时, 待删除: 此 API 元素将从以后的版本中删除。
Builder class to create SimpleVirtualFlows.
  • 方法详细资料

    • create

      public static <T, C extends Cell<T>> SimpleVirtualFlow<T,C> create(ObjectProperty<? extends ObservableList<T>> items, Function<T,C> cellFactory, Orientation orientation)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
      类型参数:
      T - The type of objects
      C - The type of cells
      参数:
      items - The items list property
      cellFactory - The function to convert items to cells
      orientation - The orientation
    • create

      public static <T, C extends Cell<T>> SimpleVirtualFlow<T,C> create(ObservableList<T> items, Function<T,C> cellFactory, Orientation orientation)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
      类型参数:
      T - The type of objects
      C - The type of cells
      参数:
      items - The items list
      cellFactory - The function to convert items to cells
      orientation - The orientation