提交 184d3355 编写于 作者: M malenkov

7057769: JScrollBar spec should specify that unit increment & decrement...

7057769: JScrollBar spec should specify that unit increment & decrement functionality may not be present
Reviewed-by: alexsch
上级 03883f54
...@@ -344,6 +344,9 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible ...@@ -344,6 +344,9 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible
* that override this method and delegate to the viewports * that override this method and delegate to the viewports
* Scrollable view, if it has one. The Scrollable interface * Scrollable view, if it has one. The Scrollable interface
* provides a more specialized version of this method. * provides a more specialized version of this method.
* <p>
* Some look and feels implement custom scrolling behavior
* and ignore this property.
* *
* @param direction is -1 or 1 for up/down respectively * @param direction is -1 or 1 for up/down respectively
* @return the value of the unitIncrement property * @return the value of the unitIncrement property
...@@ -361,6 +364,10 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible ...@@ -361,6 +364,10 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible
* <p> * <p>
* Note, that if the argument is equal to the value of Integer.MIN_VALUE, * Note, that if the argument is equal to the value of Integer.MIN_VALUE,
* the most look and feels will not provide the scrolling to the right/down. * the most look and feels will not provide the scrolling to the right/down.
* <p>
* Some look and feels implement custom scrolling behavior
* and ignore this property.
*
* @see #getUnitIncrement * @see #getUnitIncrement
* @beaninfo * @beaninfo
* preferred: true * preferred: true
...@@ -387,6 +394,9 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible ...@@ -387,6 +394,9 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible
* that override this method and delegate to the viewports * that override this method and delegate to the viewports
* Scrollable view, if it has one. The Scrollable interface * Scrollable view, if it has one. The Scrollable interface
* provides a more specialized version of this method. * provides a more specialized version of this method.
* <p>
* Some look and feels implement custom scrolling behavior
* and ignore this property.
* *
* @param direction is -1 or 1 for up/down respectively * @param direction is -1 or 1 for up/down respectively
* @return the value of the blockIncrement property * @return the value of the blockIncrement property
...@@ -404,6 +414,10 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible ...@@ -404,6 +414,10 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible
* <p> * <p>
* Note, that if the argument is equal to the value of Integer.MIN_VALUE, * Note, that if the argument is equal to the value of Integer.MIN_VALUE,
* the most look and feels will not provide the scrolling to the right/down. * the most look and feels will not provide the scrolling to the right/down.
* <p>
* Some look and feels implement custom scrolling behavior
* and ignore this property.
*
* @see #getBlockIncrement() * @see #getBlockIncrement()
* @beaninfo * @beaninfo
* preferred: true * preferred: true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册