NclDocument class

Constructors

NclDocument.fromContent(String xml, {String? docSrc, GingaCC? gingacc})
factory

Properties

body → Context
no setter
config → GingaConfig
no setter
currentFocusNodeId → String?
no setter
docSrc → String
final
docUri ↔ Uri?
getter/setter pair
envVariables ↔ Map<String, String>
latefinal
gingacc → GingaCC
final
hashCode → int
The hash code for this object.
no setterinherited
no setter
headChildren → List<Element>
no setter
isPlaying ↔ bool
getter/setter pair
loadedProfiles → Map<String, UserProfileQuery>
no setter
onStateChanged ↔ void Function()?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduler → NclScheduler
latefinal
systemProperties → Map<String, String>
no setter
systemVariables → Map<String, String>
no setter
uiQueue → List<NclAction>
no setter
users → Users
no setter
virtualClock ↔ int
getter/setter pair

Methods

doNclEditingCommand(String command) → void
evaluateRule(String ruleId) → bool
getActiveMedia() → List<Media>
getActiveMediaByFocusIndex(String focusIndex) → Media?
getAllSettingsNodes() → List<Settings>
getBodyState() → NclStateType
getConnectorById(String id) → Element?
getContextById(String id) → Context?
getDescriptorForMedia(Media media) → Descriptor?
getElementById(String id) → Element?
getFocusIndexForMedia(Media media) → String?
getMediaById(String id) → Media?
getNodeById(String id) → Node?
getPropertyValue(Node node, String propertyName) → String?
getSettings() → Settings
getSwitchById(String id) → Switch?
handleKey(String keyCode) → bool
handleSelection([String? componentId, String keyCode = 'ENTER']) → void
moveFocus(String direction) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveSwitch(Switch switchNode) → Node?
setFocus(String mediaId) → void
start() → void
stop() → void
tick([int incrementMs = 0]) → Set<Media>
tickIndefinitely({int ticksPerSecond = 10, void onStop()?}) → void
toString() → String
A string representation of this object.
inherited
triggerSelection(String componentId, String keyCode) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromSrc(String docSrc, {GingaCC? gingacc}) → Future<NclDocument>