Packageat.fhjoanneum.dmt.umj.core.content.entities.presentation
Classpublic class PresentationState
InheritancePresentationState Inheritance GenericEntity Inheritance Object

PRESENTATIONCONTENT ONLY ENTITY: This is a Subclass of GenericEntity and represents ONE SINGLE PresentationState of an PresentationElement (as defined in its XML representation) It can hold its own (ONE) animationElement, contentElement and specialElement.



Public Properties
 PropertyDefined By
  animationElement : AnimationElement
PresentationState
  contentElement : ContentElement
PresentationState
 InheritedelementID : String
[read-only]
GenericEntity
  lastState : Boolean
PresentationState
  newlyAddedDuringRuntime : Boolean
PresentationState
  playheadInSeconds : Number
[read-only]
PresentationState
  specialElement : SpecialElement
PresentationState
Protected Properties
 PropertyDefined By
 Inherited_elementID : String
every tag has an id an you can get it - if nothing was specified in the xml it's a default value.
GenericEntity
Public Methods
 MethodDefined By
  
PresentationState(elementID:String, linkedPlayheadInSeconds:String, finalState:Boolean)
PresentationState
  
PresentationState
 Inherited
rewriteElementID(newElementID:String):void
rewrites the id.
GenericEntity
  
rewritePlayhead(newPlayhead:Number):void
PresentationState
  
setChildren(ce:ContentElement = null, ame:AnimationElement = null, spe:SpecialElement = null):void
PresentationState
Property Detail
animationElementproperty
animationElement:AnimationElement


Implementation
    public function get animationElement():AnimationElement
    public function set animationElement(value:AnimationElement):void
contentElementproperty 
contentElement:ContentElement


Implementation
    public function get contentElement():ContentElement
    public function set contentElement(value:ContentElement):void
lastStateproperty 
lastState:Boolean


Implementation
    public function get lastState():Boolean
    public function set lastState(value:Boolean):void
newlyAddedDuringRuntimeproperty 
newlyAddedDuringRuntime:Boolean


Implementation
    public function get newlyAddedDuringRuntime():Boolean
    public function set newlyAddedDuringRuntime(value:Boolean):void
playheadInSecondsproperty 
playheadInSeconds:Number  [read-only]


Implementation
    public function get playheadInSeconds():Number
specialElementproperty 
specialElement:SpecialElement


Implementation
    public function get specialElement():SpecialElement
    public function set specialElement(value:SpecialElement):void
Constructor Detail
PresentationState()Constructor
public function PresentationState(elementID:String, linkedPlayheadInSeconds:String, finalState:Boolean)



Parameters
elementID:String
 
linkedPlayheadInSeconds:String
 
finalState:Boolean
Method Detail
getXMLNodeRepresentation()method
public function getXMLNodeRepresentation():String

Returns
String
rewritePlayhead()method 
public function rewritePlayhead(newPlayhead:Number):void

Parameters

newPlayhead:Number

setChildren()method 
public function setChildren(ce:ContentElement = null, ame:AnimationElement = null, spe:SpecialElement = null):void

Parameters

ce:ContentElement (default = null)
 
ame:AnimationElement (default = null)
 
spe:SpecialElement (default = null)