Modifier and Type | Field and Description |
---|---|
Iterable<SWFTarget.SWFFrameInfo> |
frameInfos
Iterable of SWFTarget.SWFFrameInfo s which represents the
skeleton of a SWF being built by a SWFTarget . |
Constructor and Description |
---|
SWFTarget.FramesInformation(Iterable<SWFTarget.SWFFrameInfo> frameInfos) |
Modifier and Type | Method and Description |
---|---|
protected SWFFrame |
createFrame(SWFTarget swfTarget,
SWFTarget.SWFFrameInfo frameInfo,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates a
SWFFrame for a SWFTarget.SWFFrameInfo . |
protected void |
createFrames(SWFTarget swfTarget,
ISWF swf,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates all the
SWFFrame s for the SWF skeleton represented by
this SWFTarget.FramesInformation and adds them to the specified
ISWF . |
public final Iterable<SWFTarget.SWFFrameInfo> frameInfos
Iterable
of SWFTarget.SWFFrameInfo
s which represents the
skeleton of a SWF being built by a SWFTarget
.public SWFTarget.FramesInformation(Iterable<SWFTarget.SWFFrameInfo> frameInfos)
protected final SWFFrame createFrame(SWFTarget swfTarget, SWFTarget.SWFFrameInfo frameInfo, com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits, Set<ICompilationUnit> emittedCompilationUnits, Collection<ICompilerProblem> problems) throws InterruptedException
SWFFrame
for a SWFTarget.SWFFrameInfo
.swfTarget
- The SWFTarget
that is building the SWF to
which the newly created SWFFrame
will be added.frameInfo
- The SWFTarget.SWFFrameInfo
that represents the skeleton
of the SWF frame to create.builtCompilationUnits
- The ImmutableSet
of
ICompilationUnit
s that have been built to create the SWF
being built by the specified SWFTarget
. This Set
is
used to write an assert.emittedCompilationUnits
- The Set
of
ICompilationUnit
s that any ICompilationUnit
s added to
this frame should be added to. This Set
is used to ensure
that each ICompilationUnit
is only added to a single frame in
a SWF.problems
- Collection
of ICompilerProblem
s that
any ICompilerProblem
s from any ICompilationUnit
added
to the new SWFFrame
should be added to.SWFFrame
.InterruptedException
protected void createFrames(SWFTarget swfTarget, ISWF swf, com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits, Set<ICompilationUnit> emittedCompilationUnits, Collection<ICompilerProblem> problems) throws InterruptedException
SWFFrame
s for the SWF skeleton represented by
this SWFTarget.FramesInformation
and adds them to the specified
ISWF
.
This method is overridden by sub-classes of SWFTarget.FramesInformation
.
swfTarget
- The SWFTarget
that is building the SWF to
which the newly created SWFFrame
s will be added.swf
- The ISWF
to which the new created SWFFrame
s will be added.builtCompilationUnits
- The ImmutableSet
of
ICompilationUnit
s that have been built to create the SWF
being built by the specified SWFTarget
. Sub-classes use this
set to generate code that supports startup of the Flex framework.emittedCompilationUnits
- The Set
of
ICompilationUnit
s that any ICompilationUnit
s added to
this frame should be added to. This Set
is used to ensure
that each ICompilationUnit
is only added to a single frame in
a SWF.problems
- Collection
of ICompilerProblem
s that
any ICompilerProblem
s from any ICompilationUnit
added
to the new SWFFrame
s should be added to.InterruptedException
Copyright © 2016 The Apache Software Foundation. All rights reserved.