Modifier and Type | Method and Description |
---|---|
void |
Net.sendHttpRequest(Net.HttpRequest httpRequest,
Net.HttpResponseListener httpResponseListener)
Process the specified
Net.HttpRequest and reports the Net.HttpResponse to the specified Net.HttpResponseListener
. |
Modifier and Type | Method and Description |
---|---|
protected void |
LwjglCanvas.postedException(java.lang.Throwable ex,
java.lang.Throwable caller) |
Modifier and Type | Method and Description |
---|---|
void |
GlyphLayout.setText(BitmapFont font,
java.lang.CharSequence str,
int start,
int end,
Color color,
float targetWidth,
int halign,
boolean wrap,
java.lang.String truncate) |
Modifier and Type | Method and Description |
---|---|
<T extends Actor> |
Group.findActor(java.lang.String name)
Returns the first actor found with the specified name.
|
<T extends Actor> |
Actor.firstAscendant(java.lang.Class<T> type)
Returns this actor or the first ascendant of this actor that is assignable with the specified type, or null if none were
found.
|
Rectangle |
Group.getCullingArea() |
Actor |
Stage.getKeyboardFocus()
Gets the actor that will receive key events.
|
java.lang.String |
Actor.getName() |
Group |
Actor.getParent()
Returns the parent actor, or null if not in a group.
|
Pool |
Action.getPool() |
Actor |
InputEvent.getRelatedActor()
The actor related to the event.
|
Actor |
Stage.getScrollFocus()
Gets the actor that will receive scroll events.
|
Stage |
Actor.getStage()
Returns the stage that this actor is currently in, or null if not in a stage.
|
java.lang.Object |
Actor.getUserObject()
Returns an application specific object for convenience, or null.
|
Actor |
Actor.hit(float x,
float y,
boolean touchable)
|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Vector2 |
Actor.localToAscendantCoordinates(Actor ascendant,
Vector2 localCoords)
Converts coordinates for this actor to those of an ascendant.
|
void |
Actor.removeAction(Action action) |
void |
Group.setCullingArea(Rectangle cullingArea)
Children completely outside of this rectangle will not be drawn.
|
void |
Stage.setDebugTableUnderMouse(Table.Debug debugTableUnderMouse)
If not
Table.Debug.none , debug is enabled only for the first ascendant of the actor under the mouse that is a table. |
boolean |
Stage.setKeyboardFocus(Actor actor)
Sets the actor that will receive key events.
|
void |
Actor.setName(java.lang.String name)
Set the actor's name, which is used for identification convenience and by
Actor.toString() . |
protected void |
Actor.setParent(Group parent)
Called by the framework when an actor is added to or removed from a group.
|
void |
Action.setPool(Pool pool)
Sets the pool that the action will be returned to when removed from the actor.
|
void |
InputEvent.setRelatedActor(Actor relatedActor) |
boolean |
Stage.setScrollFocus(Actor actor)
Sets the actor that will receive scroll events.
|
void |
Actor.setUserObject(java.lang.Object userObject)
Sets an application specific object for convenience.
|
Modifier and Type | Method and Description |
---|---|
Color |
AlphaAction.getColor() |
Color |
ColorAction.getColor() |
Interpolation |
TemporalAction.getInterpolation() |
Modifier and Type | Method and Description |
---|---|
static AlphaAction |
Actions.alpha(float a,
float duration,
Interpolation interpolation)
Transitions from the alpha at the time this action starts to the specified alpha.
|
static ColorAction |
Actions.color(Color color,
float duration,
Interpolation interpolation)
Transitions from the color at the time this action starts to the specified color.
|
static AlphaAction |
Actions.fadeIn(float duration,
Interpolation interpolation)
Transitions from the alpha at the time this action starts to an alpha of 1.
|
static AlphaAction |
Actions.fadeOut(float duration,
Interpolation interpolation)
Transitions from the alpha at the time this action starts to an alpha of 0.
|
static MoveByAction |
Actions.moveBy(float amountX,
float amountY,
float duration,
Interpolation interpolation) |
static MoveToAction |
Actions.moveTo(float x,
float y,
float duration,
Interpolation interpolation) |
static MoveToAction |
Actions.moveToAligned(float x,
float y,
int alignment,
float duration,
Interpolation interpolation) |
static RotateByAction |
Actions.rotateBy(float rotationAmount,
float duration,
Interpolation interpolation) |
static RotateToAction |
Actions.rotateTo(float rotation,
float duration,
Interpolation interpolation) |
static ScaleByAction |
Actions.scaleBy(float amountX,
float amountY,
float duration,
Interpolation interpolation) |
static ScaleToAction |
Actions.scaleTo(float x,
float y,
float duration,
Interpolation interpolation) |
void |
AlphaAction.setColor(Color color)
Sets the color to modify.
|
void |
ColorAction.setColor(Color color)
Sets the color to modify.
|
void |
TemporalAction.setInterpolation(Interpolation interpolation) |
static SizeByAction |
Actions.sizeBy(float amountX,
float amountY,
float duration,
Interpolation interpolation) |
static SizeToAction |
Actions.sizeTo(float x,
float y,
float duration,
Interpolation interpolation) |
Constructor and Description |
---|
FloatAction(float start,
float end,
float duration,
Interpolation interpolation)
Creates a FloatAction that transitions from start to end.
|
IntAction(int start,
int end,
float duration,
Interpolation interpolation)
Creates a FloatAction that transitions from start to end.
|
TemporalAction(float duration,
Interpolation interpolation) |
Modifier and Type | Field and Description |
---|---|
Drawable |
Label.LabelStyle.background
Optional.
|
Drawable |
List.ListStyle.background
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.background
The progress bar background, stretched only in one direction.
|
Drawable |
ScrollPane.ScrollPaneStyle.background
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.background
Optional.
|
Drawable |
TextField.TextFieldStyle.background
Optional.
|
Drawable |
TextTooltip.TextTooltipStyle.background
Optional.
|
Drawable |
Touchpad.TouchpadStyle.background
Stretched in both directions.
|
Drawable |
Tree.TreeStyle.background |
Drawable |
Window.WindowStyle.background
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.backgroundDisabled
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.backgroundOpen
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.backgroundOver
Optional.
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOffDisabled
Optional.
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOnDisabled
Optional.
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOnOver
Optional.
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOver
Optional.
|
Drawable |
Button.ButtonStyle.checked
Optional.
|
Drawable |
Button.ButtonStyle.checkedFocused
Optional.
|
Color |
TextButton.TextButtonStyle.checkedFontColor
Optional.
|
Drawable |
Button.ButtonStyle.checkedOver
Optional.
|
Color |
TextButton.TextButtonStyle.checkedOverFontColor
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.corner
Optional.
|
Drawable |
TextField.TextFieldStyle.cursor
Optional.
|
Drawable |
Button.ButtonStyle.disabled
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledBackground
Optional.
|
Drawable |
TextField.TextFieldStyle.disabledBackground
Optional.
|
Color |
SelectBox.SelectBoxStyle.disabledFontColor
Optional.
|
Color |
TextButton.TextButtonStyle.disabledFontColor
Optional.
|
Color |
TextField.TextFieldStyle.disabledFontColor
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledKnob
Optional, centered on the background.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledKnobAfter
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledKnobBefore
Optional.
|
Drawable |
Button.ButtonStyle.down
Optional.
|
Drawable |
List.ListStyle.down
Optional.
|
Color |
TextButton.TextButtonStyle.downFontColor
Optional.
|
Drawable |
Button.ButtonStyle.focused
Optional.
|
Drawable |
TextField.TextFieldStyle.focusedBackground
Optional.
|
Color |
TextField.TextFieldStyle.focusedFontColor
Optional.
|
Color |
Label.LabelStyle.fontColor
Optional.
|
Color |
TextButton.TextButtonStyle.fontColor
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.hScroll
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.hScrollKnob
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageChecked
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageChecked
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageCheckedOver
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageCheckedOver
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageDisabled
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDisabled
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageDown
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDown
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageOver
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageOver
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageUp
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageUp
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.knob
Optional, centered on the background.
|
Drawable |
Touchpad.TouchpadStyle.knob
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.knobAfter
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.knobBefore
Optional.
|
Drawable |
Slider.SliderStyle.knobDown
Optional.
|
Drawable |
Slider.SliderStyle.knobOver
Optional.
|
BitmapFont |
TextField.TextFieldStyle.messageFont
Optional.
|
Color |
TextField.TextFieldStyle.messageFontColor
Optional.
|
Drawable |
Tree.TreeStyle.minusOver
Optional.
|
Drawable |
Button.ButtonStyle.over
Optional.
|
Drawable |
List.ListStyle.over
Optional.
|
Drawable |
Tree.TreeStyle.over |
Color |
SelectBox.SelectBoxStyle.overFontColor
Optional.
|
Color |
TextButton.TextButtonStyle.overFontColor
Optional.
|
Drawable |
Tree.TreeStyle.plusOver
Optional.
|
Drawable |
TextField.TextFieldStyle.selection
Optional.
|
Drawable |
Tree.TreeStyle.selection |
Drawable |
Window.WindowStyle.stageBackground
Optional.
|
Drawable |
Button.ButtonStyle.up
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.vScroll
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.vScrollKnob
Optional.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Skin.find(java.lang.Object resource)
Returns the name of the specified style object, or null if it is not in the skin.
|
N |
Tree.findNode(V value)
Returns the node with the specified value, or null.
|
N |
Tree.Node.findNode(V value)
Returns this node or the child node with the specified value, or null.
|
T |
Cell.getActor()
Returns the actor for this cell, or null.
|
T |
Container.getActor() |
Actor |
ScrollPane.getActor()
Returns the actor embedded in this scroll pane, or null.
|
T |
Tooltip.getActor() |
<T> ObjectMap<java.lang.String,T> |
Skin.getAll(java.lang.Class<T> type)
Returns the name to resource mapping for the specified type, or null if no resources of that type exist.
|
TextureAtlas |
Skin.getAtlas()
Returns the
TextureAtlas passed to this skin constructor, or null. |
Drawable |
Container.getBackground() |
Drawable |
Table.getBackground() |
protected Drawable |
TextField.getBackgroundDrawable() |
ButtonGroup |
Button.getButtonGroup() |
<T extends Actor> |
Table.getCell(T actor)
Returns the cell for the specified actor in this table, or null.
|
T |
ButtonGroup.getChecked() |
Drawable |
Image.getDrawable() |
Drawable |
Tree.Node.getIcon() |
T |
List.getItemAt(float y) |
protected Drawable |
ProgressBar.getKnobDrawable() |
protected Drawable |
Slider.getKnobDrawable() |
Value |
Cell.getMaxHeightValue() |
Value |
Cell.getMaxWidthValue() |
java.lang.String |
TextField.getMessageText() |
Value |
Cell.getMinHeightValue() |
Value |
Cell.getMinWidthValue() |
N |
Tree.getNodeAt(float y) |
N |
Tree.getOverNode() |
V |
Tree.getOverValue() |
Value |
Cell.getPadBottomValue() |
Value |
Cell.getPadLeftValue() |
Value |
Cell.getPadRightValue() |
Value |
Cell.getPadTopValue() |
N |
Tree.Node.getParent() |
Value |
Cell.getPrefHeightValue() |
Value |
Cell.getPrefWidthValue() |
Array<TextureRegion> |
Skin.getRegions(java.lang.String regionName) |
T |
List.getSelected()
Returns the first selected item, or null.
|
T |
SelectBox.getSelected()
Returns the first selected item, or null.
|
N |
Tree.getSelectedNode()
Returns the first selected node, or null.
|
V |
Tree.getSelectedValue()
Returns the first selected value, or null.
|
Skin |
Table.getSkin() |
Value |
Cell.getSpaceBottomValue() |
Value |
Cell.getSpaceLeftValue() |
Value |
Cell.getSpaceRightValue() |
Value |
Cell.getSpaceTopValue() |
TextField.TextFieldFilter |
TextField.getTextFieldFilter() |
Tree<N,V> |
Tree.Node.getTree()
Returns the tree this node's actor is currently in, or null.
|
V |
Tree.Node.getValue() |
Actor |
ScrollPane.getWidget()
Deprecated.
|
Actor |
Container.hit(float x,
float y,
boolean touchable) |
Actor |
ScrollPane.hit(float x,
float y,
boolean touchable) |
Actor |
Table.hit(float x,
float y,
boolean touchable) |
Actor |
Window.hit(float x,
float y,
boolean touchable) |
<T> T |
Skin.optional(java.lang.String name,
java.lang.Class<T> type)
Returns a named resource of the specified type.
|
Modifier and Type | Method and Description |
---|---|
Cell<Label> |
Table.add(java.lang.CharSequence text)
Adds a new cell with a label.
|
Cell<Label> |
Table.add(java.lang.CharSequence text,
java.lang.String labelStyleName)
Adds a new cell with a label.
|
Cell<Label> |
Table.add(java.lang.CharSequence text,
java.lang.String fontName,
Color color)
Adds a new cell with a label.
|
Cell<Label> |
Table.add(java.lang.CharSequence text,
java.lang.String fontName,
Color color)
Adds a new cell with a label.
|
Cell<Label> |
Table.add(java.lang.CharSequence text,
java.lang.String fontName,
java.lang.String colorName)
Adds a new cell with a label.
|
<T extends Actor> |
Table.add(T actor)
Adds a new cell to the table with the specified actor.
|
void |
TextField.appendText(java.lang.String str) |
Container<T> |
Container.background(Drawable background) |
Table |
Table.background(Drawable background) |
Dialog |
Dialog.button(Button button,
java.lang.Object object)
Adds the given button to the button table.
|
Dialog |
Dialog.button(java.lang.String text)
Adds a text button to the button table.
|
Dialog |
Dialog.button(java.lang.String text,
java.lang.Object object)
Adds a text button to the button table.
|
Dialog |
Dialog.button(java.lang.String text,
java.lang.Object object)
Adds a text button to the button table.
|
Dialog |
Dialog.button(java.lang.String text,
java.lang.Object object,
TextButton.TextButtonStyle buttonStyle)
Adds a text button to the button table.
|
Dialog |
Dialog.button(java.lang.String text,
java.lang.Object object,
TextButton.TextButtonStyle buttonStyle)
Adds a text button to the button table.
|
void |
Tooltip.enter(InputEvent event,
float x,
float y,
int pointer,
Actor fromActor) |
void |
Tooltip.exit(InputEvent event,
float x,
float y,
int pointer,
Actor toActor) |
abstract float |
Value.get(Actor context) |
float |
Value.Fixed.get(Actor context) |
protected float |
TextArea.getTextY(BitmapFont font,
Drawable background) |
protected float |
TextField.getTextY(BitmapFont font,
Drawable background) |
void |
Dialog.hide(Action action)
Removes the dialog from the stage, restoring the previous keyboard and scroll focus, and adds the specified action to the
dialog.
|
Dialog |
Dialog.key(int keycode,
java.lang.Object object)
If this key is pressed,
Dialog.result(Object) is called with the specified object. |
protected void |
Dialog.result(java.lang.Object object)
Called when a button is clicked.
|
<A extends Actor> |
Cell.setActor(A newActor)
Sets the actor in this cell and adds the actor to the cell's table.
|
void |
ScrollPane.setActor(Actor actor)
Sets the
Actor embedded in this scroll pane. |
void |
Container.setActor(T actor) |
void |
Tooltip.setActor(T contents) |
void |
Container.setBackground(Drawable background)
Sets the background drawable and adjusts the container's padding to match the background.
|
void |
Table.setBackground(Drawable background) |
void |
Container.setBackground(Drawable background,
boolean adjustPadding)
Sets the background drawable and, if adjustPadding is true, sets the container's padding to
Drawable.getBottomHeight() , Drawable.getTopHeight() , Drawable.getLeftWidth() , and
Drawable.getRightWidth() . |
void |
List.setCullingArea(Rectangle cullingArea) |
void |
Image.setDrawable(Drawable drawable)
Sets a new drawable for the image.
|
void |
Label.setEllipsis(java.lang.String ellipsis)
When non-null the text will be truncated "..." if it does not fit within the width of the label.
|
void |
SplitPane.setFirstWidget(Actor widget) |
void |
Tree.Node.setIcon(Drawable icon)
Sets an icon that will be drawn to the left of the actor.
|
void |
TextField.setMessageText(java.lang.String messageText)
Sets the text that will be drawn in the text field if no text has been entered.
|
void |
Dialog.setObject(Actor actor,
java.lang.Object object) |
void |
Tree.setOverNode(N overNode) |
void |
SplitPane.setSecondWidget(Actor widget) |
void |
List.setSelected(T item)
Sets the selection to only the passed item, if it is a possible choice.
|
void |
SelectBox.setSelected(T item)
Sets the selection to only the passed item, if it is a possible choice, else selects the first item.
|
void |
Table.setSkin(Skin skin) |
void |
Slider.setSnapToValues(float[] values,
float threshold)
Will make this progress bar snap to the specified values, if the knob is within the threshold.
|
void |
Label.setText(java.lang.CharSequence newText) |
void |
TextButton.setText(java.lang.String text) |
void |
TextField.setText(java.lang.String str) |
void |
TextField.setTextFieldFilter(TextField.TextFieldFilter filter) |
void |
TextField.setTextFieldListener(TextField.TextFieldListener listener) |
void |
Tree.Node.setValue(V value)
Sets an application specific value for this node.
|
void |
ScrollPane.setWidget(Actor actor)
Deprecated.
|
Dialog |
Dialog.show(Stage stage,
Action action)
Packs the dialog (but doesn't set the position), adds it to the stage, sets it as the keyboard and scroll
focus, clears any actions on the dialog, and adds the specified action to it. |
Dialog |
Dialog.text(java.lang.String text)
Adds a label to the content table.
|
Dialog |
Dialog.text(java.lang.String text,
Label.LabelStyle labelStyle)
Adds a label to the content table.
|
Constructor and Description |
---|
Button(Drawable up) |
Button(Drawable up,
Drawable down) |
Button(Drawable up,
Drawable down) |
Button(Drawable up,
Drawable down,
Drawable checked) |
Button(Drawable up,
Drawable down,
Drawable checked) |
Button(Drawable up,
Drawable down,
Drawable checked) |
ButtonStyle(Drawable up,
Drawable down,
Drawable checked) |
ButtonStyle(Drawable up,
Drawable down,
Drawable checked) |
ButtonStyle(Drawable up,
Drawable down,
Drawable checked) |
CheckBox(java.lang.String text,
CheckBox.CheckBoxStyle style) |
CheckBox(java.lang.String text,
Skin skin) |
CheckBox(java.lang.String text,
Skin skin,
java.lang.String styleName) |
CheckBoxStyle(Drawable checkboxOff,
Drawable checkboxOn,
BitmapFont font,
Color fontColor) |
Container(T actor) |
Image(Drawable drawable)
Creates an image stretched, and aligned center.
|
Image(Drawable drawable,
Scaling scaling)
Creates an image aligned center.
|
Image(Drawable drawable,
Scaling scaling,
int align) |
Image(NinePatch patch)
Creates an image stretched, and aligned center.
|
Image(TextureRegion region)
Creates an image stretched, and aligned center.
|
ImageButton(Drawable imageUp) |
ImageButton(Drawable imageUp,
Drawable imageDown) |
ImageButton(Drawable imageUp,
Drawable imageDown) |
ImageButton(Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButton(Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButton(Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButtonStyle(Drawable up,
Drawable down,
Drawable checked,
Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButtonStyle(Drawable up,
Drawable down,
Drawable checked,
Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButtonStyle(Drawable up,
Drawable down,
Drawable checked,
Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButtonStyle(Drawable up,
Drawable down,
Drawable checked,
Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButtonStyle(Drawable up,
Drawable down,
Drawable checked,
Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageButtonStyle(Drawable up,
Drawable down,
Drawable checked,
Drawable imageUp,
Drawable imageDown,
Drawable imageChecked) |
ImageTextButton(java.lang.String text,
ImageTextButton.ImageTextButtonStyle style) |
ImageTextButton(java.lang.String text,
Skin skin) |
ImageTextButton(java.lang.String text,
Skin skin,
java.lang.String styleName) |
ImageTextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
ImageTextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
ImageTextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
Label(java.lang.CharSequence text,
Label.LabelStyle style) |
Label(java.lang.CharSequence text,
Skin skin) |
Label(java.lang.CharSequence text,
Skin skin,
java.lang.String styleName) |
Label(java.lang.CharSequence text,
Skin skin,
java.lang.String fontName,
Color color)
Creates a label, using a
Label.LabelStyle that has a BitmapFont with the specified name from the skin and the specified
color. |
Label(java.lang.CharSequence text,
Skin skin,
java.lang.String fontName,
java.lang.String colorName)
Creates a label, using a
Label.LabelStyle that has a BitmapFont with the specified name and the specified color from the
skin. |
LabelStyle(BitmapFont font,
Color fontColor) |
ProgressBarStyle(Drawable background,
Drawable knob) |
ProgressBarStyle(Drawable background,
Drawable knob) |
ScrollPane(Actor widget) |
ScrollPane(Actor widget,
ScrollPane.ScrollPaneStyle style) |
ScrollPane(Actor widget,
Skin skin) |
ScrollPane(Actor widget,
Skin skin,
java.lang.String styleName) |
ScrollPaneStyle(Drawable background,
Drawable hScroll,
Drawable hScrollKnob,
Drawable vScroll,
Drawable vScrollKnob) |
ScrollPaneStyle(Drawable background,
Drawable hScroll,
Drawable hScrollKnob,
Drawable vScroll,
Drawable vScrollKnob) |
ScrollPaneStyle(Drawable background,
Drawable hScroll,
Drawable hScrollKnob,
Drawable vScroll,
Drawable vScrollKnob) |
ScrollPaneStyle(Drawable background,
Drawable hScroll,
Drawable hScrollKnob,
Drawable vScroll,
Drawable vScrollKnob) |
ScrollPaneStyle(Drawable background,
Drawable hScroll,
Drawable hScrollKnob,
Drawable vScroll,
Drawable vScrollKnob) |
SelectBoxStyle(BitmapFont font,
Color fontColor,
Drawable background,
ScrollPane.ScrollPaneStyle scrollStyle,
List.ListStyle listStyle) |
SliderStyle(Drawable background,
Drawable knob) |
SliderStyle(Drawable background,
Drawable knob) |
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
Skin skin) |
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,
Skin skin,
java.lang.String styleName) |
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
SplitPane.SplitPaneStyle style) |
SplitPane(Actor firstWidget,
Actor secondWidget,
boolean vertical,
SplitPane.SplitPaneStyle style) |
Table(Skin skin)
Creates a table with a skin, which enables the
Table.add(CharSequence) and Table.add(CharSequence, String) methods to
be used. |
TextButton(java.lang.String text,
Skin skin) |
TextButton(java.lang.String text,
Skin skin,
java.lang.String styleName) |
TextButton(java.lang.String text,
TextButton.TextButtonStyle style) |
TextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
TextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
TextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
TextButtonStyle(Drawable up,
Drawable down,
Drawable checked,
BitmapFont font) |
TextField(java.lang.String text,
Skin skin) |
TextField(java.lang.String text,
Skin skin,
java.lang.String styleName) |
TextField(java.lang.String text,
TextField.TextFieldStyle style) |
TextFieldStyle(BitmapFont font,
Color fontColor,
Drawable cursor,
Drawable selection,
Drawable background) |
TextFieldStyle(BitmapFont font,
Color fontColor,
Drawable cursor,
Drawable selection,
Drawable background) |
TextFieldStyle(BitmapFont font,
Color fontColor,
Drawable cursor,
Drawable selection,
Drawable background) |
TextTooltip(java.lang.String text,
Skin skin) |
TextTooltip(java.lang.String text,
Skin skin,
java.lang.String styleName) |
TextTooltip(java.lang.String text,
TextTooltip.TextTooltipStyle style) |
TextTooltip(java.lang.String text,
TooltipManager manager,
Skin skin) |
TextTooltip(java.lang.String text,
TooltipManager manager,
Skin skin,
java.lang.String styleName) |
TextTooltip(java.lang.String text,
TooltipManager manager,
TextTooltip.TextTooltipStyle style) |
TextTooltipStyle(Label.LabelStyle label,
Drawable background) |
Tooltip(T contents) |
Tooltip(T contents,
TooltipManager manager) |
TouchpadStyle(Drawable background,
Drawable knob) |
TouchpadStyle(Drawable background,
Drawable knob) |
TreeStyle(Drawable plus,
Drawable minus,
Drawable selection) |
WindowStyle(BitmapFont titleFont,
Color titleFontColor,
Drawable background) |
Modifier and Type | Method and Description |
---|---|
abstract DragAndDrop.Payload |
DragAndDrop.Source.dragStart(InputEvent event,
float x,
float y,
int pointer)
Called when a drag is started on the source.
|
T |
Selection.first()
Returns the first selected item, or null.
|
Actor |
DragAndDrop.getDragActor()
Returns the current drag actor, or null.
|
Actor |
DragAndDrop.Payload.getDragActor() |
DragAndDrop.Payload |
DragAndDrop.getDragPayload()
Returns the current drag payload, or null.
|
DragAndDrop.Source |
DragAndDrop.getDragSource()
Returns the current drag source, or null.
|
Actor |
DragAndDrop.Payload.getInvalidDragActor() |
T |
Selection.getLastSelected()
Makes a best effort to return the last item selected, else returns an arbitrary item or null if the selection is empty.
|
java.lang.String |
BaseDrawable.getName() |
java.lang.Object |
DragAndDrop.Payload.getObject() |
Actor |
FocusListener.FocusEvent.getRelatedActor()
The actor related to the event.
|
Actor |
ActorGestureListener.getTouchDownTarget() |
Actor |
DragAndDrop.Payload.getValidDragActor() |
static Rectangle |
ScissorStack.peekScissors() |
java.lang.String |
BaseDrawable.toString() |
Modifier and Type | Method and Description |
---|---|
boolean |
Selection.contains(T item) |
void |
DragAndDrop.Source.dragStop(InputEvent event,
float x,
float y,
int pointer,
DragAndDrop.Payload payload,
DragAndDrop.Target target)
Called when a drag for the source is stopped.
|
void |
DragAndDrop.Source.dragStop(InputEvent event,
float x,
float y,
int pointer,
DragAndDrop.Payload payload,
DragAndDrop.Target target)
Called when a drag for the source is stopped.
|
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) |
void |
Selection.setActor(Actor actor) |
void |
Cullable.setCullingArea(Rectangle cullingArea) |
void |
DragAndDrop.Payload.setDragActor(Actor dragActor) |
void |
DragAndDrop.Payload.setInvalidDragActor(Actor invalidDragActor) |
void |
BaseDrawable.setName(java.lang.String name) |
void |
DragAndDrop.Payload.setObject(java.lang.Object object) |
void |
FocusListener.FocusEvent.setRelatedActor(Actor relatedActor) |
void |
DragAndDrop.Payload.setValidDragActor(Actor validDragActor) |
Modifier and Type | Field and Description |
---|---|
V |
IntMap.Entry.value |
V |
LongMap.Entry.value |
V |
ObjectMap.Entry.value |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
XmlReader.entity(java.lang.String name) |
K |
ObjectFloatMap.findKey(float value)
Returns the key for the specified value, or null if it is not in the map.
|
K |
ObjectFloatMap.findKey(float value,
float epsilon)
Returns the key for the specified value, or null if it is not in the map.
|
K |
ObjectIntMap.findKey(int value)
Returns the key for the specified value, or null if it is not in the map.
|
K |
ObjectMap.findKey(java.lang.Object value,
boolean identity)
Returns the key for the specified value, or null if it is not in the map.
|
V |
ArrayMap.get(K key)
Returns the value (which may be null) for the specified key, or null if the key is not in the map.
|
V |
ArrayMap.get(K key,
V defaultValue)
Returns the value (which may be null) for the specified key, or the default value if the key is not in the map.
|
V |
LongMap.get(long key) |
T |
ObjectSet.get(T key) |
<T extends K> |
ObjectMap.get(T key)
Returns the value for the specified key, or null if the key is not in the map.
|
XmlReader.Element |
XmlReader.Element.getChildByName(java.lang.String name) |
XmlReader.Element |
XmlReader.Element.getChildByNameRecursive(java.lang.String name) |
K |
ArrayMap.getKey(V value,
boolean identity)
Returns the key for the specified value.
|
E |
SortedIntList.insert(int index,
E value)
Inserts an element into the list at the given index
|
V |
IntMap.Values.next() |
V |
LongMap.Values.next() |
V |
ObjectMap.Values.next() |
T |
PooledLinkedList.next()
Gets the next item in the list
|
T |
AtomicQueue.poll() |
T |
PooledLinkedList.previous()
Gets the previous item in the list
|
V |
IntMap.put(int key,
V value) |
V |
ObjectMap.put(K key,
V value)
Returns the old value associated with the specified key, or null.
|
V |
LongMap.put(long key,
V value) |
T |
Array.random()
Returns a random item from the array, or null if the array is empty.
|
java.lang.String |
DataInput.readString()
Reads the length and string of UTF8 characters, or null.
|
V |
IntMap.remove(int key) |
V |
ObjectMap.remove(K key) |
V |
LongMap.remove(long key) |
V |
ArrayMap.removeKey(K key) |
T |
PooledLinkedList.removeLast()
Removes the tail of the list regardless of iteration status
|
Modifier and Type | Method and Description |
---|---|
void |
Queue.addFirst(T object)
Prepend given object to the head.
|
void |
Queue.addLast(T object)
Append given object to the tail.
|
boolean |
Array.contains(T value,
boolean identity)
Returns true if this array contains the specified value.
|
boolean |
IntMap.containsValue(java.lang.Object value,
boolean identity)
Returns true if the specified value is in the map.
|
boolean |
LongMap.containsValue(java.lang.Object value,
boolean identity)
Returns true if the specified value is in the map.
|
boolean |
ObjectMap.containsValue(java.lang.Object value,
boolean identity)
Returns true if the specified value is in the map.
|
static java.lang.String |
StreamUtils.copyStreamToString(java.io.InputStream input,
int estimatedSize,
java.lang.String charset)
Copy the data from an
InputStream to a string using the specified charset. |
boolean |
IntMap.equalsIdentity(java.lang.Object obj)
Uses == for comparison of each value.
|
boolean |
LongMap.equalsIdentity(java.lang.Object obj)
Uses == for comparison of each value.
|
boolean |
ObjectMap.equalsIdentity(java.lang.Object obj)
Uses == for comparison of each value.
|
boolean |
StringBuilder.equalsIgnoreCase(java.lang.String other) |
boolean |
StringBuilder.equalsIgnoreCase(StringBuilder other) |
K |
ObjectMap.findKey(java.lang.Object value,
boolean identity)
Returns the key for the specified value, or null if it is not in the map.
|
int |
IntMap.findKey(java.lang.Object value,
boolean identity,
int notFound)
Returns the key for the specified value, or notFound if it is not in the map.
|
long |
LongMap.findKey(java.lang.Object value,
boolean identity,
long notFound)
Returns the key for the specified value, or notFound if it is not in the map.
|
V |
IntMap.get(int key,
V defaultValue) |
V |
ArrayMap.get(K key,
V defaultValue)
Returns the value (which may be null) for the specified key, or the default value if the key is not in the map.
|
V |
ObjectMap.get(K key,
V defaultValue)
Returns the value for the specified key, or the default value if the key is not in the map.
|
V |
LongMap.get(long key,
V defaultValue) |
int |
Array.indexOf(T value,
boolean identity)
Returns the index of first occurrence of value in the array, or -1 if no such value exists.
|
int |
Array.lastIndexOf(T value,
boolean identity)
Returns an index of last occurrence of value in array or -1 if no such value exists.
|
V |
IntMap.put(int key,
V value) |
V |
ObjectMap.put(K key,
V value)
Returns the old value associated with the specified key, or null.
|
V |
LongMap.put(long key,
V value) |
boolean |
AtomicQueue.put(T value) |
boolean |
Array.removeValue(T value,
boolean identity)
Removes the first instance of the specified value in the array.
|
protected void |
JsonReader.startArray(java.lang.String name) |
protected void |
JsonReader.startObject(java.lang.String name) |
void |
DataOutput.writeString(java.lang.String value)
Writes a length and then the string as UTF8.
|