public interface ScrollSpec
Modifier and Type | Method and Description |
---|---|
int |
getHoldDuration()
Gets the percentage of time the scroll will hold at each character
during one scroll iteration.
|
int |
getHorizontalIterations()
Gets the number of times per minute the characters are set to scroll
across the screen from right to left.
|
int |
getMaxHorizontalIterations()
Gets the maximum number of times per minute characters can
scroll right to left across the display with zero hold time set.
|
int |
getMaxVerticalIterations()
Gets the maximum number of times per minute characters can
scroll bottom to top across the display with zero hold time set.
|
int |
getVerticalIterations()
Gets the number of times per minute the characters are set to scroll
across the screen from bottom to top.
|
void |
setHoldDuration(int duration)
Sets the percentage of time to hold at each character before
scrolling it to the next position during one scroll iteration.
|
void |
setHorizontalIterations(int iterations)
Sets the number of times per minute one character will scroll across
the display from right to left.
|
void |
setVerticalIterations(int iterations)
Sets the number of times per minute one character will scroll across
the display from bottom to top.
|
int getMaxHorizontalIterations()
int getMaxVerticalIterations()
int getHorizontalIterations()
int getVerticalIterations()
void setHorizontalIterations(int iterations)
iterations
- Number of horizontal scroll iterations per minute.IllegalArgumentException
- if the iteration is negative or
exceed the value returned by
getMaxHorizontalIterations
.void setVerticalIterations(int iterations)
iterations
- Number of vertical scroll iterations per minute.IllegalArgumentException
- if the iteration is negative or
exceed the value returned by
getMaxVerticalalIterations
.int getHoldDuration()
void setHoldDuration(int duration)
duration
- Character hold percentage duration. Setting this
value causes a smooth scroll across all characters without a
hold on any of them.IllegalArgumentException
- if duration is negative or if the
duration percentage is greater than 100 divided by the number
of characters to scroll across during horizontal scroll, or
the number of rows to scroll across during vertical scroll.Copyright © 2013 CableLabs. All rights reserved.