MenuGlyph Class

MenuGlyph Class

This Package | All Packages

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

Enum to be used with the drawMenuGlyph function.

Fields
Name Description
ARROW Draws a submenu arrow.
BULLET Draws a menu bullet.
CHECKMARK Draws a menu check mark.
MAX Topic under construction.
MIN

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 given value is allowed by this class.

Fields

MenuGlyph.ARROW

Syntax
public static final int ARROW;
Description
Draws a submenu arrow.

MenuGlyph.BULLET

Syntax
public static final int BULLET;
Description
Draws a menu bullet.

MenuGlyph.CHECKMARK

Syntax
public static final int CHECKMARK;
Description
Draws a menu check mark.

MenuGlyph.MAX

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

MenuGlyph.MIN

Syntax
public static final int MIN;
Description

Methods

MenuGlyph.ensureValid

Syntax
public static void ensureValid( int value );
Parameters
value
The value to check.
Description

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

MenuGlyph.valid

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

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

Description

Determines whether the given value is allowed by this class.