libgdx API

com.badlogic.gdx.scenes.scene2d.actors
Class LinearGroup

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.Actor
      extended by com.badlogic.gdx.scenes.scene2d.Group
          extended by com.badlogic.gdx.scenes.scene2d.actors.BoundGroup
              extended by com.badlogic.gdx.scenes.scene2d.actors.LinearGroup

public class LinearGroup
extends BoundGroup


Nested Class Summary
static class LinearGroup.LinearGroupLayout
           
 
Field Summary
protected  LinearGroup.LinearGroupLayout layout
           
 
Fields inherited from class com.badlogic.gdx.scenes.scene2d.Group
children, debug, debugTexture, focusedActor, groups, immutableChildren, immutableGroups, keyboardFocusedActor, lastTouchedChild, namesToActors, oldBatchTransform, scenetransform, scrollFocusedActor, tmp4, transform
 
Fields inherited from class com.badlogic.gdx.scenes.scene2d.Actor
actions, color, height, name, originX, originY, parent, rotation, scaleX, scaleY, touchable, width, x, y
 
Constructor Summary
LinearGroup(java.lang.String name, float width, float height, LinearGroup.LinearGroupLayout layout)
           
 
Method Summary
 void addActor(Actor actor)
          Adds an Actor to this Group.
protected  void layout()
           
 void removeActor(Actor actor)
          Removes an Actor from this Group.
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.actors.BoundGroup
hit, touchDown, touchDragged, touchUp
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Group
act, addActorAfter, addActorAt, addActorBefore, clear, disableDebugging, draw, drawChild, drawChildren, enableDebugging, findActor, focus, getActors, getGroups, keyboardFocus, keyDown, keyTyped, keyUp, removeActorRecursive, resetTransform, scrolled, scrollFocus, setupTransform, sortChildren, swapActor, swapActor, toChildCoordinates, touchMoved, unfocusAll, unfocusAll, updateTransform
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
action, clearActions, isMarkedToRemove, markToRemove, remove, toLocalCoordinates, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

layout

protected final LinearGroup.LinearGroupLayout layout
Constructor Detail

LinearGroup

public LinearGroup(java.lang.String name,
                   float width,
                   float height,
                   LinearGroup.LinearGroupLayout layout)
Method Detail

addActor

public void addActor(Actor actor)
Description copied from class: Group
Adds an Actor to this Group. The order Actors are added is reversed for hit testing and rendering.

Overrides:
addActor in class Group
Parameters:
actor - the Actor

removeActor

public void removeActor(Actor actor)
Description copied from class: Group
Removes an Actor from this Group.

Overrides:
removeActor in class Group

layout

protected void layout()

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)