Class DeleteItemsAction

  • All Implemented Interfaces:
    EventListener, javafx.event.EventHandler<javafx.event.ActionEvent>

    public class DeleteItemsAction
    extends org.controlsfx.control.action.Action
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static javafx.scene.input.KeyCodeCombination ACCELERATOR  
      static String TEXT  
    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteItemsAction​(javafx.scene.control.SelectionModel<?> pSelection, IntFunction<Integer> pIdxFunction)
      pSourceList Bottom of list transformation chain from which items can be deleted.
      DeleteItemsAction​(javafx.scene.control.SelectionModel<?> pSelection, javafx.collections.ObservableList<?> pSourceList)  
    • Method Summary

      • 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
    • Field Detail

      • ACCELERATOR

        public static final javafx.scene.input.KeyCodeCombination ACCELERATOR
    • Constructor Detail

      • DeleteItemsAction

        public DeleteItemsAction​(javafx.scene.control.SelectionModel<?> pSelection,
                                 javafx.collections.ObservableList<?> pSourceList)
      • DeleteItemsAction

        public DeleteItemsAction​(javafx.scene.control.SelectionModel<?> pSelection,
                                 IntFunction<Integer> pIdxFunction)
        pSourceList Bottom of list transformation chain from which items can be deleted.