ResizeEvent
public final class ResizeEvent
A resize event which is sent in response to the User interacting with the ResizableComponent.
Summary
Nested types |
|---|
public final class ResizeEvent.ResizeState |
Public constructors |
|---|
ResizeEvent( |
Public methods |
|
|---|---|
boolean |
|
final @NonNull Entity |
The |
final @NonNull FloatSize3d |
The new proposed size of the Entity in local space. |
final @NonNull ResizeEvent.ResizeState |
The state of the resize event. |
int |
hashCode() |
Public constructors
ResizeEvent
Added in 1.0.0-alpha09
public ResizeEvent(
@NonNull Entity entity,
@NonNull ResizeEvent.ResizeState resizeState,
@NonNull FloatSize3d newSize
)
| Parameters | |
|---|---|
@NonNull Entity entity |
The |
@NonNull ResizeEvent.ResizeState resizeState |
The state of the resize event. |
@NonNull FloatSize3d newSize |
The new proposed size of the Entity in local space. |
Public methods
getNewSize
Added in 1.0.0-alpha09
public final @NonNull FloatSize3d getNewSize()
The new proposed size of the Entity in local space.
getResizeState
Added in 1.0.0-alpha09
public final @NonNull ResizeEvent.ResizeState getResizeState()
The state of the resize event.