Graphical and localisation properties for FvFileChooser component.
You can redefine icons used for 'home' and 'parent' button using homeIcon and parentIcon properties.
You can redefine default used icons for 'folder' and 'file' itemu sing fileIcon and folderIcon properties.
Modifications are applied to all instanciated FvFileChooser as localisation work with Singleton design.
Default localisation use 'english' language.
FvFileChooser in french for example :
var resource : FvFileChooserResources = FvFileChooserResources.getInstance(); resource.openLabel = "Ouvrir"; resource.cancelLabel = "Annuler"; resource.lookIn = "Chercher dans :"; resource.fileName = "Nom de fichier :"; resource.fileType = "Type de fichier :"; var chooser : FvFileChooser = new FvFileChooser(); chooser.showOpenDialog();
static public OPEN:Numberstatic public SAVE:Numberstatic public BROWSE:Numberstatic public CUSTOM:Numberpublic openLabel:Stringpublic saveLabel:Stringpublic folderLabel:Stringpublic cancelLabel:Stringpublic lookInLabel:Stringpublic fileTypeLabel:Stringpublic fileNameLabel:Stringpublic noPreviewLabel:Stringpublic loadPreviewLabel:Stringpublic uploadLabel:Stringpublic createFolderLabel:Stringpublic homeIcon:Iconpublic parentIcon:Iconpublic folderIcon:Iconpublic fileIcon:Iconpublic uploadIcon:Iconpublic refreshIcon:Iconpublic createIcon:Iconstatic public function getInstance():FvFileChooserResourcesReturns FvFileChooserResources instance.
Singleton design
public function onLocalisationUpdate(event:LocalisationEvent):VoidDescription copied from Resources
Triggered when Localisation language change.
onLocalisationUpdate() in fever.app.local.LocalisationListener