git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expose width/height in TApplication constructor, attempt on ECMA48
[fanfix.git]
/
src
/
jexer
/
TVScroller.java
diff --git
a/src/jexer/TVScroller.java
b/src/jexer/TVScroller.java
index 32e173ab6b5ab080c32b375b99d52d9f9465e4e9..18178807fc10d14e86cfcdfc9c3e385de102c0cf 100644
(file)
--- a/
src/jexer/TVScroller.java
+++ b/
src/jexer/TVScroller.java
@@
-115,6
+115,15
@@
public final class TVScroller extends TWidget {
*/
private int smallChange = 1;
*/
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.
*
/**
* Set the increment for clicking on an arrow.
*
@@
-129,6
+138,16
@@
public final class TVScroller extends TWidget {
*/
private int bigChange = 20;
*/
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.
/**
* Set the increment for clicking in the bar between the box and an
* arrow.