|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.Symbol
pt.tumba.parser.swf.Button
public class Button
A Button Symbol
Nested Class Summary | |
---|---|
static class |
Button.Layer
A layer of a button. |
Field Summary | |
---|---|
protected java.util.List |
actions
Description of the Field |
protected java.util.List |
layers
Description of the Field |
protected boolean |
trackAsMenu
Description of the Field |
Fields inherited from class pt.tumba.parser.swf.Symbol |
---|
id |
Constructor Summary | |
---|---|
Button(boolean trackAsMenu)
Constructor for the Button object |
Method Summary | |
---|---|
Actions |
addActions(int conditionFlags,
int flashVersion)
Adds a feature to the Actions attribute of the Button object |
Button.Layer |
addLayer(Symbol symbol,
Transform matrix,
AlphaTransform cxform,
int depth,
boolean usedForHitArea,
boolean usedForUp,
boolean usedForDown,
boolean usedForOver)
Add a layer to the button. |
protected int |
defineSymbol(Movie movie,
SWFTagTypes timelineWriter,
SWFTagTypes definitionWriter)
Description of the Method |
java.util.List |
getActions()
Access the list of Actions objects |
java.util.List |
getButtonLayers()
Access the list of Button.Layer objects |
boolean |
isTrackedAsMenu()
Gets the trackedAsMenu attribute of the Button object |
void |
trackAsMenu(boolean f)
Description of the Method |
Methods inherited from class pt.tumba.parser.swf.Symbol |
---|
define, getId, getNextId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List actions
protected java.util.List layers
protected boolean trackAsMenu
Constructor Detail |
---|
public Button(boolean trackAsMenu)
trackAsMenu
- Description of the ParameterMethod Detail |
---|
public boolean isTrackedAsMenu()
public void trackAsMenu(boolean f)
f
- Description of the Parameterpublic java.util.List getButtonLayers()
public java.util.List getActions()
public Button.Layer addLayer(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
- The feature to be added to the Layer attributematrix
- The feature to be added to the Layer attributecxform
- The feature to be added to the Layer attributeusedForHitArea
- The feature to be added to the Layer attributeusedForUp
- The feature to be added to the Layer attributeusedForDown
- The feature to be added to the Layer attributeusedForOver
- The feature to be added to the Layer attribute
public Actions addActions(int conditionFlags, int flashVersion)
conditionFlags
- The feature to be added to the Actions attributeflashVersion
- The feature to be added to the Actions attribute
protected int defineSymbol(Movie movie, SWFTagTypes timelineWriter, SWFTagTypes definitionWriter) throws java.io.IOException
defineSymbol
in class Symbol
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 |