< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/control/ScrollBar.java
Print this page
@@ -310,13 +310,14 @@
* that we should increment {@link #valueProperty() value} by
* {@code blockIncrement}. If {@link #valueProperty() value} were 75, then a
* position of .5 would indicate that we
* should decrement {@link #valueProperty() value} by {@link #blockIncrementProperty blockIncrement}.
*
- * @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 position the position
*/
public void adjustValue(double position) {
// figure out the "value" associated with the specified position
double posValue = ((getMax() - getMin()) * Utils.clamp(0, position, 1))+getMin();
double newValue;
< prev index next >