Class MoveListItemsAction

java.lang.Object
org.controlsfx.control.action.Action
com.iamsoft.util.ui.javafx.list.MoveListItemsAction
All Implemented Interfaces:
EventListener, javafx.event.EventHandler<javafx.event.ActionEvent>

public class MoveListItemsAction extends org.controlsfx.control.action.Action
  • Property Summary

    Properties inherited from class org.controlsfx.control.action.Action

    accelerator, disabled, graphic, longText, selected, style, text
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MoveListItemsAction(javafx.beans.value.ObservableValue<? extends javafx.scene.control.MultipleSelectionModel<?>> pSelectionModelProperty, javafx.collections.ObservableList<T> pItems, boolean pUp)
     
    MoveListItemsAction(javafx.scene.control.ListView<T> pList, boolean pUp)
     
    MoveListItemsAction(javafx.scene.control.TableView<T> pTable, boolean pUp)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> void
    move(Stream<Integer> pIndexStream, List<T> pList, boolean pUp)
     

    Methods inherited from class org.controlsfx.control.action.Action

    acceleratorProperty, disabledProperty, getAccelerator, getEventHandler, getGraphic, getLongText, getProperties, getStyle, getStyleClass, getText, graphicProperty, handle, isDisabled, isSelected, lock, longTextProperty, selectedProperty, setAccelerator, setDisabled, setEventHandler, setGraphic, setLongText, setSelected, setStyle, setText, styleProperty, textProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MoveListItemsAction

      public MoveListItemsAction(javafx.scene.control.ListView<T> pList, boolean pUp)
    • MoveListItemsAction

      public MoveListItemsAction(javafx.scene.control.TableView<T> pTable, boolean pUp)
    • MoveListItemsAction

      public MoveListItemsAction(javafx.beans.value.ObservableValue<? extends javafx.scene.control.MultipleSelectionModel<?>> pSelectionModelProperty, javafx.collections.ObservableList<T> pItems, boolean pUp)
  • Method Details

    • move

      public static <T> void move(Stream<Integer> pIndexStream, List<T> pList, boolean pUp)