Package gaiasky.event
Enum Class Events
- All Implemented Interfaces:
Serializable
,Comparable<Events>
,Constable
Contains all the events that go through the event system.
-
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 nameContains a float with the intensity of the light between 0 and 1Anti aliasing changed, contains the new value for aaEmpty event which informs that background loading is activeContains the intensity value between 0 and 1 and a boolean for whether it comes from the interfaceAdd bookmark.Moves the bookmark 1 to a child of bookmark 2Remove bookmark.Remove all bookmarks with the given name, irrespective of the path.Contains the brightness level (float) in [-1..1] and an optional boolean indicating whether this comes from the interfaceRemoves the turn of the camera in focus modeSets the 'diverted' attribute of the camera.Contains a boolean with the cinematic mode state (on/off) and a boolean indicating if this comes from the interfaceBroadcasts 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 directionContains the value between 0 and 1Contains the new CameraMode objectInforms 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 positionUpdate camera position, direction and up vectors all at once.Contains the roll value between -1 and 1Contains the deltaX and deltaY between -1 and 1Contains the new camera speedStops the camera motionContains the deltaX and deltaY between -1 and 1Contains a double[] with the new up vectorSets the target frame rate for the camera recorder.A new catalog has been loaded.Highlight the catalog.Removes the catalog identified by the given string nameSets the visibility of a catalog given its name and an optional boolean if it comes from the UIClears the headline messageClears all messages in the message interfaceClears the subhead messageCollapses a GUI pane.Configures the render system.Contains the contrast level (float) in [0..2] and an optional boolean indicating whether this comes from the interfaceA controller has been connected, contains the nameA controller has been disconnected, contains the nameActivates/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.Debug infoToggles whole GUI display.Contains a boolean with the display statusDisplays VR Controller hintsToggles VR GUI display.Dispose all resources, app is shutting downContains an index to the particle group mesh to be clearedContains an the index of the star group mesh to be clearedSets the elevation multiplier.Sets the elevation typeContains the new time frame objectExpands a GUI pane.Contains the exposure tone mapping level (float) in [0..n] (0 for disabled) and an optional boolean indicating whether this comes from the interfaceFisheye effect toggle.Issues the command to flush the frame systemFOCUS_MODE change command.Informs that the focus has somehow changed and the GUI must be updated.Contains the distance to the camera [0], the viewing angle [1], right ascension in deg [2], declination in deg [3], the distance to Sol [4] and the absolute magnitude from the camera [5] (and from earth [6], optional)Contains the name, the boolean value, and an optional boolean indicating if this comes from the interfaceInforms that the given focus is not available anymore (not visible or unloaded)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 notFrames per second infoIssues the frame output command.Sets the frame output mode, either SIMPLE or ADVANCED.Informs of the new size of the frame output systemPosts the coordinates of the free mode focus.Contains the Gaia object [0]Contains the gamma level (float) in [0..3] and an optional boolean indicating whether this comes from the interfaceExecutes the command to position the camera near the object in focusGraphics quality updated, contains the newSettings.GraphicsQuality
object.Start gravitational wave.Stops gravitational waveContains the x and the y in pixels of the position of the massMaximizes or minimizes the GUI window.Moves the GUI window.Sets the vertical scroll position.Hides all uncertaintiesIssues the command to change the high accuracy setting.Runs the 'Go home' actionContains the hue level (float) in [0..2] and an optional boolean indicating whether this comes from the interfaceInforms Gaia Sky is fully initialized and normal operation is about to startEnables/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 settingsThe given keyframe has been selectedThe given keyframe is no longer selectedExports the given array of keyframes to a camera path fileSaves the given array of keyframes to a keyframes fileRefreshes the keyframes from the modelSet label size.Lands at a certain location on a planet objectLands on a planet objectActivate/deactivate lens flare.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]Activate/deactivate the light scattering.Limits the frame rate, contains a double with the new limit frame rateIssues the command to update the line render system.Line width factor.Dataset has been chosen, loading can startContains two Double values, the longitude and latitude in degreesOpens a new popup window with information on the new mode.Contains the opacity of motion blur between 0 and 1 and a boolean for whether it comes from the interfaceTrue to capture the mouse, false to un-captureToggle mouse capturePlays next musicToggles the playPlays previous musicReload music filesInfo about current trackVolume of music, contains the volume (float in [0..1])Navigates smoothly to the given objectThis event informs a new DISTANCE_SCALE_FACTOR is in placeBroadcast a new location record, added to the location logInforms the octree has been disposedToggles the fading of particles in the octree.Contains the name, the boolean value, and a boolean indicating if this comes from the interfacePasses the OrbitData and the file nameContains the name, the lock orientation boolean value and an optional boolean indicating if this comes from the interface.Posts a recurrent runnable.Pauses background data loading thread, if anyContains the object (instance ofIVisibilitySwitch
), the name of the object, a boolean with the new visibility state, and the source object.Issues the command to update the pixel render system.Sets the planetarium angle [deg], an angle from the zenith to put the focus on in planetarium modeSets the aperture angle [deg] of the planetarium in cubemap modeEnables and disables the planetarium mode.Issues the play command.Show or hide arrow caps.Contains the mode and a boolean indicating if it comes from the interface.Contains the length factor for pm vectors and a boolean indicating if this comes from the interfaceContains the number factor for pm vectors and a boolean indicating if this comes from the interfaceContains 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 screenWill be displayed in the notifications area (bottom left).Contains a string with the subhead message, will be displayed in a small font below the headline messageSent 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 metadataForces recalculation of main GUI window sizeIssues the command to enable camera recording.Reloads the inputListener mappings.Removes all the custom objectsRemoves the gui component identified by the given nameRemoves the keyboard focus in the GUIRemoves a previously added message or image.Issues the command to render a frameIssues the command to render the current frame buffer with a given folder, file (without filename), width and heightIssues the command to render a screenshotResets theOrbitalElementsParticlesRenderSystem
Resumes background data loading thread, if it exists and it is pausedContains the new camera rotation speed and a boolean indicating if this comes from the interfaceAttach object to first end of ruler.Attach object to second end of ruler.Clear all objects from rulerNotifies new distances for the ruler.Contains the string with the script code and an optional boolean indicating whether it must be run asynchronousContains the script PyCode object, the path and an optional boolean indicating whether it must be run asynchronousSAMP informationContains the saturation level (float) in [0..2] and an optional boolean indicating whether this comes from the interfaceSends an object to be added to the scene graph.Sends an object to be added to a scene graph, without using a post runnable.Informs the scene graph has been loaded.Removes an object from the scene graph.Updates the screen mode according to whats in theSettings.graphics
bean.Adds a screen notification which lasts for a little while.Contains the width, height (integers) and the folder name and filename (strings)Contains the path where the screenshot has been savedInforms of the new size of the screenshot systemShows 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 load progress bar.Shows the minimap window/interface.Shows the camera path file selector, contains the stage and the skinQuit action, can contain optional Runnable to run on accept()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 APISlave 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 loadedUse 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 limit It also contains a boolean indicating whether this comes from the interface.Contains the star brightness multiplier and an optional boolean saying if it comes from the interfaceContains the star brightness power and an optional boolean saying if it comes from the interfaceSet the flag to render stars as billboards or notUpdate the number of nearest stars in star groups.Minimum star opacity.Set a new value for the star point size and a boolean saying if it comes from the interfaceDecrease star point size byConstants.SLIDER_STEP_TINY
Increase star point size byConstants.SLIDER_STEP_TINY
Reset star point size to original valueSet the texture index for starsSwitches stereoscopic profile, contains the index of the new profileStereoscopic 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 and a boolean saying whether it comes from the UIDivide the pace by 2Double the paceContains the name of the check box and a booleanToggles the collapsed state of a GUI pane.Toggles minimap visibilityToggles the pause of the update process.Contains the name of the type, a boolean with the state (on/off) and a boolean indicating if this comes from the interfaceContains the tone mapping type as anSettings.ToneMapping
or a string in [AUTO|EXPOSURE|NONE].Contains the name, the boolean value, and a boolean indicating if this comes from the interfaceContains 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 between 0 and 2 and a boolean if it comes from the UIUpdates the archive view if it is openUpdates the camera recorder.Update external GUIs signal.Updates the load progress bar, contains a float in (0,1)Updates the wiki info window if it is openContains 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 between 0 and 1 -
ANTIALIASING_CMD
Anti aliasing changed, contains the new value for aa -
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 -
BACKGROUND_LOADING_INFO
Empty event which informs that background loading is active -
BLOOM_CMD
Contains the intensity value between 0 and 1 and a boolean for whether it comes from the interface -
UNSHARP_MASK_CMD
Contains the sharpen factor between 0 and 2 and a boolean if it comes from the UI -
BRIGHTNESS_CMD
Contains the brightness level (float) in [-1..1] and an optional boolean indicating whether this comes from the interface -
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 -
CAMERA_CINEMATIC_CMD
Contains a boolean with the cinematic mode state (on/off) and a boolean indicating if this comes from the interface -
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 value between 0 and 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
-