ListView that will automatically start to scroll
up or down during drag and drop operations whenever the mouse cursor reaches
the top or bottom of the view. The view currently only supports vertical orientation,
although it should be straight-forward to add horizontal orientation as well.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final double | |
| private AutoscrollListView |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private Region | |
| private VirtualFlow | |
| private void |
| proximity | back to summary |
|---|---|
| pack-priv final double proximity | |
| scrollThread | back to summary |
|---|---|
| private AutoscrollListView<T>. | |
| AutoscrollListView | back to summary |
|---|---|
| public AutoscrollListView() Constructs a new list view. | |
| AutoscrollListView | back to summary |
|---|---|
| public AutoscrollListView(ObservableList<T> items) Constructs a new list view.
| |
| autoscroll | back to summary |
|---|---|
| private void autoscroll(double yOffset) | |
| autoscrollIfNeeded | back to summary |
|---|---|
| private void autoscrollIfNeeded(DragEvent evt) | |
| getClippedContainer | back to summary |
|---|---|
| private Region getClippedContainer() | |
| getVirtualFlow | back to summary |
|---|---|
| private VirtualFlow | |
| stopAutoScrollIfNeeded | back to summary |
|---|---|
| private void stopAutoScrollIfNeeded(DragEvent evt) | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private double |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| private void | |
| public void | |
| public void |
| running | back to summary |
|---|---|
| private boolean running | |
| yOffset | back to summary |
|---|---|
| private double yOffset | |
| ScrollThread | back to summary |
|---|---|
| pack-priv ScrollThread() | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |
| scrollY | back to summary |
|---|---|
| private void scrollY() | |
| setDelta | back to summary |
|---|---|
| public void setDelta(double yOffset) | |
| stopRunning | back to summary |
|---|---|
| public void stopRunning() | |