Package limn.backend
Enum Class CrashPhase
- All Implemented Interfaces:
Serializable,Comparable<CrashPhase>,Constable
Where application code was executing when a contained crash was caught.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA media decode thread: one that is not the UI thread, not owned by the event loop, and therefore reachable by none of the other phases.Native event polling: application code resident in window callbacks (live-resize repaint, close-request veto, content-scale listener) whose exception surfaces when the native poll returns.Scene frame production: pending disposals, tick, layout, paint.Input event dispatch to widget/application handlers.A task posted to the UI thread (drained between frames).An animation ticker.Window teardown callbacks (focus-lost handlers, close observers). -
Method Summary
Modifier and TypeMethodDescriptionstatic CrashPhaseReturns the enum constant of this class with the specified name.static CrashPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FRAME
Scene frame production: pending disposals, tick, layout, paint. -
INPUT
Input event dispatch to widget/application handlers. -
TASK
A task posted to the UI thread (drained between frames). -
TICKER
An animation ticker. -
DECODE
A media decode thread: one that is not the UI thread, not owned by the event loop, and therefore reachable by none of the other phases. An exception here stops that stream and nothing else; the player also keeps it, so a widget can show the failure rather than only logging it. -
EVENT_POLL
Native event polling: application code resident in window callbacks (live-resize repaint, close-request veto, content-scale listener) whose exception surfaces when the native poll returns. -
WINDOW_CLOSE
Window teardown callbacks (focus-lost handlers, close observers).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-