Package com.j3d.engine.react.events
Enum Class EventType
- All Implemented Interfaces:
Serializable,Comparable<EventType>,Constable
Events is an enum that describes the possible Events that a listener can listen for.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe camera moved.A command was fired.Self-explanatory.A guide step is closing.For anything that's too lazy to use mouse owners and rather just use events to listen for mouse clicks.A Setting was updated via code specifically and needs to be broadcast to the UI so that it can react and change accordingly.A mouse owner has snapping enabled and the user double-right clicked to snap to some object.Specifically na extender ofStatefulCommandhas released its statefulness either by the user confirming the action or cancelling.A Setting was updated.The pivot of the transform command(s) has changed.The object was selected. -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
X_SELECTED
The object was selected. Broadcast bySelectionMouseOwnerwith a payload class ofSelectionEventPayload -
SETTING_CODE_UPDATED
A Setting was updated via code specifically and needs to be broadcast to the UI so that it can react and change accordingly. Broadcast by anySettingwith a payload class ofSettingUpdatedPayload -
SUPDATED
A Setting was updated. Broadcast by anySettingwith no speciifc payload class. -
SNAP_TO_OBJ
A mouse owner has snapping enabled and the user double-right clicked to snap to some object. Broadcast bySnapMouseOwnerwith a payload class ofSnapPayload -
TRANSFORM_CHANGE_CENTRE
The pivot of the transform command(s) has changed. Fired byTransformMouseOwnerwith a payload class ofChangeCentreEventPayload -
GPOINT_RECALC_PIVOT
Self-explanatory. Fired by aGPointwith a payload class ofGPointMovedEvent -
COMMAND_FIRED
A command was fired. This event doesn't guarantee the command ran successfully. Broadcast byCommandwith a payload class ofCommandFiredPayload -
STATEFUL_COMMAND_COMPLETED
Specifically na extender ofStatefulCommandhas released its statefulness either by the user confirming the action or cancelling. Broadcast byStatefulCommandwith a payload class ofStatefulCommandCompletedPayload -
GUIDE_CLOSING
A guide step is closing. Broadcast byGuideInfowith a payload class ofGuideInfoClosingPayload -
MOUSE_CLICKED
For anything that's too lazy to use mouse owners and rather just use events to listen for mouse clicks. Broadcast byAlwaysMouseOwnerwith a payload class ofMouseClickPayload -
REACTIVE_POINT_INVALIDATED
-
CAMERA_MOVED
The camera moved. Broadcast byCamerawith a payload class ofCameraUpdatedEventPayload
-
-
Constructor Details
-
EventType
private EventType()
-
-
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
-