public class Trace extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ANIMATION_EVENT
Event when an animation is running.
|
static int |
ANIMATION_FPS_EVENT
Event when an animation ends with its FPS.
|
static int |
ANIMATOR_TICK_EVENT
Event when an animator is ticking.
|
static int |
COMPUTE_SIZE_WIDGET_EVENT
Event when computing the size of a widget.
|
static int |
CREATE_DESKTOP_EVENT
Event when creating a desktop.
|
static int |
CREATE_WIDGET_EVENT
Event when creating a widget.
|
static int |
LAYOUT_WIDGET_EVENT
Event when setting the position and size of a widget.
|
static String |
LOG_TRACE_ENABLED_CONSTANT
BON boolean constant to enable/disable the logs associated with the traces. |
static int |
ON_ATTACHED_WIDGET_EVENT
Event when a widget is attached.
|
static int |
ON_DETACHED_WIDGET_EVENT
Event when a widget is detached.
|
static int |
ON_HIDDEN_DESKTOP_EVENT
Event when a desktop is hidden.
|
static int |
ON_HIDDEN_WIDGET_EVENT
Event when a widget is hidden.
|
static int |
ON_SHOWN_DESKTOP_EVENT
Event when a desktop is shown.
|
static int |
ON_SHOWN_WIDGET_EVENT
Event when a widget is shown.
|
static int |
RENDER_WIDGET_EVENT
Event when rendering a widget.
|
static int |
REQUEST_DESKTOP_LAYOUT_EVENT
Event when requesting to layout a desktop.
|
static int |
REQUEST_DESKTOP_RENDER_EVENT
Event when requesting to render a desktop.
|
static int |
REQUEST_DESKTOP_SHOW_EVENT
Event when requesting to show a desktop.
|
static int |
REQUEST_WIDGET_LAYOUT_EVENT
Event when requesting to layout a widget.
|
static int |
REQUEST_WIDGET_RENDER_EVENT
Event when requesting to render a widget.
|
static Tracer |
TRACER
Instance of the tracer.
|
static int |
UPDATE_STYLE_WIDGET_EVENT
Event when updating the style of a widget.
|
public static final int ANIMATION_EVENT
public static final int ANIMATION_FPS_EVENT
public static final int ANIMATOR_TICK_EVENT
public static final int COMPUTE_SIZE_WIDGET_EVENT
public static final int CREATE_DESKTOP_EVENT
public static final int CREATE_WIDGET_EVENT
public static final int LAYOUT_WIDGET_EVENT
public static final String LOG_TRACE_ENABLED_CONSTANT
BON boolean constant to enable/disable the logs associated with the traces.
If enabled, Tracer.TRACE_ENABLED_CONSTANT_PROPERTY must also be set.
It helps to understand the traces and more specifically the IDs associated to the desktops and widgets.
public static final int ON_ATTACHED_WIDGET_EVENT
public static final int ON_DETACHED_WIDGET_EVENT
public static final int ON_HIDDEN_DESKTOP_EVENT
public static final int ON_HIDDEN_WIDGET_EVENT
public static final int ON_SHOWN_DESKTOP_EVENT
public static final int ON_SHOWN_WIDGET_EVENT
public static final int RENDER_WIDGET_EVENT
public static final int REQUEST_DESKTOP_LAYOUT_EVENT
public static final int REQUEST_DESKTOP_RENDER_EVENT
public static final int REQUEST_DESKTOP_SHOW_EVENT
public static final int REQUEST_WIDGET_LAYOUT_EVENT
public static final int REQUEST_WIDGET_RENDER_EVENT
public static final Tracer TRACER
public static final int UPDATE_STYLE_WIDGET_EVENT
public static void createNewAnimation(Animation animation)
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static void createNewDesktop(Desktop desktop)
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static void createNewWidget(Widget widget)
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static int getGraphicsContextId(GraphicsContext gc)
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static int getObjectId(Object object)
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static int getObjectTypeId(Object object)
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static void stopAnimation(Animation animation)
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static void tickAnimator()
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.public static void tickAnimatorEnd()
Tracer.TRACE_ENABLED_CONSTANT_PROPERTY is true.