FXMisc / Flowless

Efficient VirtualFlow for JavaFX
BSD 2-Clause "Simplified" License
185 stars 38 forks source link

Expose scrolling api #29

Closed JordanMartinez closed 7 years ago

JordanMartinez commented 7 years ago

Relates to TomasMikula/RichTextFX#389

JordanMartinez commented 7 years ago

One caveat to this. I wonder if ScaledVirtualized should have two kinds of methods: one that exposes the regular API and a second that applies the scaling modification to the API. For example:

ScaledVirtualized sv = //
sv.getEstimatedScrollX(); // the regular non-scaled value
sv.getScaledEstimatedScrollX(); // the scaled value
TomasMikula commented 7 years ago

Included in the updated 0.6-SNAPSHOT.