Class MultiColumnListView.DropParameter<T>

java.lang.Object
com.dlsc.gemsfx.MultiColumnListView.DropParameter<T>
Type Parameters:
T - the type of items shown by the columns
Enclosing class:
MultiColumnListView<T>

public static class MultiColumnListView.DropParameter<T> extends Object
Parameters passed to the drop validation callback.
  • Constructor Details

    • DropParameter

      public DropParameter(T item, MultiColumnListView.ListViewColumn<T> column)
      Creates a new parameter object.
      Parameters:
      item - the item at the current drop target
      column - the column that is the current drop target
  • Method Details

    • getItem

      public T getItem()
      Returns the item at the current drop target.
      Returns:
      the target item
    • getColumn

      Returns the column that is the current drop target.
      Returns:
      the target column