Enum | +--ScrollButtonpublic final class ScrollButton
Enum to be used with the drawScrollButton function.
Fields
Name | Description |
---|---|
DOWN | Draws a down-arrow scroll bar button. |
LEFT | Draws a left-arrow scroll bar button. |
MAX | Topic under construction. |
MIN | Topic under construction. |
RIGHT | Draws a right-arrow scroll bar button. |
UP | Draws an up-arrow scroll bar button. |
Methods
Name | Description |
---|---|
ensureValid(int value) | Throws an exception if the given value is not possible for this class. |
valid(int value) | Determines whether the specified value is valid for this class. |
Throws an exception if the given value is not possible for this class.
Returns true if the given value is valid; otherwise, returns false.
Determines whether the specified value is valid for this class.