Class SortableAdapter<T>

    • Constructor Detail

      • SortableAdapter

        public SortableAdapter()
    • Method Detail

      • onUpdate

        public void onUpdate​(org.apache.wicket.ajax.AjaxRequestTarget target,
                             T item,
                             int index)
        Description copied from interface: ISortableListener
        Triggered when the user stopped sorting and the DOM position has changed.
        Specified by:
        onUpdate in interface ISortableListener<T>
        Parameters:
        target - the AjaxRequestTarget
        item - the item that has been sorted
        index - the item's new index (zero based)
      • onReceive

        public void onReceive​(org.apache.wicket.ajax.AjaxRequestTarget target,
                              T item,
                              int index)
        Description copied from interface: ISortableListener
        Triggered when a connected sortable list has received an item from another list.
        Specified by:
        onReceive in interface ISortableListener<T>
        Parameters:
        target - the AjaxRequestTarget
        item - the item that has been received
        index - the item's new index (zero based)
      • onRemove

        public void onRemove​(org.apache.wicket.ajax.AjaxRequestTarget target,
                             T item)
        Description copied from interface: ISortableListener
        Triggered when a sortable item has been dragged out from the list and into another.
        Specified by:
        onRemove in interface ISortableListener<T>
        Parameters:
        target - the AjaxRequestTarget
        item - the item that has been received