Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support numeric range input type #326

Open
imagejan opened this issue Jun 5, 2018 · 2 comments
Open

Support numeric range input type #326

imagejan opened this issue Jun 5, 2018 · 2 comments

Comments

@imagejan
Copy link
Member

imagejan commented Jun 5, 2018

This could be modeled after bdv.util.BoundedIntervalDouble, or after Apache commons-lang (see the work by @ctrueden in scijava/scijava-ui-swing@74fa99a).

We could possibly have continuous (just min and max) and discrete (min, max and stepSize) ranges in various numeric types (Integer, Double etc.). A range widget should support these in scijava-ui-swing, and these structures could also possibly replace the internal classes CalibratedSlider and CalibratedScrollBar in org.scijava.ui.swing.widget.SwingNumberWidget.

@imagejan
Copy link
Member Author

See this forum topic for some use case where a range input would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants