java.lang.Object
com.anotherbigidea.flash.movie.Symbol
com.anotherbigidea.flash.movie.Button
- public class Button
- extends Symbol
A Button Symbol
|
Nested Class Summary |
static class |
Button.Layer
A layer of a button. |
| Fields inherited from class com.anotherbigidea.flash.movie.Symbol |
id |
|
Constructor Summary |
Button(boolean trackAsMenu)
|
|
Method Summary |
Actions |
addActions(int conditionFlags,
int flashVersion)
|
Button.Layer |
addLayer(Symbol symbol,
Transform matrix,
com.anotherbigidea.flash.structs.AlphaTransform cxform,
int depth,
boolean usedForHitArea,
boolean usedForUp,
boolean usedForDown,
boolean usedForOver)
Add a layer to the button. |
protected int |
defineSymbol(Movie movie,
com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
Override to provide symbol definition |
java.util.ArrayList |
getActions()
Access the list of Actions objects |
java.util.ArrayList |
getButtonLayers()
Access the list of Button.Layer objects |
boolean |
isTrackedAsMenu()
|
void |
trackAsMenu(boolean f)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
actions
protected java.util.ArrayList actions
layers
protected java.util.ArrayList layers
trackAsMenu
protected boolean trackAsMenu
Button
public Button(boolean trackAsMenu)
isTrackedAsMenu
public boolean isTrackedAsMenu()
trackAsMenu
public void trackAsMenu(boolean f)
getButtonLayers
public java.util.ArrayList getButtonLayers()
- Access the list of Button.Layer objects
getActions
public java.util.ArrayList getActions()
- Access the list of Actions objects
addLayer
public Button.Layer addLayer(Symbol symbol,
Transform matrix,
com.anotherbigidea.flash.structs.AlphaTransform cxform,
int depth,
boolean usedForHitArea,
boolean usedForUp,
boolean usedForDown,
boolean usedForOver)
- Add a layer to the button.
addActions
public Actions addActions(int conditionFlags,
int flashVersion)
defineSymbol
protected int defineSymbol(Movie movie,
com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
throws java.io.IOException
- Description copied from class:
Symbol
- Override to provide symbol definition
- Specified by:
defineSymbol in class Symbol