Example usage for Java javafx.scene.control ListView fields, constructors, methods, implement or subclass
The text is from its open source code.
ListView() Creates a default ListView which will display contents stacked vertically. | |
ListView(ObservableList Creates a default ListView which will stack the contents retrieved from the provided ObservableList vertically. |
ObservableList | getItems() Returns an ObservableList that contains the items currently being shown to the user. |
MultipleSelectionModel | getSelectionModel() Returns the currently installed selection model. |
void | refresh() Calling refresh() forces the ListView control to recreate and repopulate the cells necessary to populate the visual bounds of the control. |
void | setCellFactory(Callback Sets a new cell factory to use in the ListView. |
void | setCursor(Cursor value) |
void | setEditable(boolean value) |
void | setItems(ObservableList Sets the underlying data model for the ListView. |
void | setLayoutX(double value) |
void | setLayoutY(double value) |
void | setMaxHeight(double value) |
void | setMaxWidth(double value) |
void | setMinHeight(double value) |
void | setPrefHeight(double value) |
void | setPrefSize(double prefWidth, double prefHeight) Convenience method for overriding the region's computed preferred width and height. |
void | setPrefWidth(double value) |
void | setStyle(String value) A string representation of the CSS style associated with this specific Node . |
ReadOnlyDoubleProperty | widthProperty() |