Package | at.fhjoanneum.dmt.umj.core.content |
Class | public class AppPresentationContent |
Inheritance | AppPresentationContent GenericAppContent flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
contentElementCollection : ContentElementCollection [read-only] | GenericAppContent | ||
currentSelectedLanguage : String [read-only] | GenericAppContent | ||
presentationElementCollection : PresentationElementCollection | AppPresentationContent |
Method | Defined By | ||
---|---|---|---|
AppPresentationContent(enforcer:SingletonEnforcer) | AppPresentationContent | ||
buildMediaComponents():void [override] | AppPresentationContent | ||
changeLanguage(language:String):void
changes the language of ALL MultilingualComponents to the new language - default language is defined in AppConfig.GLOBAL_STARTUP_LANGUAGE;
| GenericAppContent | ||
checkIfContentElementsExist():Boolean | GenericAppContent | ||
getContentElement(id:String):ContentElement
getContentElement returns the first contentElement found that matches the overgiven id. | GenericAppContent | ||
[static] | AppPresentationContent | ||
getLocalizedComponent(elementID:String, language:String):GenericMediaComponent
getLocalizedComponent is the SECOND MOST IMPORTANT METHOD! - get a visual representation of an ContentElement as LocalizedComponent!
This MUST be a language specific representation! - language is usually DE or EN
| GenericAppContent | ||
getMultiLingualComponent(elementID:String):MultiLingualComponent
getMultiLingualComponent is ONE OF THE MOST IMPORTANT METHODS - gets a visual representation of an ContentElement within an MultilingualComponent. | GenericAppContent | ||
getPresentationComponent(elementID:String):PresentationComponent | AppPresentationContent | ||
getPresentationElement(elementID:String):PresentationElement | AppPresentationContent | ||
getXMLRepresentation(appendLastTimeSaved:LastTimeSavedChecker = null):String [override] | AppPresentationContent | ||
parseXML(linkedXML:XML):void [override] | AppPresentationContent |
Method | Defined By | ||
---|---|---|---|
dealloc():void | GenericAppContent | ||
getGenericUniqueElementID(prefix:String = generic):String | GenericAppContent | ||
init():void [override] | AppPresentationContent | ||
parseAllContentElements(util:XMLUtil, linkedXML:XML):void
parseAllContentElements defines the algorithm for parsing ALL ContentElements within a loop
| GenericAppContent | ||
parseAndReturnOneContentElement defines the algorithm for parsing ONE ContentElement during the loop
| GenericAppContent |
Event | Summary | Defined By | ||
---|---|---|---|---|
AppPresentationContent | ||||
AppPresentationContent |
presentationElementCollection | property |
presentationElementCollection:PresentationElementCollection
public function get presentationElementCollection():PresentationElementCollection
public function set presentationElementCollection(value:PresentationElementCollection):void
AppPresentationContent | () | Constructor |
public function AppPresentationContent(enforcer:SingletonEnforcer)
enforcer:SingletonEnforcer |
buildMediaComponents | () | method |
override public function buildMediaComponents():void
getInstance | () | method |
getPresentationComponent | () | method |
public function getPresentationComponent(elementID:String):PresentationComponent
Parameters
elementID:String |
PresentationComponent |
getPresentationElement | () | method |
public function getPresentationElement(elementID:String):PresentationElement
Parameters
elementID:String |
PresentationElement |
getXMLRepresentation | () | method |
override public function getXMLRepresentation(appendLastTimeSaved:LastTimeSavedChecker = null):String
Parameters
appendLastTimeSaved:LastTimeSavedChecker (default = null )
|
String |
init | () | method |
override protected function init():void
parseXML | () | method |
override public function parseXML(linkedXML:XML):void
Parameters
linkedXML:XML |
COMPLETE | Event |
PARSE_ERROR | Event |