com.badlogic.gdx.scenes.scene2d.actors
Class BoundGroup
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.badlogic.gdx.scenes.scene2d.actors.BoundGroup
- Direct Known Subclasses:
- LinearGroup
public class BoundGroup
- extends Group
This is a group that respects its width and height. Useful for implementing layouts.
- Author:
- mzechner
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 |
BoundGroup(java.lang.String name,
float width,
float height)
|
Method Summary |
Actor |
hit(float x,
float y)
|
protected boolean |
touchDown(float x,
float y,
int pointer)
|
protected boolean |
touchDragged(float x,
float y,
int pointer)
|
protected boolean |
touchUp(float x,
float y,
int pointer)
|
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Group |
act, addActor, addActorAfter, addActorAt, addActorBefore, clear, disableDebugging, draw, drawChild, drawChildren, enableDebugging, findActor, focus, getActors, getGroups, keyboardFocus, keyDown, keyTyped, keyUp, removeActor, removeActorRecursive, resetTransform, scrolled, scrollFocus, setupTransform, sortChildren, swapActor, swapActor, toChildCoordinates, touchMoved, unfocusAll, unfocusAll, updateTransform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BoundGroup
public BoundGroup(java.lang.String name,
float width,
float height)
touchDown
protected boolean touchDown(float x,
float y,
int pointer)
- Overrides:
touchDown
in class Group
touchUp
protected boolean touchUp(float x,
float y,
int pointer)
- Overrides:
touchUp
in class Group
touchDragged
protected boolean touchDragged(float x,
float y,
int pointer)
- Overrides:
touchDragged
in class Group
hit
public Actor hit(float x,
float y)
- Overrides:
hit
in class Group
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)