Packageat.data
Classpublic class GlobalSettings

This class is used for setting and getting the global variables for the application. The GlobalSettings class can not be instantiated. It uses read/write static variables that are accessible throughout the application.



Public Properties
 PropertyDefined by
  databaseName : String = "eve2.eveDb"
[static] Holds the databaseName value for use in methods that connect to the application database.
GlobalSettings
  formularySpecialty : String
[static] The selection setting for formulary information.
GlobalSettings
  formularyZipCode : int
[static] The formulary zip code setting of the application.
GlobalSettings
  ivaNavigationEnabled : Boolean
[static] Denotes if the navigation feature is on (true) or off (false).
GlobalSettings
  screenHeight : int
[static] Specifies the height of the application content.
GlobalSettings
  screenWidth : int
[static] Specifies the width of the application content.
GlobalSettings
  soundEnabled : Boolean
[static] Denotes if the global audio is on (true) or muted (false).
GlobalSettings
  trainingHardwareEnabled : Boolean
[static] Determines if the training mode is enabled.
GlobalSettings
Property detail
databaseNameproperty
public static var databaseName:String = "eve2.eveDb"

Holds the databaseName value for use in methods that connect to the application database. This is type string and is parsed into type object by the DataInterface methods for use when establishing a SQLConnection instance via the SQLConnection class.

For best practices while setting this variable avoid the use of spaces and unusual characters.

See also

formularySpecialtyproperty 
formularySpecialty:String  [read-write]

The selection setting for formulary information.

The default value is 60603.

Implementation
    public static function get formularySpecialty():String
    public function set formularySpecialty(value:String):void
formularyZipCodeproperty 
formularyZipCode:int  [read-write]

The formulary zip code setting of the application.

Implementation
    public static function get formularyZipCode():int
    public function set formularyZipCode(value:int):void
ivaNavigationEnabledproperty 
ivaNavigationEnabled:Boolean  [read-write]

Denotes if the navigation feature is on (true) or off (false).

The default value is false.

Implementation
    public static function get ivaNavigationEnabled():Boolean
    public function set ivaNavigationEnabled(value:Boolean):void
screenHeightproperty 
screenHeight:int  [read-write]

Specifies the height of the application content.

The default value is 768.

Implementation
    public static function get screenHeight():int
    public function set screenHeight(value:int):void
screenWidthproperty 
screenWidth:int  [read-write]

Specifies the width of the application content.

The default value is 1024.

Implementation
    public static function get screenWidth():int
    public function set screenWidth(value:int):void
soundEnabledproperty 
soundEnabled:Boolean  [read-write]

Denotes if the global audio is on (true) or muted (false).

The default value is true.

Implementation
    public static function get soundEnabled():Boolean
    public function set soundEnabled(value:Boolean):void
trainingHardwareEnabledproperty 
trainingHardwareEnabled:Boolean  [read-write]

Determines if the training mode is enabled.

The default value is false.

Implementation
    public static function get trainingHardwareEnabled():Boolean
    public function set trainingHardwareEnabled(value:Boolean):void