home *** CD-ROM | disk | FTP | other *** search
- package com.je.model
- {
- import com.je.events.ApplicationEvent;
- import com.je.model.vo.HilfeInfoVO;
- import com.je.model.vo.Lesson;
- import com.je.model.vo.TrainerInfo;
- import com.je.model.vo.TrainingsInfo;
- import controller.SharedObjectController;
- import de.galileopress.vt.navigation.NavigationBoxItemVO;
- import org.robotlegs.mvcs.Actor;
-
- public class ApplicationModel extends Actor
- {
- public var mainXmlPath:String;
-
- private var _trainingInfo:TrainingsInfo;
-
- private var _trainerInfo:TrainerInfo;
-
- private var _chapterList:ChapterList;
-
- private var _helpChapterList:ChapterList;
-
- private var _currentLesson:Lesson;
-
- public var boxNavigationValueObject:Vector.<NavigationBoxItemVO>;
-
- public var hilfeInfos:Vector.<HilfeInfoVO>;
-
- public var videoSmoothing:Boolean = true;
-
- public var videoStart:Boolean = true;
-
- public var copyrightUrl:String;
-
- public var copyrightUrlLabel:String;
-
- public function ApplicationModel()
- {
- super();
- }
-
- public function get currentLesson() : Lesson
- {
- return this._currentLesson;
- }
-
- public function set currentLesson(param1:Lesson) : void
- {
- this._currentLesson = param1;
- }
-
- public function get trainingInfo() : TrainingsInfo
- {
- return this._trainingInfo;
- }
-
- public function updateTrainingInfo(param1:TrainingsInfo) : void
- {
- var _loc2_:SharedObjectController = SharedObjectController.getInstance(param1.isbn);
- this._trainingInfo = param1;
- dispatch(new ApplicationEvent(ApplicationEvent.TRAININGS_INFO_CHANGED));
- }
-
- public function updateTrainerInfo(param1:TrainerInfo) : void
- {
- this._trainerInfo = param1;
- dispatch(new ApplicationEvent(ApplicationEvent.TRAINER_INFO_CHANGED));
- }
-
- public function get trainerInfo() : TrainerInfo
- {
- return this._trainerInfo;
- }
-
- public function get chapterList() : ChapterList
- {
- return this._chapterList;
- }
-
- public function updateChapterList(param1:ChapterList) : void
- {
- this._chapterList = param1;
- }
-
- public function get helpChapterList() : ChapterList
- {
- return this._helpChapterList;
- }
-
- public function updateHelpChapterList(param1:ChapterList) : void
- {
- this._helpChapterList = param1;
- }
- }
- }
-
-