|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.Remove2
public final class Remove2
RemoveObject2 removes an object from the display list, requiring only the layer number.
Remove| Constructor Summary | |
|---|---|
Remove2(int level)
Creates a RemoveObject2, specifying the layer in the display list where the object to be removed is currently displayed. |
|
Remove2(Remove2 object)
Creates and initialises a Remove2 object using the values copied from another Remove2 object. |
|
Remove2(SWFDecoder coder)
Creates and initialises a Remove2 object using values encoded in the Flash binary format. |
|
| Method Summary | |
|---|---|
Remove2 |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
int |
getLayer()
Get the layer in the display list where the object to be removed is currently displayed. |
int |
prepareToEncode(Context context)
Prepare an object for encoding, returning the expected size of an object when it is encoded. |
void |
setLayer(int aLayer)
Sets the layer in the display list from which the object will be removed. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Remove2(SWFDecoder coder)
throws IOException
coder - an SWFDecoder object that contains the encoded Flash data.
IOException - if an error occurs while decoding the data.public Remove2(int level)
level - the layer number on which the object is displayed. Must be in
the range 1.65535.public Remove2(Remove2 object)
object - a Remove2 object from which the values will be
copied.| Method Detail |
|---|
public int getLayer()
public void setLayer(int aLayer)
aLayer - the layer number on which the object is displayed. Must be in
the range 1.65535.public Remove2 copy()
copy in interface Copyable<MovieTag>public String toString()
toString in class Objectpublic int prepareToEncode(Context context)
prepareToEncode in interface SWFEncodeablecontext - an Context that allows information to be passed between
objects to control how they are initialised for encoding.
public void encode(SWFEncoder coder,
Context context)
throws IOException
encode in interface SWFEncodeablecoder - an SWFEncoder object.context - an Context that allows information to be passed between
objects to control how they are initialised for encoding.
IOException - if an error occurs while encoding the object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||