< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/Slider.java
Print this page
@@ -570,13 +570,14 @@
* {@link #minProperty() min} and {@link #maxProperty() max}. This function
* also takes into account {@link #snapToTicksProperty() snapToTicks}, which
* is the main difference between adjustValue and setValue. It also ensures
* that the value is some valid number between min and max.
*
- * @expert This function is intended to be used by experts, primarily
+ * Note: This function is intended to be used by experts, primarily
* by those implementing new Skins or Behaviors. It is not common
* for developers or designers to access this function directly.
+ * @param newValue the new adjusted value
*/
public void adjustValue(double newValue) {
// figure out the "value" associated with the specified position
final double _min = getMin();
final double _max = getMax();
@@ -616,11 +617,11 @@
/**
* Utility function which, given the specified value, will position it
* either aligned with a tick, or simply clamp between min & max value,
* depending on whether snapToTicks is set.
*
- * @expert This function is intended to be used by experts, primarily
+ * Note: This function is intended to be used by experts, primarily
* by those implementing new Skins or Behaviors. It is not common
* for developers or designers to access this function directly.
*/
private double snapValueToTicks(double val) {
double v = val;
< prev index next >