|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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.ui.tablelayout |
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.lastTouchedChild
|
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.getKeyboardFocus()
|
Actor |
Stage.getLastTouchedChild()
|
Actor |
Stage.getScrollFocus()
|
abstract Actor |
Action.getTarget()
|
Actor |
AnimationAction.getTarget()
|
Actor |
Stage.getTouchFocus(int pointer)
|
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)
|
boolean |
Group.isDescendant(Actor 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 |
Stage.setKeyboardFocus(Actor actor)
|
void |
Stage.setScrollFocus(Actor actor)
|
abstract void |
Action.setTarget(Actor actor)
Sets the Actor of this action. |
void |
Stage.setTouchFocus(Actor actor,
int pointer)
|
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.toLocalCoordinates(Actor descendant,
Vector2 point)
Converts coordinates for this group to those of a descendant actor. |
void |
Stage.unfocus(Actor actor)
|
void |
Stage.unfocus(Actor actor,
int pointer)
|
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 |
Delay.target
|
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.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 |
FlickScrollPane
A group that scrolls a child widget by pressing and dragging. |
class |
Image
Displays a TextureRegion or NinePatch , scaled various way within the widgets bounds. |
class |
ImageButton
A button with a child Image to display an image. |
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 scroll bars. |
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 divides two widgets either horizontally or vertically and allows the user to resize them. |
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 |
TextButton
A button with a child Label to display text. |
class |
TextField
A single-line text input field. |
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 |
FlickScrollPane.getWidget()
|
Actor |
FlickScrollPane.hit(float x,
float y)
|
Actor |
ScrollPane.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 |
FlickScrollPane.addActor(Actor actor)
|
void |
ScrollPane.addActor(Actor actor)
|
void |
SplitPane.addActor(Actor actor)
|
void |
FlickScrollPane.addActorAt(int index,
Actor actor)
|
void |
ScrollPane.addActorAt(int index,
Actor actor)
|
void |
SplitPane.addActorAt(int index,
Actor actor)
|
void |
FlickScrollPane.addActorBefore(Actor actorBefore,
Actor actor)
|
void |
ScrollPane.addActorBefore(Actor actorBefore,
Actor actor)
|
void |
SplitPane.addActorBefore(Actor actorBefore,
Actor actor)
|
void |
ClickListener.click(Actor actor,
float x,
float y)
|
void |
FlickScrollPane.removeActor(Actor actor)
|
void |
ScrollPane.removeActor(Actor actor)
|
void |
SplitPane.removeActor(Actor actor)
|
void |
FlickScrollPane.removeActorRecursive(Actor actor)
|
void |
ScrollPane.removeActorRecursive(Actor actor)
|
void |
SplitPane.removeActorRecursive(Actor actor)
|
void |
SelectionListener.selected(Actor actor,
int index,
java.lang.String value)
|
void |
Skin.setEnabled(Actor actor,
boolean enabled)
Sets the style on the actor to disabled or enabled. |
void |
SplitPane.setFirstWidget(Actor widget)
|
void |
SplitPane.setSecondWidget(Actor widget)
|
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. |
static void |
Widget.toScreenCoordinates(Actor actor,
Vector2 point)
This modifies the specified point in the actor's coordinates to be in the stage's coordinates. |
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)
|
|
FlickScrollPane(Actor widget,
java.lang.String name)
|
|
ScrollPane(Actor widget,
ScrollPane.ScrollPaneStyle style)
|
|
ScrollPane(Actor widget,
ScrollPane.ScrollPaneStyle style,
java.lang.String name)
|
|
ScrollPane(Actor widget,
Skin skin)
|
|
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
Skin skin)
|
|
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
SplitPane.SplitPaneStyle style)
|
|
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
SplitPane.SplitPaneStyle style,
java.lang.String name)
|
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)
|
protected Actor |
LibgdxToolkit.newInstance(TableLayout layout,
java.lang.String className)
|
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 |
LibgdxToolkit.wrap(TableLayout layout,
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 |
LibgdxToolkit.setProperty(TableLayout layout,
Actor object,
java.lang.String name,
java.util.List<java.lang.String> values)
|
void |
Table.setWidget(java.lang.String name,
Actor actor)
Sets the actor in the cell with the specified name. |
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 |