Package gaiasky.event
Enum Class Event
- All Implemented Interfaces:
Serializable
,Comparable<Event>
,Constable
Represents an event.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdds or modifies a custom image.Adds or modifies a custom message.Adds or modifies a custom message.Adds the GUI component identified by the given name.Contains a float with the intensity of the light in [0,1].Anti aliasing changed, contains the new anti-aliasing value.Sets the back-buffer scale.Empty event which informs that background loading is active.Set the global texture index for billboards rendered inRenderGroup.BILLBOARD_STAR
.Contains the intensity value in [0,1].Add bookmark.Moves the bookmark 1 to a child of bookmark 2.Moves the bookmark down in the list of its parent.Moves the bookmark up in the list of its parent.Remove bookmark.Remove all bookmarks with the given name, irrespective of the path.Contains the brightness level (float) in [-1,1].Removes the turn of the camera in focus mode.Sets the 'diverted' attribute of the camera.Contains a boolean with the cinematic mode state (on/off).Broadcasts the overall closest (in [0]), the closest non-star body (in [1]) and the closest particle (in [2]) to this camera.Contains a double[] with the new direction.Contains the forward force in [0,1].Contains the new CameraMode object.Informs of a new camera state.This event is broadcast whenever the closest object to the camera changes.Sent whenever the camera orientation changes.Informs that the camera has started or stopped playing.Contains a double[] with the new position.Update camera position, direction and up vectors all at once.Contains the roll value in [-1,1].Contains the deltaX and deltaY, both in [-1,1].Contains the new camera speed.Stops the camera motion.Sets or unsets the tracking object of the camera.Broadcasts the new camera tracking object, contains the object and the name, or null to indicate the camera is not tracking.Contains the deltaX and deltaY in [-1,1].Contains a double[] with the new up vector.Sets the target frame rate for the camera recorder.Add the new catalog object to the catalog manager.Highlight the catalog.Sets the point size multiplier as a positive double for a catalog given its name.Removes the catalog identified by the given string name.Sets the visibility of a catalog given its name.Issues the command to clean pressed keys in KebyoardInputController.Clears the headline message.Clears all messages in the message interface.Clears the octant loading queues.Clears all cached shaders.Clears the subhead message.All open windows must be closedCollapses a GUI pane.Configures the render system.Configures the screenshots.Command to update constellations.Contains the contrast level (float) in [0,2].A controller has been connected, contains the name.A controller has been disconnected, contains the name.Activates/deactivates the closest crosshair.Activates/deactivates the focus crosshair.Activates/deactivates the home crosshair.Sets cubemap mode.Sets a new cubemap projection.Sets the resolution of the cubemap, contains an integer in [20..15000] with the resolution.Informs that the download has finished.Informs of the progress of a current download.Signals the start of a dataset download.Contains the current dynamic resolution level and the corresponding back buffer scaleContains the number of running background threads, and the total number of threads in the pool.The time.Contains the used graphics memory and total graphics memory in bytes.Toggles whole GUI display.Contains a boolean with the display status.Displays VR Controller hints.Toggles VR GUI display.Dispose all resources, app is shutting down.Sets the elevation multiplier.Sets the elevation type.Contains the new time frame object.Expands a GUI pane.Contains the exposure tone mapping level (float) in [0,n] (0 for disabled).Issues the command to flush the frame system.FOCUS_MODE change command.Informs that the focus has somehow changed and the GUI must be updated.Updates focus information.Contains the name, the boolean value.Informs that the given focus is not available any more (not visible or unloaded).Sets the force label flag on the given object which causes the label to always be rendered regardless of the solid angle.Notifies a fov update in the camera.Contains the a float with the new fov value and an optional boolean to indicate whether to cap the value to 95 degrees or not.Frames per second info.Issues the frame output command.Sets the frame output mode, either SIMPLE or ADVANCED.Informs of the new size of the frame output system.Posts the coordinates of the free mode focus.Contains the gamma level (float) in [0,3].Executes the command to position the camera near the object in focus.Dispose the source GPU mesh.Dispose the source GPU mesh.Dispose the source GPU mesh.Dispose the source GPU mesh.Dispose the source GPU mesh.Dispose the source GPU mesh.Graphics quality updated, contains the newSettings.GraphicsQuality
object.Start gravitational wave.Stops gravitational wave.Contains the x and the y in pixels of the position of the mass.Maximizes or minimizes the GUI window.Moves the GUI window.Sets the vertical scroll position.Hides all uncertainties.Issues the command to change the high accuracy setting.Runs the 'Go home' action.Contains the hue level (float) in [0,2].Sets the index of refraction of the celestial sphere when orthospheric view is on.Informs Gaia Sky is fully initialized and normal operation is about to start.Enables/disables input from mouse/keyboard/etc.Issued when an input event is received.Notifies from a java exception, it sends the Throwable and an optional tag.Add new keyframe at the end with the current camera settings.The given keyframe has been selected.The given keyframe is no longer selected.Exports the given array of keyframes to a camera path file.Saves the given array of keyframes to a keyframes file.Refreshes the keyframes from the model.Sets the label color for a given object.Set label size.Lands at a certain location on a planet object.Lands on a planet object.Activate/deactivate lens flare.Activate/deactivate the light scattering.Contains an int with the number of lights and a float[] with [x, y] of the 10 closest stars in screen coordinates in [0,1].Limits the frame rate, contains a double with the new limit frame rate.Issues the command to update the line render system.Line width factor.Dataset has been chosen, loading can start.Contains two Double values, the longitude and latitude in degrees.Opens a new popup window with information on the new mode.Contains the opacity of motion blur in [0,1].True to capture the mouse, false to un-capture.Toggle mouse capture.Plays next music.Toggles the play.Plays previous music.Reload music files.Info about current track.Volume of music, contains the volume (float in [0..1]).Navigates smoothly to the given object.This event informs a new DISTANCE_SCALE_FACTOR is in placeBroadcast a new location record, added to the location logInforms the octree has been disposed.Toggles the fading of particles in the octree.Passes the OrbitData and the file name.Sets the solid angle threshold for orbits and trajectories.Contains the name, the lock orientation boolean value.Posts camera update runnable that runs after the update-camera stage and before the update-scene stage.Posts scene update runnable that runs after the update-scene stage and before the render stage.Pauses background data loading thread, if any.Contains the object (instance ofIVisibilitySwitch
), the name of the object and a boolean with the new visibility state.Sets the planetarium angle [deg], an angle from the zenith to put the focus on in planetarium mode.Sets the aperture angle [deg] of the planetarium in cubemap mode.Issues the play command.Show or hide arrow caps.Contains the mode.Contains the length factor for pm vectors.Contains the number factor for pm vectors.Contains the state (boolean), the color (float[4]) and the line width (float).Will show a popup menu for a focus candidate.Contains a string with the headline message, will be displayed in a big font in the center of the screen.Post a new notification that is to be displayed in the notifications area at the bottom left.Post a notification that is to be displayed with a screen pop-up.Contains a string with the subhead message, will be displayed in a small font below the headline message.Informs of the cloud generation, contains a boolean (start, finish)Informs of the material generation, contains a boolean (start, finish)Sent when the properties in GlobalConf have been modified, usually after a configuration dialog.Updates the position of the pointer and the view in equatorial coordinates.Push new additional data to ray marching shader.Submits a register/unregister command for a ray marching shader.Event to update the shadow map metadata.Forces recalculation of main controls window size.Issues the command to enable camera recording.Reloads the inputListener mappings.Removes all the custom objects.Removes the GUI component identified by the given name.Removes the keyboard focus in the GUI.Removes a previously added message or image.Issues the command to render a frame.Issues the command to render the current frame buffer with a given folder, file (without filename), width and height.Fisheye effect toggle.Resets the main renderer.Resumes background data loading thread, if it exists and it is paused.Contains the new camera rotation speed.Attach object to first end of ruler.Attach object to second end of ruler.Clear all objects from ruler.Notifies new distances for the ruler.SAMP informationContains the saturation level (float) in [0,2].Sends an object to be added to the scene.Sends an object to be added to a scene, without using a post runnable.Forces a scene update.Informs the scene has been loaded.Recomputes the names of the scene entities with the current locale.Removes an object from the scene.Removes an object from the scene without using a post runnable.Updates the screen mode according to what is in theSettings.graphics
bean.Adds a screen notification which lasts for a little while.Takes a screenshot.Contains the path where the screenshot has been saved.Sets the screenshot mode, either SIMPLE or ADVANCED.Informs of the new size of the screenshot system.Shows a window with the Gaia or Hipparcos archive info for the object in the data, which must be aIStarFocus
.Show/hide controller GUIContains an optional boolean indicating whether debug info should be shown or not.Shows the minimap window/interface.Shows the camera path file selector, contains the stage and the skin.Procedural surface and atmosphere generation.Quit action, can contain optional Runnable to run on accept().Displays a dialog to restart.Shows the slave configuration windowShow uncertainties for Tycho star, if available.Shows a window with a summary of the search object in the data (string) as taken from the wikipedia API.Slave connection event.Contains following info: current speed [u/s] current yaw angle [deg] current pitch angle [deg] current roll angle [deg] thrust factor engine power [-1..1] yaw power [-1..1] pitch power [-1..1] roll power [-1..1]Contains the spacecraft object after it has been loaded.Use new machine.Informs a new machine is in place.Contains following info about the nearest object: nearest object name distance to nearest object [u]Level spacecraft command, contains boolean with state.Stop spacecraft, contains boolean with state.Decreases thrust.Increases thrust.Broadcasts the new thrust index.Contains the integer index of the new thrust.Contains the speed limit index as in: 100 km/h 0.5 * c 0.8 * c 0.9 * c 0.99 * c 0.99999 * c c (3e8 m/s) 2*c 10*c 1000*c 1 AU/s 10 AU/s 1000 AU/s 10000 AU/s 1 pc/s 2 pc/s 10 pc/s 1000 pc/s No limitEnables/disables screen-space reflections.Minimum star opacity.Contains the star brightness multiplier.Contains the star brightness power.Contains the star glow factor.Set the flag to render stars as billboards or not.Update the number of nearest stars in star groups.Set a new value for the star point size.Decrease star point size byConstants.SLIDER_STEP_TINY
Increase star point size byConstants.SLIDER_STEP_TINY
Reset star point size to original valueSwitches stereoscopic profile, contains the index of the new profile.Stereoscopic vision, side by side rendering.Stops the current camera playing operation, if anySets and unsets the target time.Sets the tessellation quality.Issues a change time command, contains the Instant object with the new timeNotifies of a change in the time, contains the Instant objectIssues the command to toggle the time.Contains the new time warp factorContains a double with the new warp value.Divide the pace by 2.Double the pace.Toggles the collapsed state of a GUI pane.Toggles minimap visibilityToggles the pause of the update process.Toggle the visibility of a component type.Contains the tone mapping type as anSettings.ToneMapping
or a string in [AUTO|EXPOSURE|NONE].Contains the new turning speed.Issues the command to reload the UI, contains theGlobalResources
instance.Change UI scale factor.Informs the UI theme has been reloaded.Un-parks a runnable.Contains the sharpen factor in [0,2].Updates the archive view if it is open.Updates the camera recorder.Update external GUIs signal.Updates the progress bar with the given name, contains a name and a float value in (0,1) The progress bar is removed when the value is >= 1.Updates the wiki info window if it is open.Contains the new valueContains an array of booleans with the visibility of each ComponentType, in the same order returned by ComponentType.values()New VR device connected.VR device disconnected.Informs of the current selecting state. -
Method Summary
-
Enum Constant Details
-
ADD_CUSTOM_IMAGE
Adds or modifies a custom image. Contains:- id - integer
- tex - Texture
- x - X position of bottom-left corner, float in [0..1]
- y - Y position of bottom-left corner, float in [0..1]
- r - optional, float in [0..1]
- g - optional, float in [0..1]
- b - optional, float in [0..1]
- a - optional, float in [0..1]
-
ADD_CUSTOM_MESSAGE
Adds or modifies a custom message. Contains:- id - integer
- message - string
- x - X position of bottom-left corner, float in [0..1]
- y - Y position of bottom-left corner, float in [0..1]
- r - float in [0..1]
- g - float in [0..1]
- b - float in [0..1]
- a - float in [0..1]
- size - float
-
ADD_CUSTOM_TEXT
Adds or modifies a custom message. Contains:- id - integer
- message - string
- x - X position of bottom-left corner, float in [0..1]
- y - Y position of bottom-left corner, float in [0..1]
- x - maxWidth maximum width in screen percentage, float in [0..1]
- y - maxHeight maximum height in screen percentage, float in [0..1]
- r - float in [0..1]
- g - float in [0..1]
- b - float in [0..1]
- a - float in [0..1]
- size - float
-
ADD_GUI_COMPONENT
Adds the GUI component identified by the given name. -
AMBIENT_LIGHT_CMD
Contains a float with the intensity of the light in [0,1]. -
ANTIALIASING_CMD
Anti aliasing changed, contains the new anti-aliasing value. -
BOOKMARKS_ADD
Add bookmark. Contains the path and a boolean indicating if it is a folder. -
BOOKMARKS_REMOVE
Remove bookmark. Contains the path to remove. -
BOOKMARKS_REMOVE_ALL
Remove all bookmarks with the given name, irrespective of the path. -
BOOKMARKS_MOVE
Moves the bookmark 1 to a child of bookmark 2. -
BOOKMARKS_MOVE_UP
Moves the bookmark up in the list of its parent. -
BOOKMARKS_MOVE_DOWN
Moves the bookmark down in the list of its parent. -
BACKGROUND_LOADING_INFO
Empty event which informs that background loading is active. -
BLOOM_CMD
Contains the intensity value in [0,1]. -
UNSHARP_MASK_CMD
Contains the sharpen factor in [0,2]. -
BRIGHTNESS_CMD
Contains the brightness level (float) in [-1,1]. -
CAMERA_CENTER
Removes the turn of the camera in focus mode. -
CAMERA_CENTER_FOCUS_CMD
Sets the 'diverted' attribute of the camera. Gets a boolean with the state. -
CAMERA_CINEMATIC_CMD
Contains a boolean with the cinematic mode state (on/off). -
CAMERA_CLOSEST_INFO
Broadcasts the overall closest (in [0]), the closest non-star body (in [1]) and the closest particle (in [2]) to this camera. Happens every frame. -
CAMERA_NEW_CLOSEST
This event is broadcast whenever the closest object to the camera changes. Contains the closest object as anIFocus
. -
CAMERA_DIR_CMD
Contains a double[] with the new direction. -
CAMERA_FWD
Contains the forward force in [0,1]. -
CAMERA_MODE_CMD
Contains the new CameraMode object. -
CAMERA_MOTION_UPDATE
Informs of a new camera state. Contains:- Vector3d with the current position of the camera
- Double with the speed of the camera in km/s
- Vector3d with the velocity vector of the camera
- The PerspectiveCamera
-