org.concord.flash.player
Class FMovieBuilder.TextBuilder

java.lang.Object
  |
  +--org.concord.flash.player.FMovieBuilder.TextBuilder
All Implemented Interfaces:
com.anotherbigidea.flash.interfaces.SWFText
Enclosing class:
FMovieBuilder

protected class FMovieBuilder.TextBuilder
extends java.lang.Object
implements com.anotherbigidea.flash.interfaces.SWFText

A SWFText implementation that builds a Text object


Field Summary
protected  com.anotherbigidea.flash.structs.Color color
           
protected  com.anotherbigidea.flash.movie.Font font
           
protected  boolean hasX
           
protected  boolean hasY
           
protected  double size
           
protected  com.anotherbigidea.flash.movie.Text t
           
protected  double x
           
protected  double y
           
 
Constructor Summary
protected FMovieBuilder.TextBuilder(com.anotherbigidea.flash.movie.Text text)
           
 
Method Summary
 void color(com.anotherbigidea.flash.structs.Color color)
          SWFText interface
 void done()
          SWFText interface
 void font(int fontId, int textHeight)
          SWFText interface
 void setX(int x)
          SWFText interface
 void setY(int y)
          SWFText interface
 void text(int[] glyphIndices, int[] glyphAdvances)
          SWFText interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

t

protected com.anotherbigidea.flash.movie.Text t

font

protected com.anotherbigidea.flash.movie.Font font

size

protected double size

color

protected com.anotherbigidea.flash.structs.Color color

x

protected double x

y

protected double y

hasX

protected boolean hasX

hasY

protected boolean hasY
Constructor Detail

FMovieBuilder.TextBuilder

protected FMovieBuilder.TextBuilder(com.anotherbigidea.flash.movie.Text text)
Method Detail

font

public void font(int fontId,
                 int textHeight)
SWFText interface
Specified by:
font in interface com.anotherbigidea.flash.interfaces.SWFText

color

public void color(com.anotherbigidea.flash.structs.Color color)
SWFText interface
Specified by:
color in interface com.anotherbigidea.flash.interfaces.SWFText

setX

public void setX(int x)
SWFText interface
Specified by:
setX in interface com.anotherbigidea.flash.interfaces.SWFText

setY

public void setY(int y)
SWFText interface
Specified by:
setY in interface com.anotherbigidea.flash.interfaces.SWFText

text

public void text(int[] glyphIndices,
                 int[] glyphAdvances)
SWFText interface
Specified by:
text in interface com.anotherbigidea.flash.interfaces.SWFText

done

public void done()
SWFText interface
Specified by:
done in interface com.anotherbigidea.flash.interfaces.SWFText