Container class
- Inheritance
-
- Object
- RuntimeObject
- Container
- Mixed in types
Constructors
Properties
-
content
↔ List<
RuntimeObject> -
getter/setter pair
- countFlags ↔ int
-
getter/setter pair
- countingAtStartOnly ↔ bool
-
getter/setter pair
- debugMetadata ↔ DebugMetadata?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasValidName → bool
-
no setteroverride
- internalPathToFirstLeafContent → Path
-
no setter
- name ↔ String
-
getter/setter pairoverride-getter
-
namedContent
↔ Map<
String, NamedContent> -
getter/setter pair
-
namedOnlyContent
↔ Map<
String, RuntimeObject> ? -
getter/setter pair
- ownDebugMetadata → DebugMetadata
-
no setterinherited
- parent ↔ RuntimeObject?
-
RuntimeObjects can be included in the main Story as a hierarchy.
Usually parents are Container objects. (TODO: Always?)
getter/setter pairinherited
- path → Path
-
no setterinherited
- pathToFirstLeafContent → Path?
-
no setter
- rootContentContainer → Container?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- turnIndexShouldBeCounted ↔ bool
-
getter/setter pair
- visitsShouldBeCounted ↔ bool
-
getter/setter pair
Methods
-
addContent(
RuntimeObject contentObj) → void -
AddContent(
List< RuntimeObject> contentList) → void -
addContents(
Iterable< RuntimeObject> contentList) → void -
AddContentsOfContainer(
Container otherContainer) → void -
addToNamedContentOnly(
NamedContent namedContentObj) → void -
AddToNamedContentOnly(
NamedContent namedContentObj) → void -
compactPathString(
Path otherPath) → String -
inherited
-
CompactPathString(
Path otherPath) → String -
inherited
-
contentAtPath(
Path path, {int partialPathStart = 0, int partialPathLength = -1}) → SearchResult -
contentWithPathComponent(
Component component) → RuntimeObject? -
convertPathToRelative(
Path globalPath) → Path -
inherited
-
debugLineNumberOfPath(
Path? path) → int? -
inherited
-
insertContent(
RuntimeObject contentObj, int index) → void -
InsertContent(
RuntimeObject contentObj, int index) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvePath(
Path? path) → SearchResult -
inherited
-
setChild<
T extends RuntimeObject> (T? obj, T? value) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tryAddNamedContent(
RuntimeObject contentObj) → void -
TryAddNamedContent(
RuntimeObject contentObj) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited