|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.coder.DecoderRegistry
public final class DecoderRegistry
The DecoderRegistry is used to maintain a table of objects that can be used to decode the different types of object encountered in a Flash file.
Constructor Summary | |
---|---|
DecoderRegistry()
Creates a DecoderRegistry with no decoders yet registered. |
|
DecoderRegistry(DecoderRegistry registry)
Create a new registry and initialize it with the decoders from an existing registry. |
Method Summary | |
---|---|
DecoderRegistry |
copy()
Creates a complete copy of this object. |
SWFFactory<Action> |
getActionDecoder()
Get the decoder that will be used for actions. |
static DecoderRegistry |
getDefault()
Get the default registry. |
SWFFactory<FillStyle> |
getFillStyleDecoder()
Get the decoder that will be used for FillStyle objects. |
SWFFactory<Filter> |
getFilterDecoder()
Get the decoder that will be used for Filter objects. |
SWFFactory<FillStyle> |
getMorphFillStyleDecoder()
Get the decoder that will be used for FillStyle objects used in morphing shapes. |
SWFFactory<MovieTag> |
getMovieDecoder()
Get the decoder that will be used for movie objects. |
SWFFactory<ShapeRecord> |
getShapeDecoder()
Get the decoder that will be used for ShapeRecords. |
void |
setActionDecoder(SWFFactory<Action> factory)
Set the decoder that will be used for actions. |
static void |
setDefault(DecoderRegistry registry)
Set the registry that will be used as the default. |
void |
setFillStyleDecoder(SWFFactory<FillStyle> factory)
Set the decoder that will be used for fill styles in a shape. |
void |
setFilterDecoder(SWFFactory<Filter> factory)
Set the decoder that will be used for filters. |
void |
setMorphFillStyleDecoder(SWFFactory<FillStyle> factory)
Set the decoder that will be used for fill styles in a morphing shape. |
void |
setMovieDecoder(SWFFactory<MovieTag> factory)
Set the decoder that will be used for movie objects. |
void |
setShapeDecoder(SWFFactory<ShapeRecord> factory)
Set the decoder that will be used for shapes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DecoderRegistry()
public DecoderRegistry(DecoderRegistry registry)
registry
- the DeocderRegistry to copy.Method Detail |
---|
public static DecoderRegistry getDefault()
public static void setDefault(DecoderRegistry registry)
registry
- the DecoderRegistry that will replace the existing
default.public DecoderRegistry copy()
copy
in interface Copyable<DecoderRegistry>
public SWFFactory<Filter> getFilterDecoder()
public void setFilterDecoder(SWFFactory<Filter> factory)
factory
- an instance of the class that will be used to decode
the filters defined in Place3 or ButtonShape objects.public SWFFactory<FillStyle> getFillStyleDecoder()
public void setFillStyleDecoder(SWFFactory<FillStyle> factory)
factory
- an instance of the class that will be used to decode
the fill styles in a shape.public SWFFactory<FillStyle> getMorphFillStyleDecoder()
public void setMorphFillStyleDecoder(SWFFactory<FillStyle> factory)
factory
- an instance of the class that will be used to decode
the fill styles in a morphing shape.public SWFFactory<ShapeRecord> getShapeDecoder()
public void setShapeDecoder(SWFFactory<ShapeRecord> factory)
factory
- an instance of the class that will be used to decode
the shape records in a movie.public SWFFactory<Action> getActionDecoder()
public void setActionDecoder(SWFFactory<Action> factory)
factory
- an instance of the class that will be used to decode
the actions in a movie.public SWFFactory<MovieTag> getMovieDecoder()
public void setMovieDecoder(SWFFactory<MovieTag> factory)
factory
- an instance of the class that will be used to decode
the main objects in a movie.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |