ScrollButton Class

ScrollButton Class

This Package | All Packages

Enum
  |
  +--ScrollButton
public final class ScrollButton
extends Enum

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.

Fields

ScrollButton.DOWN

Syntax
public static final int DOWN;
Description
Draws a down-arrow scroll bar button.

ScrollButton.LEFT

Syntax
public static final int LEFT;
Description
Draws a left-arrow scroll bar button.

ScrollButton.MAX

Syntax
public static final int MAX;
Description
Topic under construction.

ScrollButton.MIN

Syntax
public static final int MIN;
Description
Topic under construction.

ScrollButton.RIGHT

Syntax
public static final int RIGHT;
Description
Draws a right-arrow scroll bar button.

ScrollButton.UP

Syntax
public static final int UP;
Description
Draws an up-arrow scroll bar button.

Methods

ScrollButton.ensureValid

Syntax
public static void ensureValid( int value );
Parameters
value
Topic under construction.
Description

Throws an exception if the given value is not possible for this class.

ScrollButton.valid

Syntax
public static boolean valid( int value );
Parameters
format
The value.
Return Value

Returns true if the given value is valid; otherwise, returns false.

Description

Determines whether the specified value is valid for this class.