Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.movie
Class Symbol  view Symbol download Symbol.java

java.lang.Object
  extended bycom.anotherbigidea.flash.movie.Symbol
Direct Known Subclasses:
Button, EditField, Font, Image, ImportedSymbol, MorphShape, MovieClip, QTMovie, Shape, Sound, Text

public abstract class Symbol
extends java.lang.Object

Base class for all defined symbols


Field Summary
protected  int id
           
 
Constructor Summary
protected Symbol()
           
protected Symbol(int id)
           
 
Method Summary
protected  int define(Movie movie, com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter, com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
          Make sure that the Symbol is fully defined in the given Movie and return the character id
protected abstract  int defineSymbol(Movie movie, com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter, com.anotherbigidea.flash.interfaces.SWFTagTypes definitionwriter)
          Override to provide symbol definition
 int getId()
          Get the internal SWF id for the symbol.
protected  int getNextId(Movie movie)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id
Constructor Detail

Symbol

protected Symbol()

Symbol

protected Symbol(int id)
Method Detail

getId

public int getId()
Get the internal SWF id for the symbol. This will always be zero for a Movie that was not loaded from an existing SWF until the Movie is written out.


define

protected int define(Movie movie,
                     com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
                     com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
              throws java.io.IOException
Make sure that the Symbol is fully defined in the given Movie and return the character id


getNextId

protected int getNextId(Movie movie)

defineSymbol

protected abstract int defineSymbol(Movie movie,
                                    com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
                                    com.anotherbigidea.flash.interfaces.SWFTagTypes definitionwriter)
                             throws java.io.IOException
Override to provide symbol definition