|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.Button.Layer
public static class Button.Layer
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 AlphaTransform |
cxform
Description of the Field |
protected int |
depth
Description of the Field |
protected Transform |
matrix
Description of the Field |
protected Symbol |
symbol
Description of the Field |
protected boolean |
usedForDown
Description of the Field |
protected boolean |
usedForHitArea
Description of the Field |
protected boolean |
usedForOver
Description of the Field |
protected boolean |
usedForUp
Description of the Field |
| Constructor Summary | |
|---|---|
Button.Layer(Symbol symbol,
Transform matrix,
AlphaTransform cxform,
int depth,
boolean usedForHitArea,
boolean usedForUp,
boolean usedForDown,
boolean usedForOver)
|
|
| Method Summary | |
|---|---|
AlphaTransform |
getColoring()
Gets the coloring attribute of the Layer object |
int |
getDepth()
Gets the depth attribute of the Layer object |
protected ButtonRecord2 |
getRecord(Movie movie,
SWFTagTypes timelineWriter,
SWFTagTypes definitionWriter)
Gets the record attribute of the Layer object |
Symbol |
getSymbol()
Gets the symbol attribute of the Layer object |
Transform |
getTransform()
Gets the transform attribute of the Layer object |
boolean |
isUsedForDown()
Gets the usedForDown attribute of the Layer object |
boolean |
isUsedForHitArea()
Gets the usedForHitArea attribute of the Layer object |
boolean |
isUsedForOver()
Gets the usedForOver attribute of the Layer object |
boolean |
isUsedForUp()
Gets the usedForUp attribute of the Layer object |
void |
setColoring(AlphaTransform cxform)
Sets the coloring attribute of the Layer object |
void |
setDepth(int depth)
Sets the depth attribute of the Layer object |
void |
setSymbol(Symbol symbol)
Sets the symbol attribute of the Layer object |
void |
setTransform(Transform matrix)
Sets the transform attribute of the Layer object |
void |
usedForDown(boolean f)
Description of the Method |
void |
usedForHitArea(boolean f)
Description of the Method |
void |
usedForOver(boolean f)
Description of the Method |
void |
usedForUp(boolean f)
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Symbol symbol
protected Transform matrix
protected AlphaTransform cxform
protected int depth
protected boolean usedForHitArea
protected boolean usedForUp
protected boolean usedForDown
protected boolean usedForOver
| Constructor Detail |
|---|
public Button.Layer(Symbol symbol,
Transform matrix,
AlphaTransform cxform,
int depth,
boolean usedForHitArea,
boolean usedForUp,
boolean usedForDown,
boolean usedForOver)
depth - should be >= 1 and there should only be one
symbol on any layersymbol - Description of the Parametermatrix - Description of the Parametercxform - Description of the ParameterusedForHitArea - Description of the ParameterusedForUp - Description of the ParameterusedForDown - Description of the ParameterusedForOver - Description of the Parameter| Method Detail |
|---|
public Symbol getSymbol()
public Transform getTransform()
public AlphaTransform getColoring()
public int getDepth()
public boolean isUsedForHitArea()
public boolean isUsedForUp()
public boolean isUsedForDown()
public boolean isUsedForOver()
public void setSymbol(Symbol symbol)
symbol - The new symbol valuepublic void setTransform(Transform matrix)
matrix - The new transform valuepublic void setColoring(AlphaTransform cxform)
cxform - The new coloring valuepublic void setDepth(int depth)
depth - The new depth valuepublic void usedForHitArea(boolean f)
f - Description of the Parameterpublic void usedForUp(boolean f)
f - Description of the Parameterpublic void usedForDown(boolean f)
f - Description of the Parameterpublic void usedForOver(boolean f)
f - Description of the Parameter
protected ButtonRecord2 getRecord(Movie movie,
SWFTagTypes timelineWriter,
SWFTagTypes definitionWriter)
throws java.io.IOException
movie - Description of the ParametertimelineWriter - Description of the ParameterdefinitionWriter - Description of the Parameter
java.io.IOException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||