playn.flash
Class FlashGroupLayer

java.lang.Object
  extended by playn.core.AbstractLayer
      extended by playn.flash.FlashLayer
          extended by playn.flash.FlashGroupLayer
All Implemented Interfaces:
GroupLayer, Layer, ParentLayer

public class FlashGroupLayer
extends FlashLayer
implements GroupLayer, ParentLayer


Nested Class Summary
 
Nested classes/interfaces inherited from class playn.core.AbstractLayer
AbstractLayer.Flag
 
Nested classes/interfaces inherited from interface playn.core.Layer
Layer.HasSize, Layer.Util
 
Field Summary
 
Fields inherited from class playn.flash.FlashLayer
displayObject
 
Fields inherited from class playn.core.AbstractLayer
alpha, depth, flags, originX, originY, transform
 
Method Summary
 void add(int index, Layer layer)
          Deprecated. 
 void add(Layer layer)
           
 void clear()
           
 void depthChanged(Layer layer, float oldDepth)
           
 void destroy()
           
 Layer get(int index)
           
 void onAdd()
           
 void onRemove()
           
 void remove(int index)
          Deprecated. 
 void remove(Layer layer)
           
 int size()
           
protected  void updateChildren()
           
 
Methods inherited from class playn.flash.FlashLayer
setVisible, update
 
Methods inherited from class playn.core.AbstractLayer
alpha, depth, destroyed, isSet, originX, originY, parent, setAlpha, setDepth, setFlag, setOrigin, setParent, setRotation, setScale, setScale, setTranslation, transform, visible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface playn.core.Layer
alpha, depth, destroyed, originX, originY, parent, setAlpha, setDepth, setOrigin, setRotation, setScale, setScale, setTranslation, setVisible, transform, visible
 

Method Detail

get

public Layer get(int index)
Specified by:
get in interface GroupLayer

add

public void add(Layer layer)
Specified by:
add in interface GroupLayer

add

@Deprecated
public void add(int index,
                           Layer layer)
Deprecated. 

Specified by:
add in interface GroupLayer

remove

public void remove(Layer layer)
Specified by:
remove in interface GroupLayer

remove

@Deprecated
public void remove(int index)
Deprecated. 

Specified by:
remove in interface GroupLayer

clear

public void clear()
Specified by:
clear in interface GroupLayer

size

public int size()
Specified by:
size in interface GroupLayer

destroy

public void destroy()
Specified by:
destroy in interface Layer
Overrides:
destroy in class AbstractLayer

onAdd

public void onAdd()
Overrides:
onAdd in class AbstractLayer

onRemove

public void onRemove()
Overrides:
onRemove in class AbstractLayer

depthChanged

public void depthChanged(Layer layer,
                         float oldDepth)
Specified by:
depthChanged in interface ParentLayer

updateChildren

protected void updateChildren()
Overrides:
updateChildren in class FlashLayer


Copyright © 2012. All Rights Reserved.