JxrPlatformAdapter.ResizeEvent


public class JxrPlatformAdapter.ResizeEvent


ResizeEvent for SceneCore Platform.

Summary

Constants

static final int
static final int
static final int
static final int

Public fields

final @NonNull JxrPlatformAdapter.Dimensions

Proposed (width, height, depth) size in meters.

final int

Current state of the Resize action.

Public constructors

ResizeEvent(
    int resizeState,
    @NonNull JxrPlatformAdapter.Dimensions newSize
)

Constants

RESIZE_STATE_END

Added in 1.0.0-alpha01
public static final int RESIZE_STATE_END = 3

RESIZE_STATE_ONGOING

Added in 1.0.0-alpha01
public static final int RESIZE_STATE_ONGOING = 2

RESIZE_STATE_START

Added in 1.0.0-alpha01
public static final int RESIZE_STATE_START = 1

RESIZE_STATE_UNKNOWN

Added in 1.0.0-alpha01
public static final int RESIZE_STATE_UNKNOWN = 0

Public fields

newSize

Added in 1.0.0-alpha01
public final @NonNull JxrPlatformAdapter.Dimensions newSize

Proposed (width, height, depth) size in meters. The resize event listener must use this proposed size to resize the content.

resizeState

Added in 1.0.0-alpha01
public final int resizeState

Current state of the Resize action.

Public constructors

ResizeEvent

Added in 1.0.0-alpha01
public ResizeEvent(
    int resizeState,
    @NonNull JxrPlatformAdapter.Dimensions newSize
)