|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Actor in com.badlogic.gdx.scenes.scene2d |
---|
Subclasses of Actor in com.badlogic.gdx.scenes.scene2d | |
---|---|
class |
Group
A group is an Actor that contains other Actors (also other Groups which are Actors). |
Fields in com.badlogic.gdx.scenes.scene2d declared as Actor | |
---|---|
Actor[] |
Group.focusedActor
|
Actor |
Group.keyboardFocusedActor
|
Actor |
Group.lastTouchedChild
|
Actor |
Group.scrollFocusedActor
|
protected Actor |
AnimationAction.target
|
protected Actor |
TemporalAction.target
|
Fields in com.badlogic.gdx.scenes.scene2d with type parameters of type Actor | |
---|---|
protected java.util.List<Actor> |
Group.children
|
protected java.util.List<Actor> |
Group.immutableChildren
|
protected ObjectMap<java.lang.String,Actor> |
Group.namesToActors
|
Methods in com.badlogic.gdx.scenes.scene2d that return Actor | |
---|---|
Actor |
Group.findActor(java.lang.String name)
Finds the Actor with the given name in this Group and its children. |
Actor |
Stage.findActor(java.lang.String name)
Finds the Actor with the given name in the stage hierarchy. |
Actor |
Stage.getLastTouchedChild()
|
abstract Actor |
Action.getTarget()
|
Actor |
AnimationAction.getTarget()
|
abstract Actor |
Actor.hit(float x,
float y)
|
Actor |
Group.hit(float x,
float y)
|
Actor |
Stage.hit(float x,
float y)
Returns the Actor intersecting with the point (x,y) in stage coordinates. |
Methods in com.badlogic.gdx.scenes.scene2d that return types with arguments of type Actor | |
---|---|
java.util.List<Actor> |
Group.getActors()
|
java.util.List<Actor> |
Stage.getActors()
|
Methods in com.badlogic.gdx.scenes.scene2d with parameters of type Actor | |
---|---|
void |
Group.addActor(Actor actor)
Adds an Actor to this Group. |
void |
Stage.addActor(Actor actor)
Adds an Actor to this stage |
void |
Group.addActorAfter(Actor actorAfter,
Actor actor)
Adds an Actor after the given Actor. |
void |
Group.addActorAt(int index,
Actor actor)
Adds an Actor at the given index in the group. |
void |
Group.addActorBefore(Actor actorBefore,
Actor actor)
Adds an Actor before the given Actor. |
protected void |
Group.drawChild(Actor child,
SpriteBatch batch,
float parentAlpha)
|
void |
Group.focus(Actor actor,
int pointer)
Sets the focus to the given child Actor . |
void |
Group.keyboardFocus(Actor actor)
Sets the keyboard focus to the given child Actor . |
void |
Group.removeActor(Actor actor)
Removes an Actor from this Group. |
void |
Stage.removeActor(Actor actor)
Removes the given Actor from the stage by trying to find it recursively in the scenegraph. |
void |
Group.removeActorRecursive(Actor actor)
Removes an Actor from this Group recursively by checking if the Actor is in this group or one of its child-groups. |
void |
Group.scrollFocus(Actor actor)
Sets the scroll focus to the given child Actor . |
abstract void |
Action.setTarget(Actor actor)
Sets the Actor of this action. |
boolean |
Group.swapActor(Actor first,
Actor second)
Swap two actors' sort order by reference. |
static void |
Group.toChildCoordinates(Actor child,
float x,
float y,
Vector2 out)
Transforms the coordinates given in the child's parent coordinate system to the child Actor 's coordinate system. |
void |
Group.unfocusAll(Actor actor)
Unfocuses this Actor from the touch, keyboard and scroll focus from this group and all groups above it. |
Method parameters in com.badlogic.gdx.scenes.scene2d with type arguments of type Actor | |
---|---|
void |
Group.sortChildren(java.util.Comparator<Actor> comparator)
Sorts the children via the given Comparator . |
Uses of Actor in com.badlogic.gdx.scenes.scene2d.actions |
---|
Fields in com.badlogic.gdx.scenes.scene2d.actions declared as Actor | |
---|---|
protected Actor |
Parallel.target
|
protected Actor |
Remove.target
|
protected Actor |
Sequence.target
|
Methods in com.badlogic.gdx.scenes.scene2d.actions that return Actor | |
---|---|
Actor |
Delay.getTarget()
|
Actor |
Forever.getTarget()
|
Actor |
Parallel.getTarget()
|
Actor |
Remove.getTarget()
|
Actor |
Repeat.getTarget()
|
Actor |
Sequence.getTarget()
|
Methods in com.badlogic.gdx.scenes.scene2d.actions with parameters of type Actor | |
---|---|
void |
Delay.setTarget(Actor actor)
|
void |
FadeIn.setTarget(Actor actor)
|
void |
FadeOut.setTarget(Actor actor)
|
void |
FadeTo.setTarget(Actor actor)
|
void |
Forever.setTarget(Actor actor)
|
void |
MoveBy.setTarget(Actor actor)
|
void |
MoveTo.setTarget(Actor actor)
|
void |
Parallel.setTarget(Actor actor)
|
void |
Remove.setTarget(Actor actor)
|
void |
Repeat.setTarget(Actor actor)
|
void |
RotateBy.setTarget(Actor actor)
|
void |
RotateTo.setTarget(Actor actor)
|
void |
ScaleTo.setTarget(Actor actor)
|
void |
Sequence.setTarget(Actor actor)
|
Uses of Actor in com.badlogic.gdx.scenes.scene2d.actors |
---|
Subclasses of Actor in com.badlogic.gdx.scenes.scene2d.actors | |
---|---|
class |
Image
|
class |
Label
|
Methods in com.badlogic.gdx.scenes.scene2d.actors that return Actor | |
---|---|
Actor |
Image.hit(float x,
float y)
|
Actor |
Label.hit(float x,
float y)
|
Uses of Actor in com.badlogic.gdx.scenes.scene2d.ui |
---|
Subclasses of Actor in com.badlogic.gdx.scenes.scene2d.ui | |
---|---|
class |
Button
|
class |
CheckBox
|
class |
ComboBox
A dropdown or combo box. |
protected class |
ComboBox.ComboList
|
class |
FlickScrollPane
|
class |
List
A list of string items. |
class |
ScrollPane
A special container that allows scrolling over its children. |
class |
Slider
A value slider. |
class |
SplitPane
A special container holding two children and allowing to define the space used by each. |
class |
Stack
|
class |
TextField
A single-line text field. |
class |
Widget
Base class for all UI widgets. |
class |
Window
A container acting as a dialog or window. |
Methods in com.badlogic.gdx.scenes.scene2d.ui that return Actor | |
---|---|
Actor |
FlickScrollPane.getWidget()
|
Actor |
ComboBox.ComboList.hit(float x,
float y)
|
Actor |
FlickScrollPane.hit(float x,
float y)
|
Actor |
Label.hit(float x,
float y)
|
Actor |
List.hit(float x,
float y)
|
Actor |
ScrollPane.hit(float x,
float y)
|
Actor |
Slider.hit(float x,
float y)
|
Actor |
SplitPane.hit(float x,
float y)
|
Actor |
TextField.hit(float x,
float y)
|
Actor |
Widget.hit(float x,
float y)
|
Actor |
Window.hit(float x,
float y)
|
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Actor | |
---|---|
void |
ClickListener.click(Actor actor)
|
void |
FlickScrollPane.setWidget(Actor widget)
Sets the Actor embedded in this scroll pane. |
void |
ScrollPane.setWidget(Actor widget)
Sets the Actor embedded in this scroll pane. |
void |
SplitPane.setWidgets(Actor firstWidget,
Actor secondWidget)
Sets the Actor instances embedded in this scroll pane. |
void |
FlickScrollPane.toLocalCoordinates(Actor actor,
Vector2 point)
|
Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Actor | |
---|---|
Button(Actor child,
Button.ButtonStyle style)
|
|
Button(Actor child,
Skin skin)
|
|
FlickScrollPane(Actor widget,
Stage stage)
|
|
FlickScrollPane(Actor widget,
Stage stage,
java.lang.String name)
|
|
ScrollPane(Actor widget,
Stage stage,
ScrollPane.ScrollPaneStyle style)
|
|
ScrollPane(Actor widget,
Stage stage,
ScrollPane.ScrollPaneStyle style,
java.lang.String name)
|
|
ScrollPane(Actor widget,
Stage stage,
Skin skin)
|
|
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
Stage stage,
Skin skin)
|
|
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
Stage stage,
SplitPane.SplitPaneStyle style)
|
|
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
Stage stage,
SplitPane.SplitPaneStyle style,
java.lang.String name)
Creates a new SplitPane. |
Uses of Actor in com.badlogic.gdx.scenes.scene2d.ui.tablelayout |
---|
Subclasses of Actor in com.badlogic.gdx.scenes.scene2d.ui.tablelayout | |
---|---|
class |
Table
|
Methods in com.badlogic.gdx.scenes.scene2d.ui.tablelayout that return Actor | |
---|---|
Actor |
Table.getWidget(java.lang.String name)
Returns the widget with the specified name, anywhere in the table hierarchy. |
Actor |
TableLayout.getWidget(java.lang.String name)
|
Actor |
Table.hit(float x,
float y)
|
Actor |
LibgdxToolkit.newStack()
|
Actor |
LibgdxToolkit.newWidget(TableLayout layout,
java.lang.String className)
|
Actor |
TableLayout.register(Actor actor)
Calls #register(String, Actor) with the name of the actor. |
Actor |
Table.register(java.lang.String name,
Actor widget)
|
Actor |
TableLayout.registerImage(java.lang.String name)
Finds the texture region in the TableLayout.atlas , creates an Image and registers it with the specified name. |
Actor |
LibgdxToolkit.wrap(java.lang.Object object)
|
Methods in com.badlogic.gdx.scenes.scene2d.ui.tablelayout that return types with arguments of type Actor | |
---|---|
java.util.List<Actor> |
Table.getWidgets()
Returns all named widgets, anywhere in the table hierarchy. |
java.util.List<Actor> |
Table.getWidgets(java.lang.String namePrefix)
Returns all widgets with the specified name prefix, anywhere in the table hierarchy. |
Methods in com.badlogic.gdx.scenes.scene2d.ui.tablelayout with parameters of type Actor | |
---|---|
Cell |
Table.add(Actor actor)
Adds a new cell to the table with the specified actor. |
void |
LibgdxToolkit.addChild(Actor parent,
Actor child,
java.lang.String layoutString)
|
Cell |
Table.getCell(Actor actor)
Returns the cell for the specified actor, anywhere in the table hierarchy. |
int |
LibgdxToolkit.getMaxHeight(Actor actor)
|
int |
LibgdxToolkit.getMaxWidth(Actor actor)
|
int |
LibgdxToolkit.getMinHeight(Actor actor)
|
int |
LibgdxToolkit.getMinWidth(Actor actor)
|
int |
LibgdxToolkit.getPrefHeight(Actor actor)
|
int |
LibgdxToolkit.getPrefWidth(Actor actor)
|
Actor |
TableLayout.register(Actor actor)
Calls #register(String, Actor) with the name of the actor. |
Actor |
Table.register(java.lang.String name,
Actor widget)
|
void |
LibgdxToolkit.removeChild(Actor parent,
Actor child)
|
void |
Table.setActor(java.lang.String name,
Actor actor)
Sets the actor in the cell with the specified name. |
void |
LibgdxToolkit.setProperty(TableLayout layout,
Actor object,
java.lang.String name,
java.util.List<java.lang.String> values)
|
Cell |
Table.stack(Actor... actor)
Adds a new cell to the table with the specified actors in a Stack . |
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |