libgdx API

Uses of Class
com.badlogic.gdx.scenes.scene2d.Actor

Packages that use Actor
com.badlogic.gdx.scenes.scene2d   
com.badlogic.gdx.scenes.scene2d.actions   
com.badlogic.gdx.scenes.scene2d.ui   
com.badlogic.gdx.scenes.scene2d.utils   
 

Uses of Actor in com.badlogic.gdx.scenes.scene2d
 

Subclasses of Actor in com.badlogic.gdx.scenes.scene2d
 class Group
          2D scene graph node that may contain other actors.
 

Fields in com.badlogic.gdx.scenes.scene2d declared as Actor
protected  Actor Action.actor
          The actor this action is attached to, or null if it is not attached.
 

Methods in com.badlogic.gdx.scenes.scene2d that return Actor
 Actor Group.findActor(java.lang.String name)
          Returns the first actor found with the specified name.
 Actor Action.getActor()
           
 Actor Stage.getKeyboardFocus()
          Gets the actor that will receive key events.
 Actor Event.getListenerActor()
          Returns the actor that this listener is attached to.
 Actor InputEvent.getRelatedActor()
          The actor related to the event.
 Actor Stage.getScrollFocus()
          Gets the actor that will receive scroll events.
 Actor Event.getTarget()
          Returns the actor that the event originated from.
 Actor Actor.hit(float x, float y, boolean touchable)
          Returns the deepest actor that contains the specified point and is touchable and visible, or null if no actor was hit.
 Actor Group.hit(float x, float y, boolean touchable)
           
 Actor Stage.hit(float stageX, float stageY, boolean touchable)
          Returns the Actor at the specified location in stage coordinates.
 

Methods in com.badlogic.gdx.scenes.scene2d that return types with arguments of type Actor
 Array<Actor> Stage.getActors()
          Returns the root's child actors.
 SnapshotArray<Actor> Group.getChildren()
          Returns an ordered list of child actors in this group.
 

Methods in com.badlogic.gdx.scenes.scene2d with parameters of type Actor
 void Group.addActor(Actor actor)
          Adds an actor as a child of this group.
 void Stage.addActor(Actor actor)
          Adds an actor to the root of the stage.
 void Group.addActorAfter(Actor actorAfter, Actor actor)
          Adds an actor as a child of this group, immediately after another child actor.
 void Group.addActorAt(int index, Actor actor)
          Adds an actor as a child of this group, at a specific index.
 void Group.addActorBefore(Actor actorBefore, Actor actor)
          Adds an actor as a child of this group, immediately before another child actor.
 void Stage.addTouchFocus(EventListener listener, Actor listenerActor, Actor target, int pointer, int button)
          Adds the listener to be notified for all touchDragged and touchUp events for the specified pointer and button.
 void Stage.cancelTouchFocus(EventListener listener, Actor actor)
          Cancels touch focus for all listeners except the specified listener.
 void InputListener.enter(InputEvent event, float x, float y, int pointer, Actor fromActor)
          Called any time the mouse cursor or a finger touch is moved over an actor.
 void InputListener.exit(InputEvent event, float x, float y, int pointer, Actor toActor)
          Called any time the mouse cursor or a finger touch is moved out of an actor.
 boolean Actor.isAscendantOf(Actor actor)
          Returns true if this actor is the same as or is the ascendant of the specified actor.
 boolean Actor.isDescendantOf(Actor actor)
          Returns true if this actor is the same as or is the descendant of the specified actor.
 Vector2 Actor.localToAscendantCoordinates(Actor ascendant, Vector2 localCoords)
          Converts coordinates for this actor to those of a parent actor.
 Vector2 Group.localToDescendantCoordinates(Actor descendant, Vector2 localCoords)
          Converts coordinates for this group to those of a descendant actor.
 boolean Group.removeActor(Actor actor)
          Removes an actor from this group.
 void Stage.removeTouchFocus(EventListener listener, Actor listenerActor, Actor target, int pointer, int button)
          Removes the listener from being notified for all touchDragged and touchUp events for the specified pointer and button.
 void Action.setActor(Actor actor)
          Sets the actor this action will be used for.
 void Stage.setKeyboardFocus(Actor actor)
          Sets the actor that will receive key events.
 void Event.setListenerActor(Actor listenerActor)
           
 void InputEvent.setRelatedActor(Actor relatedActor)
           
 void Stage.setScrollFocus(Actor actor)
          Sets the actor that will receive scroll events.
 void Event.setTarget(Actor targetActor)
           
 boolean Group.swapActor(Actor first, Actor second)
          Swaps two actors.
 void Stage.unfocus(Actor actor)
          Removes the touch, keyboard, and scroll focus for the specified actor and any descendants.
 

Uses of Actor in com.badlogic.gdx.scenes.scene2d.actions
 

Methods in com.badlogic.gdx.scenes.scene2d.actions that return Actor
 Actor RemoveActorAction.getRemoveActor()
           
 Actor AddAction.getTargetActor()
           
 

Methods in com.badlogic.gdx.scenes.scene2d.actions with parameters of type Actor
static AddAction Actions.add(Actor targetActor, Action action)
           
static RemoveActorAction Actions.removeActor(Actor removeActor)
           
 void AfterAction.setActor(Actor actor)
           
 void DelegateAction.setActor(Actor actor)
           
 void LayoutAction.setActor(Actor actor)
           
 void ParallelAction.setActor(Actor actor)
           
 void RemoveActorAction.setRemoveActor(Actor removeActor)
          Sets the actor to remove.
 void AddAction.setTargetActor(Actor actor)
           
 

Uses of Actor in com.badlogic.gdx.scenes.scene2d.ui
 

Subclasses of Actor in com.badlogic.gdx.scenes.scene2d.ui
 class Button
          A button is a Table with a checked state and additional style fields for pressed, unpressed, and checked.
 class CheckBox
          A checkbox is a button that contains an image indicating the checked or unchecked state and a label.
 class Dialog
          Displays a dialog, which is a modal window containing a content table with a button table underneath it.
 class Image
          Displays a Drawable, scaled various way within the widgets bounds.
 class ImageButton
          A button with a child Image to display an image.
 class ImageTextButton
          A button with a child Image and Label.
 class Label
          A text label, with optional word wrapping.
 class List
          A list (aka list box) displays textual items and highlights the currently selected item.
 class ScrollPane
          A group that scrolls a child widget using scrollbars and/or mouse or touch dragging.
 class SelectBox
          A select box (aka a drop-down list) allows a user to choose one of a number of values from a list.
 class Slider
          A slider is a horizontal indicator that allows a user to set a value.
 class SplitPane
          A container that contains two widgets and is divided either horizontally or vertically.
 class Stack
          A stack is a container that sizes its children to its size and positions them at 0,0 on top of each other.
 class Table
          A group that sizes and positions children using table constraints.
 class TextButton
          A button with a child Label to display text.
 class TextField
          A single-line text input field.
 class Touchpad
          An on-screen joystick.
 class Tree
          A tree widget where each node has an icon, actor, and child nodes.
 class VerticalGroup
          A group that lays out its children on top of each other in a single column.
 class Widget
          An Actor that participates in layout and provides a minimum, preferred, and maximum size.
 class WidgetGroup
          A Group that participates in layout and provides a minimum, preferred, and maximum size.
 class Window
          A table that can be dragged and act as a modal window.
 

Methods in com.badlogic.gdx.scenes.scene2d.ui that return Actor
 Actor Tree.Node.getActor()
           
 Actor ScrollPane.getWidget()
          Returns the actor embedded in this scroll pane, or null.
 Actor ScrollPane.hit(float x, float y, boolean touchable)
           
 Actor Table.hit(float x, float y, boolean touchable)
           
 Actor Touchpad.hit(float x, float y, boolean touchable)
           
 Actor Window.hit(float x, float y, boolean touchable)
           
 

Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Actor
 void Stack.add(Actor actor)
           
 Cell Table.add(Actor actor)
          Adds a new cell to the table with the specified actor.
 void ScrollPane.addActor(Actor actor)
           
 void SplitPane.addActor(Actor actor)
           
 void ScrollPane.addActorAt(int index, Actor actor)
           
 void SplitPane.addActorAt(int index, Actor actor)
           
 void ScrollPane.addActorBefore(Actor actorBefore, Actor actor)
           
 void SplitPane.addActorBefore(Actor actorBefore, Actor actor)
           
 Cell Table.getCell(Actor actor)
          Returns the cell for the specified widget in this table, or null.
 boolean ScrollPane.removeActor(Actor actor)
           
 boolean SplitPane.removeActor(Actor actor)
           
 void Skin.setEnabled(Actor actor, boolean enabled)
          Sets the style on the actor to disabled or enabled.
 void SplitPane.setFirstWidget(Actor widget)
           
 void Dialog.setObject(Actor actor, java.lang.Object object)
           
 void SplitPane.setSecondWidget(Actor widget)
           
 void ScrollPane.setWidget(Actor widget)
          Sets the Actor embedded in this scroll pane.
 Cell Table.stack(Actor... actors)
          Adds a new cell to the table with the specified actors in a Stack.
 

Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Actor
Button(Actor child, Button.ButtonStyle style)
           
Button(Actor child, Skin skin)
           
Button(Actor child, Skin skin, java.lang.String styleName)
           
ScrollPane(Actor widget)
           
ScrollPane(Actor widget, ScrollPane.ScrollPaneStyle style)
           
ScrollPane(Actor widget, Skin skin)
           
ScrollPane(Actor widget, Skin skin, java.lang.String styleName)
           
SplitPane(Actor firstWidget, Actor secondWidget, boolean vertical, Skin skin)
           
SplitPane(Actor firstWidget, Actor secondWidget, boolean vertical, Skin skin, java.lang.String styleName)
           
SplitPane(Actor firstWidget, Actor secondWidget, boolean vertical, SplitPane.SplitPaneStyle style)
           
Tree.Node(Actor actor)
           
 

Uses of Actor in com.badlogic.gdx.scenes.scene2d.utils
 

Methods in com.badlogic.gdx.scenes.scene2d.utils that return Actor
 Actor DragAndDrop.Source.getActor()
           
 Actor DragAndDrop.Target.getActor()
           
 Actor DragAndDrop.getDragActor()
          Returns the current drag actor, or null.
 Actor DragAndDrop.Payload.getDragActor()
           
 Actor DragAndDrop.Payload.getInvalidDragActor()
           
 Actor FocusListener.FocusEvent.getRelatedActor()
          The actor related to the event.
 Actor ActorGestureListener.getTouchDownTarget()
           
 Actor DragAndDrop.Payload.getValidDragActor()
           
 

Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Actor
abstract  void ChangeListener.changed(ChangeListener.ChangeEvent event, Actor actor)
           
 void ClickListener.enter(InputEvent event, float x, float y, int pointer, Actor fromActor)
           
 void ClickListener.exit(InputEvent event, float x, float y, int pointer, Actor toActor)
           
 boolean ClickListener.isOver(Actor actor, float x, float y)
          Returns true if the specified position is over the specified actor or within the tap square.
 void FocusListener.keyboardFocusChanged(FocusListener.FocusEvent event, Actor actor, boolean focused)
           
 boolean ActorGestureListener.longPress(Actor actor, float x, float y)
          If true is returned, additional gestures will not be triggered.
 void FocusListener.scrollFocusChanged(FocusListener.FocusEvent event, Actor actor, boolean focused)
           
 void DragAndDrop.Payload.setDragActor(Actor dragActor)
           
 void DragAndDrop.Payload.setInvalidDragActor(Actor invalidDragActor)
           
 void FocusListener.FocusEvent.setRelatedActor(Actor relatedActor)
           
 void DragAndDrop.Payload.setValidDragActor(Actor validDragActor)
           
 

Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Actor
DragAndDrop.Source(Actor actor)
           
DragAndDrop.Target(Actor actor)
           
 


libgdx API

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