Uses of Interface
javafx.util.Callback
Packages that use Callback
Package
Description
Contains the essential JavaFX collections and collection utilities
Provides the set of classes for javafx.concurrent.
Contains classes for loading an object hierarchy from markup.
Provides the core set of base
classes for the JavaFX Scene Graph API.
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
The
javafx.scene.control.cell package is where all cell-related
classes are located, other than the core classes such as
Cell, IndexedCell,
ListCell, TreeCell,
and TableCell.The javafx.scene.control.skin package is where the skin classes, typically
one for each UI control, are located
Provides the set of classes for loading and displaying images.
This package provides means for loading and displaying Web content.
-
Uses of Callback in javafx.collections
Methods in javafx.collections with parameters of type CallbackModifier and TypeMethodDescriptionstatic <E> ObservableList<E>FXCollections.observableArrayList(Callback<E, Observable[]> extractor) Creates a new emptyObservableListthat is backed by an array list and listens to changes in observables of its items.static <E> ObservableList<E>FXCollections.observableList(List<E> list, Callback<E, Observable[]> extractor) Constructs anObservableListthat is backed by the specified list and listens to changes in observables of its items. -
Uses of Callback in javafx.concurrent
Fields in javafx.concurrent declared as CallbackModifier and TypeFieldDescriptionstatic final Callback<ScheduledService<?>,Duration> ScheduledService.EXPONENTIAL_BACKOFF_STRATEGYA Callback implementation for thebackoffStrategyproperty which will exponentially backoff the period between re-executions in the case of a failure.static final Callback<ScheduledService<?>,Duration> ScheduledService.LINEAR_BACKOFF_STRATEGYA Callback implementation for thebackoffStrategyproperty which will linearly backoff the period between re-executions in the case of a failure.static final Callback<ScheduledService<?>,Duration> ScheduledService.LOGARITHMIC_BACKOFF_STRATEGYA Callback implementation for thebackoffStrategyproperty which will logarithmically backoff the period between re-executions in the case of a failure.Methods in javafx.concurrent that return CallbackModifier and TypeMethodDescriptionfinal Callback<ScheduledService<?>,Duration> ScheduledService.getBackoffStrategy()Gets the value of thebackoffStrategyproperty.Methods in javafx.concurrent that return types with arguments of type CallbackModifier and TypeMethodDescriptionfinal ObjectProperty<Callback<ScheduledService<?>,Duration>> ScheduledService.backoffStrategyProperty()Computes the amount of time to add to the period on each failure.Methods in javafx.concurrent with parameters of type CallbackModifier and TypeMethodDescriptionfinal voidScheduledService.setBackoffStrategy(Callback<ScheduledService<?>, Duration> value) Sets the value of thebackoffStrategyproperty. -
Uses of Callback in javafx.fxml
Methods in javafx.fxml that return CallbackModifier and TypeMethodDescriptionFXMLLoader.getControllerFactory()Returns the controller factory used by this loader.Methods in javafx.fxml with parameters of type CallbackModifier and TypeMethodDescriptionstatic <T> TFXMLLoader.load(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>, Object> controllerFactory) Loads an object hierarchy from a FXML document.static <T> TFXMLLoader.load(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>, Object> controllerFactory, Charset charset) Loads an object hierarchy from a FXML document.voidFXMLLoader.setControllerFactory(Callback<Class<?>, Object> controllerFactory) Sets the controller factory used by this loader.Constructors in javafx.fxml with parameters of type CallbackModifierConstructorDescriptionFXMLLoader(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>, Object> controllerFactory) Creates a new FXMLLoader instance.FXMLLoader(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>, Object> controllerFactory, Charset charset) Creates a new FXMLLoader instance.FXMLLoader(URL location, ResourceBundle resources, BuilderFactory builderFactory, Callback<Class<?>, Object> controllerFactory, Charset charset, LinkedList<FXMLLoader> loaders) Creates a new FXMLLoader instance. -
Uses of Callback in javafx.scene
Methods in javafx.scene with parameters of type CallbackModifier and TypeMethodDescriptionvoidNode.snapshot(Callback<SnapshotResult, Void> callback, SnapshotParameters params, WritableImage image) Takes a snapshot of this node at the next frame and calls the specified callback method when the image is ready.voidScene.snapshot(Callback<SnapshotResult, Void> callback, WritableImage image) Takes a snapshot of this scene at the next frame and calls the specified callback method when the image is ready. -
Uses of Callback in javafx.scene.control
Fields in javafx.scene.control declared as CallbackModifier and TypeFieldDescriptionstatic final Callback<TableView.ResizeFeatures,Boolean> TableView.CONSTRAINED_RESIZE_POLICYDeprecated.static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.CONSTRAINED_RESIZE_POLICYDeprecated.static final Callback<TableView.ResizeFeatures,Boolean> TableView.CONSTRAINED_RESIZE_POLICY_ALL_COLUMNSA resize policy that adjusts other columns in order to fit the table width.static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.CONSTRAINED_RESIZE_POLICY_ALL_COLUMNSA resize policy that adjusts other columns in order to fit the tree table width.static final Callback<TableView.ResizeFeatures,Boolean> A resize policy that adjusts columns, starting with the last one, in order to fit the table width.static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.CONSTRAINED_RESIZE_POLICY_FLEX_LAST_COLUMNA resize policy that adjusts columns, starting with the last one, in order to fit the table width.static final Callback<TableView.ResizeFeatures,Boolean> A resize policy that adjusts columns, starting with the next one, in order to fit the table width.static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.CONSTRAINED_RESIZE_POLICY_FLEX_NEXT_COLUMNA resize policy that adjusts columns, starting with the next one, in order to fit the tree table width.static final Callback<TableView.ResizeFeatures,Boolean> TableView.CONSTRAINED_RESIZE_POLICY_LAST_COLUMNA resize policy that adjusts the last column in order to fit the table width.static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.CONSTRAINED_RESIZE_POLICY_LAST_COLUMNA resize policy that adjusts the last column in order to fit the tree table width.static final Callback<TableView.ResizeFeatures,Boolean> TableView.CONSTRAINED_RESIZE_POLICY_NEXT_COLUMNA resize policy that adjusts the next column in order to fit the table width.static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.CONSTRAINED_RESIZE_POLICY_NEXT_COLUMNA resize policy that adjusts the next column in order to fit the tree table width.static final Callback<TableView.ResizeFeatures,Boolean> A resize policy that adjusts subsequent columns in order to fit the table width.static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.CONSTRAINED_RESIZE_POLICY_SUBSEQUENT_COLUMNSA resize policy that adjusts subsequent columns in order to fit the tree table width.static final Callback<TableColumn<?,?>, TableCell<?, ?>> TableColumn.DEFAULT_CELL_FACTORYIf no cellFactory is specified on a TableColumn instance, then this one will be used by default.static final Callback<TreeTableColumn<?,?>, TreeTableCell<?, ?>> TreeTableColumn.DEFAULT_CELL_FACTORYIf no cellFactory is specified on a TreeTableColumn instance, then this one will be used by default.TableView.DEFAULT_SORT_POLICYThe defaultsort policythat this TableView will use if no other policy is specified.static final Callback<TreeTableView,Boolean> TreeTableView.DEFAULT_SORT_POLICYThe defaultsort policythat this TreeTableView will use if no other policy is specified.static final Callback<TableView.ResizeFeatures,Boolean> TableView.UNCONSTRAINED_RESIZE_POLICYVery simple resize policy that just resizes the specified column by the provided delta and shifts all other columns (to the right of the given column) further to the right (when the delta is positive) or to the left (when the delta is negative).static final Callback<TreeTableView.ResizeFeatures,Boolean> TreeTableView.UNCONSTRAINED_RESIZE_POLICYVery simple resize policy that just resizes the specified column by the provided delta and shifts all other columns (to the right of the given column) further to the right (when the delta is positive) or to the left (when the delta is negative).Methods in javafx.scene.control that return CallbackModifier and TypeMethodDescriptionComboBox.getCellFactory()Gets the value of thecellFactoryproperty.ListView.getCellFactory()Returns the current cell factory.TableColumn.getCellFactory()Gets the value of thecellFactoryproperty.final Callback<TreeTableColumn<S,T>, TreeTableCell<S, T>> TreeTableColumn.getCellFactory()Gets the value of thecellFactoryproperty.TreeView.getCellFactory()Returns the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView, or null if no custom cell factory has been set.final Callback<TableColumn.CellDataFeatures<S,T>, ObservableValue<T>> TableColumn.getCellValueFactory()Gets the value of thecellValueFactoryproperty.TreeTableColumn.getCellValueFactory()Gets the value of thecellValueFactoryproperty.TableView.getColumnResizePolicy()Gets the value of thecolumnResizePolicyproperty.TreeTableView.getColumnResizePolicy()Gets the value of thecolumnResizePolicyproperty.final Callback<DatePicker,DateCell> DatePicker.getDayCellFactory()Gets the value of thedayCellFactoryproperty.Pagination.getPageFactory()Returns the page factory callback function.final Callback<ButtonType,R> Dialog.getResultConverter()Gets the value of theresultConverterproperty.TableView.getRowFactory()Gets the value of therowFactoryproperty.final Callback<TreeTableView<S>,TreeTableRow<S>> TreeTableView.getRowFactory()Gets the value of therowFactoryproperty.TableView.getSortPolicy()Gets the value of thesortPolicyproperty.final Callback<TreeTableView<S>,Boolean> TreeTableView.getSortPolicy()Gets the value of thesortPolicyproperty.Methods in javafx.scene.control that return types with arguments of type CallbackModifier and TypeMethodDescriptionComboBox.cellFactoryProperty()Providing a custom cell factory allows for complete customization of the rendering of items in the ComboBox.ListView.cellFactoryProperty()Setting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell.final ObjectProperty<Callback<TableColumn<S,T>, TableCell<S, T>>> TableColumn.cellFactoryProperty()The cell factory for all cells in this column.final ObjectProperty<Callback<TreeTableColumn<S,T>, TreeTableCell<S, T>>> TreeTableColumn.cellFactoryProperty()The cell factory for all cells in this column.TreeView.cellFactoryProperty()Represents the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.TableColumn.cellValueFactoryProperty()The cell value factory needs to be set to specify how to populate all cells within a single TableColumn.TreeTableColumn.cellValueFactoryProperty()The cell value factory needs to be set to specify how to populate all cells within a single TreeTableColumn.TableView.columnResizePolicyProperty()Called when the user completes a column-resize operation.TreeTableView.columnResizePolicyProperty()This is the function called when the user completes a column-resize operation.final ObjectProperty<Callback<DatePicker,DateCell>> DatePicker.dayCellFactoryProperty()A custom cell factory can be provided to customize individual day cells in the DatePicker popup.final ObjectProperty<Callback<Integer,Node>> Pagination.pageFactoryProperty()The pageFactory callback function that is called when a page has been selected by the application or the user.final ObjectProperty<Callback<ButtonType,R>> Dialog.resultConverterProperty()API to convert theButtonTypethat the user clicked on into a result that can be returned via theresultproperty.TableView.rowFactoryProperty()A function which produces a TableRow.final ObjectProperty<Callback<TreeTableView<S>,TreeTableRow<S>>> TreeTableView.rowFactoryProperty()A function which produces a TreeTableRow.final ObjectProperty<Callback<TableView<S>,Boolean>> TableView.sortPolicyProperty()The sort policy specifies how sorting in this TableView should be performed.final ObjectProperty<Callback<TreeTableView<S>,Boolean>> TreeTableView.sortPolicyProperty()The sort policy specifies how sorting in this TreeTableView should be performed.Methods in javafx.scene.control with parameters of type CallbackModifier and TypeMethodDescriptionfinal voidSets the value of thecellFactoryproperty.final voidSets a new cell factory to use in the ListView.final voidTableColumn.setCellFactory(Callback<TableColumn<S, T>, TableCell<S, T>> value) Sets the value of thecellFactoryproperty.final voidTreeTableColumn.setCellFactory(Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> value) Sets the value of thecellFactoryproperty.final voidSets the cell factory that will be used for creating TreeCells, which are used to represent items in the TreeView.final voidTableColumn.setCellValueFactory(Callback<TableColumn.CellDataFeatures<S, T>, ObservableValue<T>> value) Sets the value of thecellValueFactoryproperty.final voidTreeTableColumn.setCellValueFactory(Callback<TreeTableColumn.CellDataFeatures<S, T>, ObservableValue<T>> value) Sets the value of thecellValueFactoryproperty.final voidTableView.setColumnResizePolicy(Callback<TableView.ResizeFeatures, Boolean> callback) Sets the value of thecolumnResizePolicyproperty.final voidTreeTableView.setColumnResizePolicy(Callback<TreeTableView.ResizeFeatures, Boolean> callback) Sets the value of thecolumnResizePolicyproperty.final voidDatePicker.setDayCellFactory(Callback<DatePicker, DateCell> value) Sets the value of thedayCellFactoryproperty.final voidPagination.setPageFactory(Callback<Integer, Node> value) Sets the page factory callback function.final voidDialog.setResultConverter(Callback<ButtonType, R> value) Sets the value of theresultConverterproperty.final voidSets the value of therowFactoryproperty.final voidTreeTableView.setRowFactory(Callback<TreeTableView<S>, TreeTableRow<S>> value) Sets the value of therowFactoryproperty.final voidTableView.setSortPolicy(Callback<TableView<S>, Boolean> callback) Sets the value of thesortPolicyproperty.final voidTreeTableView.setSortPolicy(Callback<TreeTableView<S>, Boolean> callback) Sets the value of thesortPolicyproperty. -
Uses of Callback in javafx.scene.control.cell
Classes in javafx.scene.control.cell that implement CallbackModifier and TypeClassDescriptionclassA convenience implementation of the Callback interface, designed specifically for use within theTableColumncell value factory.classPropertyValueFactory<S,T> A convenience implementation of the Callback interface, designed specifically for use within theTableColumncell value factory.classA convenience implementation of the Callback interface, designed specifically for use within theTreeTableColumncell value factory.Methods in javafx.scene.control.cell that return CallbackModifier and TypeMethodDescriptionCheckBoxListCell.forListView(Callback<T, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in ListView controls.CheckBoxListCell.forListView(Callback<T, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a cell factory for use in ListView controls.ChoiceBoxListCell.forListView(ObservableList<T> items) Creates a ChoiceBox cell factory for use inListViewcontrols.ChoiceBoxListCell.forListView(StringConverter<T> converter, ObservableList<T> items) Creates a ChoiceBox cell factory for use inListViewcontrols.ChoiceBoxListCell.forListView(StringConverter<T> converter, T... items) Creates a ChoiceBox cell factory for use inListViewcontrols.ChoiceBoxListCell.forListView(T... items) Creates a ChoiceBox cell factory for use inListViewcontrols.ComboBoxListCell.forListView(ObservableList<T> items) Creates a ComboBox cell factory for use inListViewcontrols.ComboBoxListCell.forListView(StringConverter<T> converter, ObservableList<T> items) Creates a ComboBox cell factory for use inListViewcontrols.ComboBoxListCell.forListView(StringConverter<T> converter, T... items) Creates a ComboBox cell factory for use inListViewcontrols.ComboBoxListCell.forListView(T... items) Creates a ComboBox cell factory for use inListViewcontrols.TextFieldListCell.forListView()Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenListView.edit(int)is called.TextFieldListCell.forListView(StringConverter<T> converter) Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenListView.edit(int)is called.static <S> Callback<TableColumn<S,Boolean>, TableCell<S, Boolean>> CheckBoxTableCell.forTableColumn(TableColumn<S, Boolean> column) Creates a cell factory for use in aTableColumncell factory.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in aTableColumncell factory.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, boolean showLabel) Creates a cell factory for use in aTableColumncell factory.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a cell factory for use in aTableColumncell factory.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn(ObservableList<T> items) Creates a ChoiceBox cell factory for use inTableColumncontrols.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn(StringConverter<T> converter, ObservableList<T> items) Creates a ChoiceBox cell factory for use inTableColumncontrols.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn(StringConverter<T> converter, T... items) Creates a ChoiceBox cell factory for use inTableColumncontrols.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ChoiceBoxTableCell.forTableColumn(T... items) Creates a ChoiceBox cell factory for use inTableColumncontrols.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn(ObservableList<T> items) Creates a ComboBox cell factory for use inTableColumncontrols.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn(StringConverter<T> converter, ObservableList<T> items) Creates a ComboBox cell factory for use inTableColumncontrols.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn(StringConverter<T> converter, T... items) Creates a ComboBox cell factory for use inTableColumncontrols.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> ComboBoxTableCell.forTableColumn(T... items) Creates a ComboBox cell factory for use inTableColumncontrols.static <S> Callback<TableColumn<S,Double>, TableCell<S, Double>> ProgressBarTableCell.forTableColumn()Provides aProgressBarthat allows easy visualisation of a Number value as it proceeds from 0.0 to 1.0.static <S> Callback<TableColumn<S,String>, TableCell<S, String>> TextFieldTableCell.forTableColumn()Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTableView.edit(int, javafx.scene.control.TableColumn)is called.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> TextFieldTableCell.forTableColumn(StringConverter<T> converter) Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTableView.edit(int, javafx.scene.control.TableColumn)is called.static <S> Callback<TreeTableColumn<S,Boolean>, TreeTableCell<S, Boolean>> CheckBoxTreeTableCell.forTreeTableColumn(TreeTableColumn<S, Boolean> column) Creates a cell factory for use in aTreeTableColumncell factory.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in aTreeTableColumncell factory.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, boolean showLabel) Creates a cell factory for use in aTreeTableColumncell factory.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a cell factory for use in aTreeTableColumncell factory.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ChoiceBoxTreeTableCell.forTreeTableColumn(ObservableList<T> items) Creates a ChoiceBox cell factory for use inTreeTableColumncontrols.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ChoiceBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter, ObservableList<T> items) Creates a ChoiceBox cell factory for use inTreeTableColumncontrols.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ChoiceBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter, T... items) Creates a ChoiceBox cell factory for use inTreeTableColumncontrols.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ChoiceBoxTreeTableCell.forTreeTableColumn(T... items) Creates a ChoiceBox cell factory for use inTreeTableColumncontrols.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ComboBoxTreeTableCell.forTreeTableColumn(ObservableList<T> items) Creates a ComboBox cell factory for use inTreeTableColumncontrols.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ComboBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter, ObservableList<T> items) Creates a ComboBox cell factory for use inTreeTableColumncontrols.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ComboBoxTreeTableCell.forTreeTableColumn(StringConverter<T> converter, T... items) Creates a ComboBox cell factory for use inTreeTableColumncontrols.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> ComboBoxTreeTableCell.forTreeTableColumn(T... items) Creates a ComboBox cell factory for use inTreeTableColumncontrols.static <S> Callback<TreeTableColumn<S,Double>, TreeTableCell<S, Double>> ProgressBarTreeTableCell.forTreeTableColumn()Provides aProgressBarthat allows easy visualisation of a Number value as it proceeds from 0.0 to 1.0.static <S> Callback<TreeTableColumn<S,String>, TreeTableCell<S, String>> TextFieldTreeTableCell.forTreeTableColumn()Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTreeTableView.edit(int, javafx.scene.control.TreeTableColumn)is called.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> TextFieldTreeTableCell.forTreeTableColumn(StringConverter<T> converter) Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTreeTableView.edit(int, javafx.scene.control.TreeTableColumn)is called.CheckBoxTreeCell.forTreeView()Creates a cell factory for use in a TreeView control, although there is a major assumption when used in a TreeView: this cell factory assumes that the TreeView root, and all children are instances ofCheckBoxTreeItem, rather than the defaultTreeItemclass that is used normally.CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in a TreeView control.CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty, StringConverter<TreeItem<T>> converter) Creates a cell factory for use in a TreeView control.ChoiceBoxTreeCell.forTreeView(ObservableList<T> items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter, ObservableList<T> items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ChoiceBoxTreeCell.forTreeView(StringConverter<T> converter, T... items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ChoiceBoxTreeCell.forTreeView(T... items) Creates a ChoiceBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(ObservableList<T> items) Creates a ComboBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(StringConverter<T> converter, ObservableList<T> items) Creates a ComboBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(StringConverter<T> converter, T... items) Creates a ComboBox cell factory for use inTreeViewcontrols.ComboBoxTreeCell.forTreeView(T... items) Creates a ComboBox cell factory for use inTreeViewcontrols.TextFieldTreeCell.forTreeView()Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTreeView.edit(javafx.scene.control.TreeItem)is called.TextFieldTreeCell.forTreeView(StringConverter<T> converter) Provides aTextFieldthat allows editing of the cell content when the cell is double-clicked, or whenTreeView.edit(javafx.scene.control.TreeItem)is called.final Callback<T,ObservableValue<Boolean>> CheckBoxListCell.getSelectedStateCallback()Returns theCallbackthat is bound to by the CheckBox shown on screen.final Callback<Integer,ObservableValue<Boolean>> CheckBoxTableCell.getSelectedStateCallback()Returns theCallbackthat is bound to by the CheckBox shown on screen.final Callback<TreeItem<T>,ObservableValue<Boolean>> CheckBoxTreeCell.getSelectedStateCallback()Returns theCallbackthat is bound to by the CheckBox shown on screen.final Callback<Integer,ObservableValue<Boolean>> CheckBoxTreeTableCell.getSelectedStateCallback()Returns theCallbackthat is bound to by the CheckBox shown on screen.Methods in javafx.scene.control.cell that return types with arguments of type CallbackModifier and TypeMethodDescriptionfinal ObjectProperty<Callback<T,ObservableValue<Boolean>>> CheckBoxListCell.selectedStateCallbackProperty()Property representing theCallbackthat is bound to by the CheckBox shown on screen.final ObjectProperty<Callback<Integer,ObservableValue<Boolean>>> CheckBoxTableCell.selectedStateCallbackProperty()Property representing theCallbackthat is bound to by the CheckBox shown on screen.final ObjectProperty<Callback<TreeItem<T>,ObservableValue<Boolean>>> CheckBoxTreeCell.selectedStateCallbackProperty()Property representing theCallbackthat is bound to by the CheckBox shown on screen.final ObjectProperty<Callback<Integer,ObservableValue<Boolean>>> CheckBoxTreeTableCell.selectedStateCallbackProperty()Property representing theCallbackthat is bound to by the CheckBox shown on screen.Methods in javafx.scene.control.cell with parameters of type CallbackModifier and TypeMethodDescriptionCheckBoxListCell.forListView(Callback<T, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in ListView controls.CheckBoxListCell.forListView(Callback<T, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a cell factory for use in ListView controls.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in aTableColumncell factory.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, boolean showLabel) Creates a cell factory for use in aTableColumncell factory.static <S,T> Callback<TableColumn<S, T>, TableCell<S, T>> CheckBoxTableCell.forTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a cell factory for use in aTableColumncell factory.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in aTreeTableColumncell factory.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, boolean showLabel) Creates a cell factory for use in aTreeTableColumncell factory.static <S,T> Callback<TreeTableColumn<S, T>, TreeTableCell<S, T>> CheckBoxTreeTableCell.forTreeTableColumn(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a cell factory for use in aTreeTableColumncell factory.CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty) Creates a cell factory for use in a TreeView control.CheckBoxTreeCell.forTreeView(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty, StringConverter<TreeItem<T>> converter) Creates a cell factory for use in a TreeView control.final voidCheckBoxListCell.setSelectedStateCallback(Callback<T, ObservableValue<Boolean>> value) Sets theCallbackthat is bound to by the CheckBox shown on screen.final voidCheckBoxTableCell.setSelectedStateCallback(Callback<Integer, ObservableValue<Boolean>> value) Sets theCallbackthat is bound to by the CheckBox shown on screen.final voidCheckBoxTreeCell.setSelectedStateCallback(Callback<TreeItem<T>, ObservableValue<Boolean>> value) Sets theCallbackthat is bound to by the CheckBox shown on screen.final voidCheckBoxTreeTableCell.setSelectedStateCallback(Callback<Integer, ObservableValue<Boolean>> value) Sets theCallbackthat is bound to by the CheckBox shown on screen.Constructors in javafx.scene.control.cell with parameters of type CallbackModifierConstructorDescriptionCheckBoxListCell(Callback<T, ObservableValue<Boolean>> getSelectedProperty) Creates a default CheckBoxListCell.CheckBoxListCell(Callback<T, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a CheckBoxListCell with a custom string converter.CheckBoxTableCell(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty) Creates a default CheckBoxTableCell with a customCallbackto retrieve an ObservableValue for a given cell index.CheckBoxTableCell(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a CheckBoxTableCell with a custom string converter.CheckBoxTreeCell(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty) Creates aCheckBoxTreeCellfor use in a TreeView control via a cell factory.CheckBoxTreeCell(Callback<TreeItem<T>, ObservableValue<Boolean>> getSelectedProperty, StringConverter<TreeItem<T>> converter) Creates aCheckBoxTreeCellfor use in a TreeView control via a cell factory.CheckBoxTreeTableCell(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty) Creates a default CheckBoxTreeTableCell with a customCallbackto retrieve an ObservableValue for a given cell index.CheckBoxTreeTableCell(Callback<Integer, ObservableValue<Boolean>> getSelectedProperty, StringConverter<T> converter) Creates a CheckBoxTreeTableCell with a custom string converter. -
Uses of Callback in javafx.scene.control.skin
Methods in javafx.scene.control.skin that return CallbackModifier and TypeMethodDescriptionfinal Callback<VirtualFlow<T>,T> VirtualFlow.getCellFactory()Returns the current cell factory.Methods in javafx.scene.control.skin that return types with arguments of type CallbackModifier and TypeMethodDescriptionfinal ObjectProperty<Callback<VirtualFlow<T>,T>> VirtualFlow.cellFactoryProperty()Setting a custom cell factory has the effect of deferring all cell creation, allowing for total customization of the cell.Methods in javafx.scene.control.skin with parameters of type CallbackModifier and TypeMethodDescriptionfinal voidVirtualFlow.setCellFactory(Callback<VirtualFlow<T>, T> value) Sets a new cell factory to use in the VirtualFlow. -
Uses of Callback in javafx.scene.image
Methods in javafx.scene.image with parameters of type CallbackModifier and TypeMethodDescriptionvoidPixelBuffer.updateBuffer(Callback<PixelBuffer<T>, Rectangle2D> callback) Invokes the specifiedCallbackmethod and updates the dirty region of allWritableImages that were created using thisPixelBuffer. -
Uses of Callback in javafx.scene.web
Methods in javafx.scene.web that return CallbackModifier and TypeMethodDescriptionWebEngine.getConfirmHandler()Gets the value of theconfirmHandlerproperty.final Callback<PopupFeatures,WebEngine> WebEngine.getCreatePopupHandler()Gets the value of thecreatePopupHandlerproperty.final Callback<PromptData,String> WebEngine.getPromptHandler()Gets the value of thepromptHandlerproperty.Methods in javafx.scene.web that return types with arguments of type CallbackModifier and TypeMethodDescriptionfinal ObjectProperty<Callback<String,Boolean>> WebEngine.confirmHandlerProperty()JavaScriptconfirmhandler property.final ObjectProperty<Callback<PopupFeatures,WebEngine>> WebEngine.createPopupHandlerProperty()JavaScript popup handler property.final ObjectProperty<Callback<PromptData,String>> WebEngine.promptHandlerProperty()JavaScriptprompthandler property.Methods in javafx.scene.web with parameters of type CallbackModifier and TypeMethodDescriptionfinal voidWebEngine.setConfirmHandler(Callback<String, Boolean> handler) Sets the value of theconfirmHandlerproperty.final voidWebEngine.setCreatePopupHandler(Callback<PopupFeatures, WebEngine> handler) Sets the value of thecreatePopupHandlerproperty.final voidWebEngine.setPromptHandler(Callback<PromptData, String> handler) Sets the value of thepromptHandlerproperty.
TableView.CONSTRAINED_RESIZE_POLICY_FLEX_LAST_COLUMNinstead.