Giter VIP home page Giter VIP logo

Comments (4)

tbee avatar tbee commented on September 25, 2024

You are talking about the LocaleDateTimeTextField I assume. And you want to know each date/time combination that was selected. The problem with that is that using the time sliders, each position / time the cursor halts on (but the mouse is not released) is considered a selected time. So this will result in a lot of "isChanging" times...

Tom

On 2014-5-2 19:51, jonathan millman wrote:

I need to know when a user has chosen a new LocalDateTime, but be notified of every intermediate LocalDateTime before the user dismisses the popup. It would be nice if a isChanging property were exposed like for sliders.


Reply to this email directly or view it on GitHub #6.

from jfxtras.

millmanorama avatar millmanorama commented on September 25, 2024

sorry, I missed a 'not'. I don't want to be notified of all the intermediate times selected with the slider. Currenlty, each time the mouse stops but is not released i get a change notification on the selected date/time, but i have no way of knowing if that is an intermediate one or not(as far as i can tell). I thought if a isChanging property was exposed like for a slider i could check this in my handler and ignore spurious notifications of non final selections.

from jfxtras.

tbee avatar tbee commented on September 25, 2024

Ok. This continuous updating was in fact something that I ignored; didn't like, but it wasn't incorrect either. Your remark finally triggered me to look into it. I've decided to hide the "is changing" events; so the value is only set after the mouse is released. The intermediate events only update the screen. I do not want to expose how the UI renders the time and that coincidentally the slider has all these "while changing" events.

from jfxtras.

millmanorama avatar millmanorama commented on September 25, 2024

I just pulled the 8.0-r2-SNAPSHOT and this seems to be working now. Thanks. I think there is a regression, but I will file a separate bug.

from jfxtras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.