Class fvaswing.components.FvLocalisationChooser

Implemented Interfaces

LocalisationListener

Description

Chooser dialog to customize application language.

Dialog is open in modal mode to avoid user interactions during customisation process.

Modifications can be process at runtime or at application restart
Using a SharedLocal object saved object.

Use enabledRuntimeSwapping property to define if runtime is enabled or not.

Localisation system is only available using Fever configuration system

Example

   FvLocalisationChooser.enabledRuntimeSwapping = true;
   FvLocalisationChooser.open();
 

Field Index

enabledRuntimeSwapping

Method Index

getInstance(), onLocalisationUpdate(), open()

Field Detail

enabledRuntimeSwapping

static public enabledRuntimeSwapping:Boolean
Indicates if localisation can be apply at runtime or only at application restart. Default is true.

Method Detail

getInstance

static public function getInstance():FvLocalisationChooser

Returns FvLocalisationChooser instance.

open

public function open():Void

Opens dialog.

onLocalisationUpdate

public function onLocalisationUpdate(event:LocalisationEvent):Void

Description copied from LocalisationListener

Triggered when Localisation language change.

Specified By

onLocalisationUpdate() in fever.app.local.LocalisationListener