|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.FSTransformObject
com.flagstone.transform.FSMovieObject
com.flagstone.transform.FSRemoveObject2
public class FSRemoveObject2
FSRemoveObject2 removes an object from the display list.
Attributes | |
---|---|
type | Identifies the data structure when it is encoded. Read-only. |
layer | The number of the layer in the Flash Player's Display List where the object is displayed. |
The FSRemoveObject2 class only requires the layer number to identify a particular object, unlike the FSRemoveObject class which also requires the object's identifier although only one object can be placed on a given layer.
The FSRemoveObject2 class represents the RemoveObject2 tag from the Macromedia Flash (SWF) File Format Specification. It was introduced in Flash in Flash 3.
Field Summary |
---|
Constructor Summary | |
---|---|
FSRemoveObject2(FSCoder coder)
Construct an FSRemoveObject2 object, initialising it with values decoded from an encoded object. |
|
FSRemoveObject2(FSRemoveObject2 obj)
Constructs an FSRemoveObject2 object by copying values from an existing object. |
|
FSRemoveObject2(int layer)
Constructs an FSRemoveObject2, specifying the layer in the display list where the object to be removed is currently displayed. |
Method Summary | |
---|---|
void |
appendDescription(java.lang.StringBuffer buffer,
int depth)
AppendDescription is used to present a string description of the object including all nested objects up to a specified depth. |
void |
decode(FSCoder coder)
|
void |
encode(FSCoder coder)
|
boolean |
equals(java.lang.Object anObject)
Returns true if anObject is equal to this one. |
int |
getLayer()
Gets the layer in the display list where the object to be removed is currently displayed. |
int |
length(FSCoder coder)
|
void |
setLayer(int aLayer)
Sets the layer in the display list from which the object will be removed. |
Methods inherited from class com.flagstone.transform.FSMovieObject |
---|
getType |
Methods inherited from class com.flagstone.transform.FSTransformObject |
---|
clone, name, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FSRemoveObject2(FSCoder coder)
coder
- an FSCoder containing the binary data.public FSRemoveObject2(int layer)
layer
- the layer number on which the object is displayed.public FSRemoveObject2(FSRemoveObject2 obj)
obj
- an FSRemoveObject2 object.Method Detail |
---|
public int getLayer()
public void setLayer(int aLayer)
aLayer
- the layer number on which the object is displayed.public boolean equals(java.lang.Object anObject)
FSMovieObject
equals
in class FSMovieObject
public void appendDescription(java.lang.StringBuffer buffer, int depth)
FSTransformObject
appendDescription
in class FSMovieObject
buffer
- a StringBuffer to which the description of each object is
appended.depth
- the maximum level of nesting up to which objects will be
displayed.public int length(FSCoder coder)
length
in class FSMovieObject
public void encode(FSCoder coder)
encode
in class FSMovieObject
public void decode(FSCoder coder)
decode
in class FSMovieObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |