Common Scrollable interface
[fanfix.git] / src / jexer / TVScroller.java
index 32e173ab6b5ab080c32b375b99d52d9f9465e4e9..18178807fc10d14e86cfcdfc9c3e385de102c0cf 100644 (file)
@@ -115,6 +115,15 @@ public final class TVScroller extends TWidget {
      */
     private int smallChange = 1;
 
+    /**
+     * Get the increment for clicking on an arrow.
+     *
+     * @return the increment value
+     */
+    public int getSmallChange() {
+        return smallChange;
+    }
+
     /**
      * Set the increment for clicking on an arrow.
      *
@@ -129,6 +138,16 @@ public final class TVScroller extends TWidget {
      */
     private int bigChange = 20;
 
+    /**
+     * Set the increment for clicking in the bar between the box and an
+     * arrow.
+     *
+     * @return the increment value
+     */
+    public int getBigChange() {
+        return bigChange;
+    }
+
     /**
      * Set the increment for clicking in the bar between the box and an
      * arrow.