Uses of Class
com.badlogic.gdx.utils.Null
-
-
Uses of Null in com.badlogic.gdx
Method parameters in com.badlogic.gdx with annotations of type Null Modifier and Type Method Description void
InputEventQueue. drain(InputProcessor processor)
void
Net. sendHttpRequest(Net.HttpRequest httpRequest, Net.HttpResponseListener httpResponseListener)
Process the specifiedNet.HttpRequest
and reports theNet.HttpResponse
to the specifiedNet.HttpResponseListener
.boolean
Audio. switchOutputDevice(java.lang.String deviceIdentifier)
Sets a new OutputDevice. -
Uses of Null in com.badlogic.gdx.assets
Methods in com.badlogic.gdx.assets with annotations of type Null Modifier and Type Method Description <T> T
AssetManager. get(java.lang.String fileName, boolean required)
<T> T
AssetManager. get(java.lang.String fileName, java.lang.Class<T> type, boolean required)
-
Uses of Null in com.badlogic.gdx.graphics.g2d
Fields in com.badlogic.gdx.graphics.g2d with annotations of type Null Modifier and Type Field Description java.lang.String[]
TextureAtlas.AtlasRegion. names
Names for name/value pairs other than the fields provided on this class, each entry corresponding toTextureAtlas.AtlasRegion.values
.java.lang.String[]
TextureAtlas.TextureAtlasData.Region. names
Texture
TextureAtlas.TextureAtlasData.Page. texture
May be null if the texture is not yet loaded.FileHandle
TextureAtlas.TextureAtlasData.Page. textureFile
May be null if this page isn't associated with a file.int[][]
TextureAtlas.AtlasRegion. values
Values for name/value pairs other than the fields provided on this class, each entry corresponding toTextureAtlas.AtlasRegion.names
.int[][]
TextureAtlas.TextureAtlasData.Region. values
Methods in com.badlogic.gdx.graphics.g2d with annotations of type Null Modifier and Type Method Description NinePatch
TextureAtlas. createPatch(java.lang.String name)
Returns the first region found with the specified name as aNinePatch
.Sprite
TextureAtlas. createSprite(java.lang.String name)
Returns the first region found with the specified name as a sprite.Sprite
TextureAtlas. createSprite(java.lang.String name, int index)
Returns the first region found with the specified name and index as a sprite.TextureAtlas.AtlasRegion
TextureAtlas. findRegion(java.lang.String name)
Returns the first region found with the specified name.TextureAtlas.AtlasRegion
TextureAtlas. findRegion(java.lang.String name, int index)
Returns the first region found with the specified name and index.int[]
TextureAtlas.AtlasRegion. findValue(java.lang.String name)
int[]
TextureAtlas.TextureAtlasData.Region. findValue(java.lang.String name)
Method parameters in com.badlogic.gdx.graphics.g2d with annotations of type Null Modifier and Type Method 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)
-
Uses of Null in com.badlogic.gdx.maps.tiled
Methods in com.badlogic.gdx.maps.tiled with annotations of type Null Modifier and Type Method Description IntMap<MapObject>
BaseTmxMapLoader. getIdToObject()
Gets a map of the object ids to theMapObject
instances. -
Uses of Null in com.badlogic.gdx.scenes.scene2d
Methods in com.badlogic.gdx.scenes.scene2d with annotations of type Null Modifier and Type Method Description <T extends Actor>
TGroup. findActor(java.lang.String name)
Returns the first actor found with the specified name.<T extends Actor>
TActor. 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 theActor
at the specified location in stage coordinates.Method parameters in com.badlogic.gdx.scenes.scene2d with annotations of type Null Modifier and Type Method Description void
Stage. cancelTouchFocusExcept(EventListener exceptListener, Actor exceptActor)
Cancels touch focus for all listeners except the specified listener.void
Stage. cancelTouchFocusExcept(EventListener exceptListener, Actor exceptActor)
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.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 notTable.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 byActor.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. -
Uses of Null in com.badlogic.gdx.scenes.scene2d.actions
Methods in com.badlogic.gdx.scenes.scene2d.actions with annotations of type Null Modifier and Type Method Description Color
AlphaAction. getColor()
Color
ColorAction. getColor()
Interpolation
TemporalAction. getInterpolation()
Method parameters in com.badlogic.gdx.scenes.scene2d.actions with annotations of type Null Modifier and Type Method 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 parameters in com.badlogic.gdx.scenes.scene2d.actions with annotations of type Null Constructor 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)
-
Uses of Null in com.badlogic.gdx.scenes.scene2d.ui
Fields in com.badlogic.gdx.scenes.scene2d.ui with annotations of type Null Modifier and Type Field Description Drawable
Label.LabelStyle. background
Drawable
List.ListStyle. background
Drawable
ProgressBar.ProgressBarStyle. background
The progress bar background, stretched only in one direction.Drawable
ScrollPane.ScrollPaneStyle. background
Drawable
SelectBox.SelectBoxStyle. background
Drawable
TextField.TextFieldStyle. background
Drawable
TextTooltip.TextTooltipStyle. background
Drawable
Touchpad.TouchpadStyle. background
Stretched in both directions.Drawable
Tree.TreeStyle. background
Drawable
Window.WindowStyle. background
Drawable
SelectBox.SelectBoxStyle. backgroundDisabled
Drawable
Slider.SliderStyle. backgroundDown
Drawable
SelectBox.SelectBoxStyle. backgroundOpen
Drawable
SelectBox.SelectBoxStyle. backgroundOver
Drawable
Slider.SliderStyle. backgroundOver
Drawable
CheckBox.CheckBoxStyle. checkboxOffDisabled
Drawable
CheckBox.CheckBoxStyle. checkboxOnDisabled
Drawable
CheckBox.CheckBoxStyle. checkboxOnOver
Drawable
CheckBox.CheckBoxStyle. checkboxOver
Drawable
Button.ButtonStyle. checked
Drawable
Button.ButtonStyle. checkedDown
Color
TextButton.TextButtonStyle. checkedDownFontColor
Drawable
Button.ButtonStyle. checkedFocused
Color
TextButton.TextButtonStyle. checkedFocusedFontColor
Color
TextButton.TextButtonStyle. checkedFontColor
Drawable
Button.ButtonStyle. checkedOver
Color
TextButton.TextButtonStyle. checkedOverFontColor
Drawable
ScrollPane.ScrollPaneStyle. corner
Drawable
TextField.TextFieldStyle. cursor
Drawable
Button.ButtonStyle. disabled
Drawable
ProgressBar.ProgressBarStyle. disabledBackground
The progress bar background, stretched only in one direction.Drawable
TextField.TextFieldStyle. disabledBackground
Color
SelectBox.SelectBoxStyle. disabledFontColor
Color
TextButton.TextButtonStyle. disabledFontColor
Color
TextField.TextFieldStyle. disabledFontColor
Drawable
ProgressBar.ProgressBarStyle. disabledKnob
Drawable
ProgressBar.ProgressBarStyle. disabledKnobAfter
Drawable
ProgressBar.ProgressBarStyle. disabledKnobBefore
Drawable
Button.ButtonStyle. down
Drawable
List.ListStyle. down
Color
TextButton.TextButtonStyle. downFontColor
Drawable
Button.ButtonStyle. focused
Drawable
TextField.TextFieldStyle. focusedBackground
Color
TextButton.TextButtonStyle. focusedFontColor
Color
TextField.TextFieldStyle. focusedFontColor
Color
Label.LabelStyle. fontColor
Color
TextButton.TextButtonStyle. fontColor
Drawable
ScrollPane.ScrollPaneStyle. hScroll
Drawable
ScrollPane.ScrollPaneStyle. hScrollKnob
Drawable
ImageButton.ImageButtonStyle. imageChecked
Drawable
ImageTextButton.ImageTextButtonStyle. imageChecked
Drawable
ImageButton.ImageButtonStyle. imageCheckedDown
Drawable
ImageTextButton.ImageTextButtonStyle. imageCheckedDown
Drawable
ImageButton.ImageButtonStyle. imageCheckedOver
Drawable
ImageTextButton.ImageTextButtonStyle. imageCheckedOver
Drawable
ImageButton.ImageButtonStyle. imageDisabled
Drawable
ImageTextButton.ImageTextButtonStyle. imageDisabled
Drawable
ImageButton.ImageButtonStyle. imageDown
Drawable
ImageTextButton.ImageTextButtonStyle. imageDown
Drawable
ImageButton.ImageButtonStyle. imageOver
Drawable
ImageTextButton.ImageTextButtonStyle. imageOver
Drawable
ImageButton.ImageButtonStyle. imageUp
Drawable
ImageTextButton.ImageTextButtonStyle. imageUp
Drawable
ProgressBar.ProgressBarStyle. knob
Drawable
Touchpad.TouchpadStyle. knob
Drawable
ProgressBar.ProgressBarStyle. knobAfter
Drawable
Slider.SliderStyle. knobAfterDown
Drawable
Slider.SliderStyle. knobAfterOver
Drawable
ProgressBar.ProgressBarStyle. knobBefore
Drawable
Slider.SliderStyle. knobBeforeDown
Drawable
Slider.SliderStyle. knobBeforeOver
Drawable
Slider.SliderStyle. knobDown
Drawable
Slider.SliderStyle. knobOver
BitmapFont
TextField.TextFieldStyle. messageFont
Color
TextField.TextFieldStyle. messageFontColor
Drawable
Tree.TreeStyle. minusOver
Drawable
Button.ButtonStyle. over
Drawable
List.ListStyle. over
Drawable
Tree.TreeStyle. over
Color
SelectBox.SelectBoxStyle. overFontColor
Color
TextButton.TextButtonStyle. overFontColor
Drawable
Tree.TreeStyle. plusOver
Drawable
TextField.TextFieldStyle. selection
Drawable
Tree.TreeStyle. selection
Drawable
Window.WindowStyle. stageBackground
Color
Window.WindowStyle. titleFontColor
Drawable
Button.ButtonStyle. up
Drawable
ScrollPane.ScrollPaneStyle. vScroll
Drawable
ScrollPane.ScrollPaneStyle. vScrollKnob
Methods in com.badlogic.gdx.scenes.scene2d.ui with annotations of type Null Modifier and Type Method 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()
java.lang.Integer
Cell. getAlign()
<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 theTextureAtlas
passed to this skin constructor, or null.Drawable
Container. getBackground()
Drawable
Table. getBackground()
protected Drawable
Button. getBackgroundDrawable()
Returns appropriate background drawable from the style based on the current button state.protected Drawable
ProgressBar. getBackgroundDrawable()
protected Drawable
SelectBox. getBackgroundDrawable()
Returns appropriate background drawable from the style based on the current select box state.protected Drawable
Slider. getBackgroundDrawable()
protected Drawable
TextField. getBackgroundDrawable()
ButtonGroup
Button. getButtonGroup()
<T extends Actor>
Cell<T>Table. getCell(T actor)
Returns the cell for the specified actor in this table, or null.T
ButtonGroup. getChecked()
java.lang.Integer
Cell. getColspan()
Drawable
Image. getDrawable()
java.lang.Integer
Cell. getExpandX()
java.lang.Integer
Cell. getExpandY()
java.lang.Float
Cell. getFillX()
java.lang.Float
Cell. getFillY()
protected Color
ImageTextButton. getFontColor()
Returns the appropriate label font color from the style based on the current button state.protected Color
TextButton. getFontColor()
Returns the appropriate label font color from the style based on the current button state.Drawable
Tree.Node. getIcon()
protected Drawable
CheckBox. getImageDrawable()
protected Drawable
ImageButton. getImageDrawable()
Returns the appropriate image drawable from the style based on the current button state.protected Drawable
ImageTextButton. getImageDrawable()
Returns the appropriate image drawable from the style based on the current button state.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()
float[]
Slider. getSnapToValues()
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.java.lang.Boolean
Cell. getUniformX()
java.lang.Boolean
Cell. getUniformY()
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.Method parameters in com.badlogic.gdx.scenes.scene2d.ui with annotations of type Null Modifier and Type Method 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>
Cell<T>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.protected float
Tree. drawIcons(Batch batch, float r, float g, float b, float a, N parent, Array<N> nodes, float indent, float plusMinusWidth)
Draws selection, icons, and expand icons.protected void
List. drawSelection(Batch batch, Drawable drawable, float x, float y, float width, float height)
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)
float
Value.Fixed. get(Actor context)
abstract float
Value. 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<A>Cell. setActor(A newActor)
Sets the actor in this cell and adds the actor to the cell's table.void
Container. setActor(T actor)
void
ScrollPane. setActor(Actor actor)
Sets theActor
embedded in this scroll pane.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
Container. setBackground(Drawable background, boolean adjustPadding)
Sets the background drawable and, if adjustPadding is true, sets the container's padding toDrawable.getBottomHeight()
,Drawable.getTopHeight()
,Drawable.getLeftWidth()
, andDrawable.getRightWidth()
.void
Table. setBackground(Drawable background)
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)
Deprecated.void
Slider. setSnapToValues(float threshold, float... values)
Makes this slider snap to the specified values when 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.Cell<Stack>
Table. stack(Actor... actors)
Adds a new cell to the table with the specified actors in aStack
.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 parameters in com.badlogic.gdx.scenes.scene2d.ui with annotations of type Null Constructor 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(NinePatch patch)
Creates an image stretched, and aligned center.Image(TextureRegion region)
Creates an image stretched, and aligned center.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)
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 aLabel.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 aLabel.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 actor)
ScrollPane(Actor actor, ScrollPane.ScrollPaneStyle style)
ScrollPane(Actor actor, Skin skin)
ScrollPane(Actor actor, 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 is required to useTable.add(CharSequence)
orTable.add(CharSequence, String)
.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)
-
Uses of Null in com.badlogic.gdx.scenes.scene2d.utils
Methods in com.badlogic.gdx.scenes.scene2d.utils with annotations of type Null Modifier and Type Method 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()
Method parameters in com.badlogic.gdx.scenes.scene2d.utils with annotations of type Null Modifier and Type Method 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)
-
Uses of Null in com.badlogic.gdx.utils
Fields in com.badlogic.gdx.utils with annotations of type Null Modifier and Type Field Description QuadTreeFloat
QuadTreeFloat. ne
QuadTreeFloat
QuadTreeFloat. nw
QuadTreeFloat
QuadTreeFloat. se
QuadTreeFloat
QuadTreeFloat. sw
V
IntMap.Entry. value
V
LongMap.Entry. value
V
ObjectMap.Entry. value
Methods in com.badlogic.gdx.utils with annotations of type Null Modifier and Type Method Description java.lang.String
JsonValue. asString()
Returns this value as a string.JsonValue
JsonValue. child()
Returns the first child for this object or array.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
ObjectLongMap. findKey(long 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.<T> T
Json. fromJson(java.lang.Class<T> type, char[] data, int offset, int length)
<T> T
Json. fromJson(java.lang.Class<T> type, FileHandle file)
<T> T
Json. fromJson(java.lang.Class<T> type, java.io.InputStream input)
<T> T
Json. fromJson(java.lang.Class<T> type, java.io.Reader reader)
<T> T
Json. fromJson(java.lang.Class<T> type, java.lang.Class elementType, char[] data, int offset, int length)
<T> T
Json. fromJson(java.lang.Class<T> type, java.lang.Class elementType, FileHandle file)
<T> T
Json. fromJson(java.lang.Class<T> type, java.lang.Class elementType, java.io.InputStream input)
<T> T
Json. fromJson(java.lang.Class<T> type, java.lang.Class elementType, java.io.Reader reader)
<T> T
Json. fromJson(java.lang.Class<T> type, java.lang.Class elementType, java.lang.String json)
<T> T
Json. fromJson(java.lang.Class<T> type, java.lang.String json)
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.JsonValue
JsonValue. get(int index)
Returns the child at the specified index.JsonValue
JsonValue. get(java.lang.String name)
Returns the child with the specified name.V
LongMap. get(long key)
<T extends K>
VObjectMap. get(T key)
Returns the value for the specified key, or null if the key is not in the map.T
ObjectSet. get(T key)
JsonValue
JsonValue. getChild(java.lang.String name)
Finds the child with the specified name and returns its first child.XmlReader.Element
XmlReader.Element. getChildByName(java.lang.String name)
XmlReader.Element
XmlReader.Element. getChildByNameRecursive(java.lang.String name)
java.lang.Class
Json. getClass(java.lang.String tag)
Returns the class for the specified tag, or null.K
ArrayMap. getKey(V value, boolean identity)
Returns the key for the specified value.java.lang.String
Json. getTag(java.lang.Class type)
Returns the tag for the specified class, or null.E
SortedIntList. insert(int index, E value)
Inserts an element into the list at the given indexjava.lang.String
JsonValue. name()
Returns the name for this object value.V
IntMap.Values. next()
JsonValue
JsonValue. next()
Returns the next sibling of this value.V
LongMap.Values. next()
V
ObjectMap.Values. next()
T
PooledLinkedList. next()
Gets the next item in the listJsonValue
JsonValue. parent()
Returns the parent for this value.T
AtomicQueue. poll()
JsonValue
JsonValue. prev()
Returns the previous sibling of this value.T
PooledLinkedList. previous()
Gets the previous item in the listV
IntMap. put(int key, V value)
V
LongMap. put(long key, V value)
V
ObjectMap. put(K key, V value)
Returns the old value associated with the specified key, or null.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.<T> T
Json. readValue(java.lang.Class<T> type, JsonValue jsonData)
<T> T
Json. readValue(java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonData)
<T> T
Json. readValue(java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonData)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, T defaultValue, JsonValue jsonMap)
V
IntMap. remove(int key)
Returns the value for the removed key, or null if the key is not in the map.JsonValue
JsonValue. remove(int index)
Removes the child with the specified index.JsonValue
JsonValue. remove(java.lang.String name)
Removes the child with the specified name.V
LongMap. remove(long key)
Returns the value for the removed key, or null if the key is not in the map.V
ObjectMap. remove(K key)
Returns the value for the removed key, or null if the key is not in the map.V
ArrayMap. removeKey(K key)
T
PooledLinkedList. removeLast()
Removes the tail of the list regardless of iteration statusMethod parameters in com.badlogic.gdx.utils with annotations of type Null Modifier and Type Method 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 anInputStream
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(StringBuilder other)
boolean
StringBuilder. equalsIgnoreCase(java.lang.String other)
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.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, 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
IntMap. get(int key, V defaultValue)
V
LongMap. get(long key, V defaultValue)
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.java.lang.String
JsonValue. getString(java.lang.String name, java.lang.String defaultValue)
Finds the child with the specified name and returns it as a string.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.java.lang.String
Json. prettyPrint(java.lang.Object object)
java.lang.String
Json. prettyPrint(java.lang.Object object, int singleLineColumns)
java.lang.String
Json. prettyPrint(java.lang.Object object, JsonValue.PrettyPrintSettings settings)
boolean
AtomicQueue. put(T value)
V
IntMap. put(int key, V value)
V
LongMap. put(long key, V value)
V
ObjectMap. put(K key, V value)
Returns the old value associated with the specified key, or null.void
Json. readField(java.lang.Object object, Field field, java.lang.String jsonName, java.lang.Class elementType, JsonValue jsonMap)
void
Json. readField(java.lang.Object object, Field field, java.lang.String jsonName, java.lang.Class elementType, JsonValue jsonMap)
void
Json. readField(java.lang.Object object, java.lang.String name, java.lang.Class elementType, JsonValue jsonData)
void
Json. readField(java.lang.Object object, java.lang.String fieldName, java.lang.String jsonName, java.lang.Class elementType, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.Class<T> type, JsonValue jsonData)
<T> T
Json. readValue(java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonData)
<T> T
Json. readValue(java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonData)
<T> T
Json. readValue(java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonData)
<T> T
Json. readValue(java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonData)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonMap)
<T> T
Json. readValue(java.lang.String name, java.lang.Class<T> type, T defaultValue, JsonValue jsonMap)
boolean
Array. removeValue(T value, boolean identity)
Removes the first instance of the specified value in the array.void
JsonValue. set(double value, java.lang.String stringValue)
void
JsonValue. set(long value, java.lang.String stringValue)
void
JsonValue. set(java.lang.String value)
void
Json. setDefaultSerializer(Json.Serializer defaultSerializer)
Sets the serializer to use when the type being deserialized is not known (null).void
JsonValue. setName(java.lang.String name)
void
JsonValue. setNext(JsonValue next)
Sets the next sibling of this value.void
JsonValue. setPrev(JsonValue prev)
Sets the next sibling of this value.void
Json. setTypeName(java.lang.String typeName)
Sets the name of the JSON field to store the Java class name or class tag when required to avoid ambiguity during deserialization.protected void
JsonReader. startArray(java.lang.String name)
protected void
JsonReader. startObject(java.lang.String name)
java.lang.String
Json. toJson(java.lang.Object object)
void
Json. toJson(java.lang.Object object, FileHandle file)
void
Json. toJson(java.lang.Object object, java.io.Writer writer)
java.lang.String
Json. toJson(java.lang.Object object, java.lang.Class knownType)
java.lang.String
Json. toJson(java.lang.Object object, java.lang.Class knownType)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, FileHandle file)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, FileHandle file)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.io.Writer writer)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.io.Writer writer)
java.lang.String
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType)
java.lang.String
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType)
java.lang.String
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, FileHandle file)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, FileHandle file)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, FileHandle file)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, java.io.Writer writer)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, java.io.Writer writer)
void
Json. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, java.io.Writer writer)
void
Json. writeField(java.lang.Object object, java.lang.String name, java.lang.Class elementType)
void
Json. writeField(java.lang.Object object, java.lang.String fieldName, java.lang.String jsonName, java.lang.Class elementType)
Writes the specified field to the current JSON object.void
Json. writeObjectStart(java.lang.Class actualType, java.lang.Class knownType)
Starts writing an object, writing the actualType to a field if needed.void
Json. writeObjectStart(java.lang.String name, java.lang.Class actualType, java.lang.Class knownType)
void
DataOutput. writeString(java.lang.String value)
Writes a length and then the string as UTF8.void
Json. writeValue(java.lang.Object value)
Writes the value, without writing the class of the object.void
Json. writeValue(java.lang.Object value, java.lang.Class knownType)
Writes the value, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.Object value, java.lang.Class knownType)
Writes the value, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.Object value, java.lang.Class knownType, java.lang.Class elementType)
Writes the value, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.Object value, java.lang.Class knownType, java.lang.Class elementType)
Writes the value, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.Object value, java.lang.Class knownType, java.lang.Class elementType)
Writes the value, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.String name, java.lang.Object value)
Writes the value as a field on the current JSON object, without writing the actual class.void
Json. writeValue(java.lang.String name, java.lang.Object value, java.lang.Class knownType)
Writes the value as a field on the current JSON object, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.String name, java.lang.Object value, java.lang.Class knownType)
Writes the value as a field on the current JSON object, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.String name, java.lang.Object value, java.lang.Class knownType, java.lang.Class elementType)
Writes the value as a field on the current JSON object, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.String name, java.lang.Object value, java.lang.Class knownType, java.lang.Class elementType)
Writes the value as a field on the current JSON object, writing the class of the object if it differs from the specified known type.void
Json. writeValue(java.lang.String name, java.lang.Object value, java.lang.Class knownType, java.lang.Class elementType)
Writes the value as a field on the current JSON object, writing the class of the object if it differs from the specified known type.Constructor parameters in com.badlogic.gdx.utils with annotations of type Null Constructor Description JsonValue(java.lang.String value)
-