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

Quick Search    Search Deep

com.anotherbigidea.flash.movie
Class Button.Layer  view Button.Layer download Button.Layer.java

java.lang.Object
  extended bycom.anotherbigidea.flash.movie.Button.Layer
Enclosing class:
Button

public static class Button.Layer
extends java.lang.Object

A layer of a button. The layer defines a symbol (Shape etc.) with associated Transform and color transform. There may be many layers in a button and each layer may take part in one or more of the 4 button states (up,over,down,hit-test).


Field Summary
protected  com.anotherbigidea.flash.structs.AlphaTransform cxform
           
protected  int depth
           
protected  Transform matrix
           
protected  Symbol symbol
           
protected  boolean usedForDown
           
protected  boolean usedForHitArea
           
protected  boolean usedForOver
           
protected  boolean usedForUp
           
 
Constructor Summary
Button.Layer(Symbol symbol, Transform matrix, com.anotherbigidea.flash.structs.AlphaTransform cxform, int depth, boolean usedForHitArea, boolean usedForUp, boolean usedForDown, boolean usedForOver)
           
 
Method Summary
 com.anotherbigidea.flash.structs.AlphaTransform getColoring()
           
 int getDepth()
           
protected  com.anotherbigidea.flash.structs.ButtonRecord2 getRecord(Movie movie, com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter, com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
           
 Symbol getSymbol()
           
 Transform getTransform()
           
 boolean isUsedForDown()
           
 boolean isUsedForHitArea()
           
 boolean isUsedForOver()
           
 boolean isUsedForUp()
           
 void setColoring(com.anotherbigidea.flash.structs.AlphaTransform cxform)
           
 void setDepth(int depth)
           
 void setSymbol(Symbol symbol)
           
 void setTransform(Transform matrix)
           
 void usedForDown(boolean f)
           
 void usedForHitArea(boolean f)
           
 void usedForOver(boolean f)
           
 void usedForUp(boolean f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

symbol

protected Symbol symbol

matrix

protected Transform matrix

cxform

protected com.anotherbigidea.flash.structs.AlphaTransform cxform

depth

protected int depth

usedForHitArea

protected boolean usedForHitArea

usedForUp

protected boolean usedForUp

usedForDown

protected boolean usedForDown

usedForOver

protected boolean usedForOver
Constructor Detail

Button.Layer

public Button.Layer(Symbol symbol,
                    Transform matrix,
                    com.anotherbigidea.flash.structs.AlphaTransform cxform,
                    int depth,
                    boolean usedForHitArea,
                    boolean usedForUp,
                    boolean usedForDown,
                    boolean usedForOver)
Method Detail

getSymbol

public Symbol getSymbol()

getTransform

public Transform getTransform()

getColoring

public com.anotherbigidea.flash.structs.AlphaTransform getColoring()

getDepth

public int getDepth()

isUsedForHitArea

public boolean isUsedForHitArea()

isUsedForUp

public boolean isUsedForUp()

isUsedForDown

public boolean isUsedForDown()

isUsedForOver

public boolean isUsedForOver()

setSymbol

public void setSymbol(Symbol symbol)

setTransform

public void setTransform(Transform matrix)

setColoring

public void setColoring(com.anotherbigidea.flash.structs.AlphaTransform cxform)

setDepth

public void setDepth(int depth)

usedForHitArea

public void usedForHitArea(boolean f)

usedForUp

public void usedForUp(boolean f)

usedForDown

public void usedForDown(boolean f)

usedForOver

public void usedForOver(boolean f)

getRecord

protected com.anotherbigidea.flash.structs.ButtonRecord2 getRecord(Movie movie,
                                                                   com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
                                                                   com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
                                                            throws java.io.IOException