home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2011 May / ME_2011_05.iso / Galileo-Video-Tutorial / system / player.swf / scripts / com / je / model / DictionaryModel.as < prev    next >
Encoding:
Text File  |  2010-11-30  |  3.2 KB  |  126 lines

  1. package com.je.model
  2. {
  3.    import flash.events.EventDispatcher;
  4.    
  5.    public class DictionaryModel extends EventDispatcher
  6.    {
  7.       private static var allowInstantiation:Boolean;
  8.       
  9.       private static var instance:DictionaryModel = null;
  10.       
  11.       public var startLabel:String;
  12.       
  13.       public var inhaltLabel:String;
  14.       
  15.       public var indexLabel:String;
  16.       
  17.       public var bookmarksLabel:String;
  18.       
  19.       public var emptybookmarktext:String;
  20.       
  21.       public var emptybookmarkimage:String;
  22.       
  23.       public var emptybookmarkimagelabel:String;
  24.       
  25.       public var helpLabel:String;
  26.       
  27.       public var settingsLabel:String;
  28.       
  29.       public var searchInputLabel:String;
  30.       
  31.       public var minLabel:String;
  32.       
  33.       public var stdLabel:String;
  34.       
  35.       public var spielDauerLabel:String;
  36.       
  37.       public var chapterLabel:String;
  38.       
  39.       public var videoLabel:String;
  40.       
  41.       public var appellLabel:String;
  42.       
  43.       public var trefferLabel:String;
  44.       
  45.       public var ergebnisseLabel:String;
  46.       
  47.       public var indexWindowLabel:String;
  48.       
  49.       public var bookmarkWindowLabel:String;
  50.       
  51.       public var helpWindowLabel:String;
  52.       
  53.       public var settingsWindowLabel:String;
  54.       
  55.       public var searchWindowLabel:String;
  56.       
  57.       public var startOptionLabel:Vector.<String>;
  58.       
  59.       public var smoothingLabel:Vector.<String>;
  60.       
  61.       public var historyLabel:Vector.<String>;
  62.       
  63.       public var bookmarkButtonLabel:String;
  64.       
  65.       public var soundButtonLabel:String;
  66.       
  67.       public var exerciseMaterialButtonLabel:String;
  68.       
  69.       public var modiButtonLabel:String;
  70.       
  71.       public var exerciseMaterialEmptyText:String;
  72.       
  73.       public var hilfeHeadline:String;
  74.       
  75.       public var bookmarkWindowTitle:String;
  76.       
  77.       public var bookmarkWindowBody:String;
  78.       
  79.       public var bookmarkWindowConfirm:String;
  80.       
  81.       public var bookmarkWindowCancel:String;
  82.       
  83.       public var fullscreenDisplayLabel1:String;
  84.       
  85.       public var fullscreenDisplayLabel2:String;
  86.       
  87.       public var fullscreenDisplayLabel3:String;
  88.       
  89.       public var defaultModi:String;
  90.       
  91.       public var fullscreenModi:String;
  92.       
  93.       public var miniModi:String;
  94.       
  95.       public var nextLabel:String;
  96.       
  97.       public var prevLabel:String;
  98.       
  99.       public var jumpToLastPosLabel:String;
  100.       
  101.       public function DictionaryModel()
  102.       {
  103.          super();
  104.          this.startOptionLabel = new Vector.<String>();
  105.          this.smoothingLabel = new Vector.<String>();
  106.          this.historyLabel = new Vector.<String>();
  107.          if(!allowInstantiation)
  108.          {
  109.             throw new Error("Error: Instantiation failed: Use SingletonDemo.getInstance() instead of new.");
  110.          }
  111.       }
  112.       
  113.       public static function getInstance() : DictionaryModel
  114.       {
  115.          if(instance == null)
  116.          {
  117.             allowInstantiation = true;
  118.             instance = new DictionaryModel();
  119.             allowInstantiation = false;
  120.          }
  121.          return instance;
  122.       }
  123.    }
  124. }
  125.  
  126.