Uses of Class
io.github.palexdev.materialfx.beans.NumberRange
Packages that use NumberRange
Package
Description
-
Uses of NumberRange in io.github.palexdev.materialfx.beans
Methods in io.github.palexdev.materialfx.beans that return NumberRangeModifier and TypeMethodDescriptionstatic <T extends Number>
NumberRange<T>NumberRange.of(T val) Returns a new instance of NumberRange with the given val as both min and max bounds.static <T extends Number>
NumberRange<T>NumberRange.of(T min, T max) Returns a new instance of NumberRange with the given min and max bounds.Methods in io.github.palexdev.materialfx.beans with parameters of type NumberRangeModifier and TypeMethodDescriptionNumberRange.expandRange(NumberRange<Integer> range) Expands a range of integers to a List of integers.NumberRange.expandRangeToSet(NumberRange<Integer> range) Expands a range of integers to a Set of integers.static booleanNumberRange.inRangeOf(double val, NumberRange<Double> range) Checks if the given value is contained in the given range (bounds are included).static booleanNumberRange.inRangeOf(float val, NumberRange<Float> range) Checks if the given value is contained in the given range (bounds are included).static booleanNumberRange.inRangeOf(int val, NumberRange<Integer> range) Checks if the given value is contained in the given range (bounds are included).static booleanNumberRange.inRangeOf(long val, NumberRange<Long> range) Checks if the given value is contained in the given range (bounds are included).Method parameters in io.github.palexdev.materialfx.beans with type arguments of type NumberRangeModifier and TypeMethodDescriptionstatic booleanNumberRange.inRangeOf(double val, List<NumberRange<Double>> ranges) Checks if the given value is contained in any of the given ranges (bounds are included).static booleanNumberRange.inRangeOf(float val, List<NumberRange<Float>> ranges) Checks if the given value is contained in any of the given ranges (bounds are included).static booleanNumberRange.inRangeOf(int val, List<NumberRange<Integer>> ranges) Checks if the given value is contained in any of the given ranges (bounds are included).static booleanNumberRange.inRangeOf(long val, List<NumberRange<Long>> ranges) Checks if the given value is contained in any of the given ranges (bounds are included). -
Uses of NumberRange in io.github.palexdev.materialfx.beans.properties
Methods in io.github.palexdev.materialfx.beans.properties with parameters of type NumberRangeModifier and TypeMethodDescriptionvoidNumberRangeProperty.set(NumberRange<T> newValue) Overridden to check equality between ranges and return in case ranges are the same.Constructors in io.github.palexdev.materialfx.beans.properties with parameters of type NumberRangeModifierConstructorDescriptionNumberRangeProperty(NumberRange<T> initialValue) NumberRangeProperty(Object bean, String name, NumberRange<T> initialValue) -
Uses of NumberRange in io.github.palexdev.materialfx.builders.control
Methods in io.github.palexdev.materialfx.builders.control with parameters of type NumberRangeModifier and TypeMethodDescriptionProgressBarBuilder.setRanges1(NumberRange<Double>... ranges) ProgressSpinnerBuilder.setRanges1(NumberRange<Double>... ranges) SliderBuilder.setRanges1(NumberRange<Double>... ranges) ProgressBarBuilder.setRanges2(NumberRange<Double>... ranges) ProgressSpinnerBuilder.setRanges2(NumberRange<Double>... ranges) SliderBuilder.setRanges2(NumberRange<Double>... ranges) ProgressBarBuilder.setRanges3(NumberRange<Double>... ranges) ProgressSpinnerBuilder.setRanges3(NumberRange<Double>... ranges) SliderBuilder.setRanges3(NumberRange<Double>... ranges) DatePickerBuilder.setYearsRange(NumberRange<Integer> yearsRange) -
Uses of NumberRange in io.github.palexdev.materialfx.controls
Methods in io.github.palexdev.materialfx.controls that return NumberRangeModifier and TypeMethodDescriptionMFXDatePicker.getYearsRange()Gets the value of the property yearsRange.Methods in io.github.palexdev.materialfx.controls that return types with arguments of type NumberRangeModifier and TypeMethodDescriptionMFXProgressBar.getRanges1()Returns the first list of ranges.MFXProgressSpinner.getRanges1()Returns the first list of ranges.MFXSlider.getRanges1()Returns the first list of ranges.MFXProgressBar.getRanges2()Returns the second list of ranges.MFXProgressSpinner.getRanges2()Returns the second list of ranges.MFXSlider.getRanges2()Returns the second list of ranges.MFXProgressBar.getRanges3()Returns the third list of ranges.MFXProgressSpinner.getRanges3()Returns the third list of ranges.MFXSlider.getRanges3()Returns the third list of ranges.Methods in io.github.palexdev.materialfx.controls with parameters of type NumberRangeModifier and TypeMethodDescriptionvoidMFXDatePicker.setYearsRange(NumberRange<Integer> yearsRange) Sets the value of the property yearsRange. -
Uses of NumberRange in io.github.palexdev.materialfx.controls.cell
Methods in io.github.palexdev.materialfx.controls.cell that return NumberRangeMethods in io.github.palexdev.materialfx.controls.cell with parameters of type NumberRange -
Uses of NumberRange in io.github.palexdev.materialfx.utils
Methods in io.github.palexdev.materialfx.utils with parameters of type NumberRangeModifier and TypeMethodDescriptionstatic doubleNumberUtils.mapOneRangeToAnother(double value, NumberRange<Double> fromRange, NumberRange<Double> toRange, int decimalPrecision) Given a certain value, the range of possible values, and a different range, converts the given value from its range to the given second range.static floatNumberUtils.mapOneRangeToAnother(float value, NumberRange<Float> fromRange, NumberRange<Float> toRange, int decimalPrecision) Given a certain value, the range of possible values, and a different range, converts the given value from its range to the given second range.static intNumberUtils.mapOneRangeToAnother(int value, NumberRange<Integer> fromRange, NumberRange<Integer> toRange, int decimalPrecision) Given a certain value, the range of possible values, and a different range, converts the given value from its range to the given second range.static longNumberUtils.mapOneRangeToAnother(long value, NumberRange<Long> fromRange, NumberRange<Long> toRange, int decimalPrecision) Given a certain value, the range of possible values, and a different range, converts the given value from its range to the given second range.