Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ApplicationMode

[18:14] static extends: object

Helper for FXGL's ApplicationMode enum (com.almasb.fxgl.app.ApplicationMode). Selects the runtime mode of the application; primarily affects logging detail and exception reporting.

  • DEBUG — all logging levels and full stack traces.
  • DEVELOPER — info / warning / fatal and full stack traces.
  • RELEASE — fatal only, exception message only, maximum performance.

Methods

  • DEBUG ()

    Returns the DEBUG mode value.

    • @r An AussomJavaObject around the enum value.
  • DEVELOPER ()

    Returns the DEVELOPER mode value.

    • @r An AussomJavaObject around the enum value.
  • RELEASE ()

    Returns the RELEASE mode value.

    • @r An AussomJavaObject around the enum value.
  • get (string Name)

    Resolves an ApplicationMode enum value by name.

    • @p Name is one of "DEBUG", "DEVELOPER", "RELEASE".
    • @r An AussomJavaObject around the enum value.
  • getLoggerLevel (object ModeObj)

    Returns the LoggerLevel associated with the given ApplicationMode value.

    • @p ModeObj is an AussomJavaObject around an ApplicationMode.
    • @r An AussomJavaObject around a LoggerLevel.
  • values ()

    Returns ApplicationMode[] containing every constant.

  • valueOf (string Name)

    Standard Enum.valueOf strict lookup.