Package gaia.cu9.ari.gaiaorbit.util
Class GlobalConf
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.GlobalConf
-
public class GlobalConf extends java.lang.Object
Holds the global configuration options
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlobalConf.ControlsConf
static class
GlobalConf.DataConf
Holds all configuration values related to data.static class
GlobalConf.FrameConf
Holds the configuration for the output frame subsystem and the camera recording.static interface
GlobalConf.IConf
static class
GlobalConf.ImageFormat
static class
GlobalConf.PerformanceConf
static class
GlobalConf.PostprocessConf
static class
GlobalConf.ProgramConf
static class
GlobalConf.RuntimeConf
Runtime configuration values, which are never persisted.static class
GlobalConf.SceneConf
Contains preferences and attributes which define the scenestatic class
GlobalConf.ScreenConf
static class
GlobalConf.ScreenshotConf
static class
GlobalConf.ScreenshotMode
static class
GlobalConf.SpacecraftConf
static class
GlobalConf.VersionConf
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APPLICATION_NAME
static java.lang.String
APPLICATION_SHORT_NAME
static java.lang.String
ASSETS_LOC
static java.lang.String
AUTHOR_AFFILIATION
static java.lang.String
AUTHOR_EMAIL
static java.lang.String
AUTHOR_NAME
static java.util.List<GlobalConf.IConf>
configurations
static GlobalConf.ControlsConf
controls
static GlobalConf.DataConf
data
static java.lang.String
DOCUMENTATION
static GlobalConf.FrameConf
frame
static java.lang.String
ICON_URL
static GlobalConf.PerformanceConf
performance
static GlobalConf.PostprocessConf
postprocess
static GlobalConf.ProgramConf
program
static GlobalConf.RuntimeConf
runtime
static float
SCALE_FACTOR
static GlobalConf.SceneConf
scene
static GlobalConf.ScreenConf
screen
static GlobalConf.ScreenshotConf
screenshot
static GlobalConf.SpacecraftConf
spacecraft
static GlobalConf.VersionConf
version
static java.lang.String
WEBPAGE
static java.lang.String
WEBPAGE_DOWNLOADS
-
Constructor Summary
Constructors Constructor Description GlobalConf()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getShortApplicationName()
static java.lang.String
getSuperShortApplicationName()
static void
initialize(GlobalConf.VersionConf vc, GlobalConf.ProgramConf pc, GlobalConf.SceneConf sc, GlobalConf.DataConf dc, GlobalConf.RuntimeConf rc, GlobalConf.PostprocessConf ppc, GlobalConf.PerformanceConf pfc, GlobalConf.FrameConf fc, GlobalConf.ScreenConf scrc, GlobalConf.ScreenshotConf shc, GlobalConf.ControlsConf cc, GlobalConf.SpacecraftConf scc)
Initialises the propertiesstatic boolean
initialized()
static void
updateScaleFactor(float sf)
-
-
-
Field Detail
-
APPLICATION_NAME
public static final java.lang.String APPLICATION_NAME
- See Also:
- Constant Field Values
-
APPLICATION_SHORT_NAME
public static final java.lang.String APPLICATION_SHORT_NAME
- See Also:
- Constant Field Values
-
WEBPAGE
public static final java.lang.String WEBPAGE
- See Also:
- Constant Field Values
-
WEBPAGE_DOWNLOADS
public static final java.lang.String WEBPAGE_DOWNLOADS
- See Also:
- Constant Field Values
-
DOCUMENTATION
public static final java.lang.String DOCUMENTATION
- See Also:
- Constant Field Values
-
ICON_URL
public static final java.lang.String ICON_URL
- See Also:
- Constant Field Values
-
AUTHOR_NAME
public static final java.lang.String AUTHOR_NAME
- See Also:
- Constant Field Values
-
AUTHOR_EMAIL
public static final java.lang.String AUTHOR_EMAIL
- See Also:
- Constant Field Values
-
AUTHOR_AFFILIATION
public static final java.lang.String AUTHOR_AFFILIATION
- See Also:
- Constant Field Values
-
ASSETS_LOC
public static final java.lang.String ASSETS_LOC
-
SCALE_FACTOR
public static float SCALE_FACTOR
-
configurations
public static java.util.List<GlobalConf.IConf> configurations
-
frame
public static GlobalConf.FrameConf frame
-
screen
public static GlobalConf.ScreenConf screen
-
program
public static GlobalConf.ProgramConf program
-
data
public static GlobalConf.DataConf data
-
scene
public static GlobalConf.SceneConf scene
-
runtime
public static GlobalConf.RuntimeConf runtime
-
screenshot
public static GlobalConf.ScreenshotConf screenshot
-
performance
public static GlobalConf.PerformanceConf performance
-
postprocess
public static GlobalConf.PostprocessConf postprocess
-
controls
public static GlobalConf.ControlsConf controls
-
spacecraft
public static GlobalConf.SpacecraftConf spacecraft
-
version
public static GlobalConf.VersionConf version
-
-
Method Detail
-
updateScaleFactor
public static void updateScaleFactor(float sf)
-
initialized
public static boolean initialized()
-
initialize
public static void initialize(GlobalConf.VersionConf vc, GlobalConf.ProgramConf pc, GlobalConf.SceneConf sc, GlobalConf.DataConf dc, GlobalConf.RuntimeConf rc, GlobalConf.PostprocessConf ppc, GlobalConf.PerformanceConf pfc, GlobalConf.FrameConf fc, GlobalConf.ScreenConf scrc, GlobalConf.ScreenshotConf shc, GlobalConf.ControlsConf cc, GlobalConf.SpacecraftConf scc) throws java.lang.Exception
Initialises the properties- Throws:
java.lang.Exception
-
getShortApplicationName
public static java.lang.String getShortApplicationName()
-
getSuperShortApplicationName
public static java.lang.String getSuperShortApplicationName()
-
-