Top Fields Constructors Methods
org.jabref.gui.util

public Class ViewModelTreeTableRowFactory<S>

extends Object
implements Callback<TreeTableView<S>, TreeTableRow<S>>
Class Inheritance
All Implemented Interfaces
javafx.util.Callback
Imports
java.util.ArrayList, .HashMap, .List, .Map, java.util.function.BiConsumer, .Consumer, .Function, javafx.beans.value.ObservableValue, javafx.css.PseudoClass, javafx.event.Event, .EventType, javafx.geometry.Bounds, .Point2D, javafx.scene.control.ContextMenu, .TreeTableRow, .TreeTableView, javafx.scene.input.DragEvent, .KeyCode, .KeyEvent, .MouseDragEvent, .MouseEvent, javafx.util.Callback, com.tobiasdiez.easybind.Subscription, org.reactfx.util.TriConsumer

Field Summary

Modifier and TypeField and Description
private Function<S, ContextMenu>
private final Map<EventType<? extends Event>, BiConsumer<S, ? super Event>>
private BiConsumer<S, ? super MouseEvent>
private BiConsumer<S, ? super MouseEvent>
private final Map<PseudoClass, Callback<TreeTableRow<S>, ObservableValue<Boolean>>>
private Consumer<TreeTableRow<S>>
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseEvent>
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent>
private BiConsumer<S, ? super DragEvent>
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent>
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent>
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseDragEvent>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TreeTableRow<S>
call(TreeTableView<S>
The single argument upon which the returned value should be determined.
treeTableView
)

Implements javafx.util.Callback.call.

The call method is called when required, and is given a single argument of type P, with a requirement that an object of type R is returned.

public void
public ViewModelTreeTableRowFactory<S>
setOnDragDetected(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseEvent> toOnDragDetected)

public ViewModelTreeTableRowFactory<S>
setOnDragDetected(BiConsumer<S, ? super MouseEvent> toOnDragDetected)

public ViewModelTreeTableRowFactory<S>
setOnDragDropped(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragDropped)

public ViewModelTreeTableRowFactory<S>
setOnDragDropped(BiConsumer<S, ? super DragEvent> toOnDragDropped)

public ViewModelTreeTableRowFactory<S>
setOnDragEntered(BiConsumer<S, ? super DragEvent> toOnDragEntered)

public ViewModelTreeTableRowFactory<S>
setOnDragExited(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragExited)

public ViewModelTreeTableRowFactory<S>
setOnDragExited(BiConsumer<S, ? super DragEvent> toOnDragExited)

public ViewModelTreeTableRowFactory<S>
setOnDragOver(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragOver)

public ViewModelTreeTableRowFactory<S>
setOnDragOver(BiConsumer<S, ? super DragEvent> toOnDragOver)

public ViewModelTreeTableRowFactory<S>
setOnMouseDragEntered(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseDragEvent> toOnDragEntered)

public ViewModelTreeTableRowFactory<S>
setOnMouseDragEntered(BiConsumer<S, ? super MouseDragEvent> toOnDragEntered)

public ViewModelTreeTableRowFactory<S>
withContextMenu(Function<S, ContextMenu> contextMenuFactory)

public ViewModelTreeTableRowFactory<S>
public ViewModelTreeTableRowFactory<S>
withEventFilter(EventType<? extends Event> event, BiConsumer<S, ? super Event> toCondition)

public ViewModelTreeTableRowFactory<S>
public ViewModelTreeTableRowFactory<S>
public ViewModelTreeTableRowFactory<S>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextMenuFactoryback to summary
private Function<S, ContextMenu> contextMenuFactory
eventFiltersback to summary
private final Map<EventType<? extends Event>, BiConsumer<S, ? super Event>> eventFilters
onMouseClickedEventback to summary
private BiConsumer<S, ? super MouseEvent> onMouseClickedEvent
onMousePressedEventback to summary
private BiConsumer<S, ? super MouseEvent> onMousePressedEvent
pseudoClassesback to summary
private final Map<PseudoClass, Callback<TreeTableRow<S>, ObservableValue<Boolean>>> pseudoClasses
toCustomInitializerback to summary
private Consumer<TreeTableRow<S>> toCustomInitializer
toOnDragDetectedback to summary
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseEvent> toOnDragDetected
toOnDragDroppedback to summary
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragDropped
toOnDragEnteredback to summary
private BiConsumer<S, ? super DragEvent> toOnDragEntered
toOnDragExitedback to summary
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragExited
toOnDragOverback to summary
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragOver
toOnMouseDragEnteredback to summary
private org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseDragEvent> toOnMouseDragEntered

Constructor Detail

ViewModelTreeTableRowFactoryback to summary
public ViewModelTreeTableRowFactory()

Method Detail

callback to summary
public TreeTableRow<S> call(TreeTableView<S> treeTableView)

Implements javafx.util.Callback.call.

Doc from javafx.util.Callback.call.

The call method is called when required, and is given a single argument of type P, with a requirement that an object of type R is returned.

Parameters
treeTableView:TreeTableView<S>

The single argument upon which the returned value should be determined.

Returns:TreeTableRow<S>

An object of type R that may be determined based on the provided parameter value.

Annotations
@Override
installback to summary
public void install(TreeTableView<S> table)
setOnDragDetectedback to summary
public ViewModelTreeTableRowFactory<S> setOnDragDetected(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseEvent> toOnDragDetected)
setOnDragDetectedback to summary
public ViewModelTreeTableRowFactory<S> setOnDragDetected(BiConsumer<S, ? super MouseEvent> toOnDragDetected)
setOnDragDroppedback to summary
public ViewModelTreeTableRowFactory<S> setOnDragDropped(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragDropped)
setOnDragDroppedback to summary
public ViewModelTreeTableRowFactory<S> setOnDragDropped(BiConsumer<S, ? super DragEvent> toOnDragDropped)
setOnDragEnteredback to summary
public ViewModelTreeTableRowFactory<S> setOnDragEntered(BiConsumer<S, ? super DragEvent> toOnDragEntered)
setOnDragExitedback to summary
public ViewModelTreeTableRowFactory<S> setOnDragExited(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragExited)
setOnDragExitedback to summary
public ViewModelTreeTableRowFactory<S> setOnDragExited(BiConsumer<S, ? super DragEvent> toOnDragExited)
setOnDragOverback to summary
public ViewModelTreeTableRowFactory<S> setOnDragOver(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super DragEvent> toOnDragOver)
setOnDragOverback to summary
public ViewModelTreeTableRowFactory<S> setOnDragOver(BiConsumer<S, ? super DragEvent> toOnDragOver)
setOnMouseDragEnteredback to summary
public ViewModelTreeTableRowFactory<S> setOnMouseDragEntered(org.reactfx.util.TriConsumer<TreeTableRow<S>, S, ? super MouseDragEvent> toOnDragEntered)
setOnMouseDragEnteredback to summary
public ViewModelTreeTableRowFactory<S> setOnMouseDragEntered(BiConsumer<S, ? super MouseDragEvent> toOnDragEntered)
withContextMenuback to summary
public ViewModelTreeTableRowFactory<S> withContextMenu(Function<S, ContextMenu> contextMenuFactory)
withCustomInitializerback to summary
public ViewModelTreeTableRowFactory<S> withCustomInitializer(Consumer<TreeTableRow<S>> customInitializer)
withEventFilterback to summary
public ViewModelTreeTableRowFactory<S> withEventFilter(EventType<? extends Event> event, BiConsumer<S, ? super Event> toCondition)
withOnMouseClickedEventback to summary
public ViewModelTreeTableRowFactory<S> withOnMouseClickedEvent(BiConsumer<S, ? super MouseEvent> event)
withOnMousePressedEventback to summary
public ViewModelTreeTableRowFactory<S> withOnMousePressedEvent(BiConsumer<S, ? super MouseEvent> event)
withPseudoClassback to summary
public ViewModelTreeTableRowFactory<S> withPseudoClass(PseudoClass pseudoClass, Callback<TreeTableRow<S>, ObservableValue<Boolean>> toCondition)