home *** CD-ROM | disk | FTP | other *** search
- package com.je.model
- {
- import flash.events.EventDispatcher;
-
- public class DictionaryModel extends EventDispatcher
- {
- private static var allowInstantiation:Boolean;
-
- private static var instance:DictionaryModel = null;
-
- public var startLabel:String;
-
- public var inhaltLabel:String;
-
- public var indexLabel:String;
-
- public var bookmarksLabel:String;
-
- public var emptybookmarktext:String;
-
- public var emptybookmarkimage:String;
-
- public var emptybookmarkimagelabel:String;
-
- public var helpLabel:String;
-
- public var settingsLabel:String;
-
- public var searchInputLabel:String;
-
- public var minLabel:String;
-
- public var stdLabel:String;
-
- public var spielDauerLabel:String;
-
- public var chapterLabel:String;
-
- public var videoLabel:String;
-
- public var appellLabel:String;
-
- public var trefferLabel:String;
-
- public var ergebnisseLabel:String;
-
- public var indexWindowLabel:String;
-
- public var bookmarkWindowLabel:String;
-
- public var helpWindowLabel:String;
-
- public var settingsWindowLabel:String;
-
- public var searchWindowLabel:String;
-
- public var startOptionLabel:Vector.<String>;
-
- public var smoothingLabel:Vector.<String>;
-
- public var historyLabel:Vector.<String>;
-
- public var bookmarkButtonLabel:String;
-
- public var soundButtonLabel:String;
-
- public var exerciseMaterialButtonLabel:String;
-
- public var modiButtonLabel:String;
-
- public var exerciseMaterialEmptyText:String;
-
- public var hilfeHeadline:String;
-
- public var bookmarkWindowTitle:String;
-
- public var bookmarkWindowBody:String;
-
- public var bookmarkWindowConfirm:String;
-
- public var bookmarkWindowCancel:String;
-
- public var fullscreenDisplayLabel1:String;
-
- public var fullscreenDisplayLabel2:String;
-
- public var fullscreenDisplayLabel3:String;
-
- public var defaultModi:String;
-
- public var fullscreenModi:String;
-
- public var miniModi:String;
-
- public var nextLabel:String;
-
- public var prevLabel:String;
-
- public var jumpToLastPosLabel:String;
-
- public function DictionaryModel()
- {
- super();
- this.startOptionLabel = new Vector.<String>();
- this.smoothingLabel = new Vector.<String>();
- this.historyLabel = new Vector.<String>();
- if(!allowInstantiation)
- {
- throw new Error("Error: Instantiation failed: Use SingletonDemo.getInstance() instead of new.");
- }
- }
-
- public static function getInstance() : DictionaryModel
- {
- if(instance == null)
- {
- allowInstantiation = true;
- instance = new DictionaryModel();
- allowInstantiation = false;
- }
- return instance;
- }
- }
- }
-
-