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 voidInputEventQueue. drain(InputProcessor processor)voidNet. sendHttpRequest(Net.HttpRequest httpRequest, Net.HttpResponseListener httpResponseListener)Process the specifiedNet.HttpRequestand reports theNet.HttpResponseto the specifiedNet.HttpResponseListener.booleanAudio. 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> TAssetManager. get(java.lang.String fileName, boolean required)<T> TAssetManager. 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. namesNames for name/value pairs other than the fields provided on this class, each entry corresponding toTextureAtlas.AtlasRegion.values.java.lang.String[]TextureAtlas.TextureAtlasData.Region. namesTextureTextureAtlas.TextureAtlasData.Page. textureMay be null if the texture is not yet loaded.FileHandleTextureAtlas.TextureAtlasData.Page. textureFileMay be null if this page isn't associated with a file.int[][]TextureAtlas.AtlasRegion. valuesValues for name/value pairs other than the fields provided on this class, each entry corresponding toTextureAtlas.AtlasRegion.names.int[][]TextureAtlas.TextureAtlasData.Region. valuesMethods in com.badlogic.gdx.graphics.g2d with annotations of type Null Modifier and Type Method Description NinePatchTextureAtlas. createPatch(java.lang.String name)Returns the first region found with the specified name as aNinePatch.SpriteTextureAtlas. createSprite(java.lang.String name)Returns the first region found with the specified name as a sprite.SpriteTextureAtlas. createSprite(java.lang.String name, int index)Returns the first region found with the specified name and index as a sprite.TextureAtlas.AtlasRegionTextureAtlas. findRegion(java.lang.String name)Returns the first region found with the specified name.TextureAtlas.AtlasRegionTextureAtlas. 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 voidGlyphLayout. 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 theMapObjectinstances. -
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.RectangleGroup. getCullingArea()ActorStage. getKeyboardFocus()Gets the actor that will receive key events.java.lang.StringActor. getName()GroupActor. getParent()Returns the parent actor, or null if not in a group.PoolAction. getPool()ActorInputEvent. getRelatedActor()The actor related to the event.ActorStage. getScrollFocus()Gets the actor that will receive scroll events.StageActor. getStage()Returns the stage that this actor is currently in, or null if not in a stage.java.lang.ObjectActor. getUserObject()Returns an application specific object for convenience, or null.ActorActor. hit(float x, float y, boolean touchable)ActorGroup. hit(float x, float y, boolean touchable)ActorStage. hit(float stageX, float stageY, boolean touchable)Returns theActorat the specified location in stage coordinates.Method parameters in com.badlogic.gdx.scenes.scene2d with annotations of type Null Modifier and Type Method Description voidStage. cancelTouchFocusExcept(EventListener exceptListener, Actor exceptActor)Cancels touch focus for all listeners except the specified listener.voidStage. cancelTouchFocusExcept(EventListener exceptListener, Actor exceptActor)Cancels touch focus for all listeners except the specified listener.voidInputListener. 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.voidInputListener. 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.Vector2Actor. localToAscendantCoordinates(Actor ascendant, Vector2 localCoords)Converts coordinates for this actor to those of an ascendant.voidActor. removeAction(Action action)voidGroup. setCullingArea(Rectangle cullingArea)Children completely outside of this rectangle will not be drawn.voidStage. 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.booleanStage. setKeyboardFocus(Actor actor)Sets the actor that will receive key events.voidActor. setName(java.lang.String name)Set the actor's name, which is used for identification convenience and byActor.toString().protected voidActor. setParent(Group parent)Called by the framework when an actor is added to or removed from a group.voidAction. setPool(Pool pool)Sets the pool that the action will be returned to when removed from the actor.voidInputEvent. setRelatedActor(Actor relatedActor)booleanStage. setScrollFocus(Actor actor)Sets the actor that will receive scroll events.voidActor. 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 ColorAlphaAction. getColor()ColorColorAction. getColor()InterpolationTemporalAction. getInterpolation()Method parameters in com.badlogic.gdx.scenes.scene2d.actions with annotations of type Null Modifier and Type Method Description static AlphaActionActions. alpha(float a, float duration, Interpolation interpolation)Transitions from the alpha at the time this action starts to the specified alpha.static ColorActionActions. color(Color color, float duration, Interpolation interpolation)Transitions from the color at the time this action starts to the specified color.static AlphaActionActions. fadeIn(float duration, Interpolation interpolation)Transitions from the alpha at the time this action starts to an alpha of 1.static AlphaActionActions. fadeOut(float duration, Interpolation interpolation)Transitions from the alpha at the time this action starts to an alpha of 0.static MoveByActionActions. moveBy(float amountX, float amountY, float duration, Interpolation interpolation)static MoveToActionActions. moveTo(float x, float y, float duration, Interpolation interpolation)static MoveToActionActions. moveToAligned(float x, float y, int alignment, float duration, Interpolation interpolation)static RotateByActionActions. rotateBy(float rotationAmount, float duration, Interpolation interpolation)static RotateToActionActions. rotateTo(float rotation, float duration, Interpolation interpolation)static ScaleByActionActions. scaleBy(float amountX, float amountY, float duration, Interpolation interpolation)static ScaleToActionActions. scaleTo(float x, float y, float duration, Interpolation interpolation)voidAlphaAction. setColor(Color color)Sets the color to modify.voidColorAction. setColor(Color color)Sets the color to modify.voidTemporalAction. setInterpolation(Interpolation interpolation)static SizeByActionActions. sizeBy(float amountX, float amountY, float duration, Interpolation interpolation)static SizeToActionActions. 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 DrawableLabel.LabelStyle. backgroundDrawableList.ListStyle. backgroundDrawableProgressBar.ProgressBarStyle. backgroundThe progress bar background, stretched only in one direction.DrawableScrollPane.ScrollPaneStyle. backgroundDrawableSelectBox.SelectBoxStyle. backgroundDrawableTextField.TextFieldStyle. backgroundDrawableTextTooltip.TextTooltipStyle. backgroundDrawableTouchpad.TouchpadStyle. backgroundStretched in both directions.DrawableTree.TreeStyle. backgroundDrawableWindow.WindowStyle. backgroundDrawableSelectBox.SelectBoxStyle. backgroundDisabledDrawableSlider.SliderStyle. backgroundDownDrawableSelectBox.SelectBoxStyle. backgroundOpenDrawableSelectBox.SelectBoxStyle. backgroundOverDrawableSlider.SliderStyle. backgroundOverDrawableCheckBox.CheckBoxStyle. checkboxOffDisabledDrawableCheckBox.CheckBoxStyle. checkboxOnDisabledDrawableCheckBox.CheckBoxStyle. checkboxOnOverDrawableCheckBox.CheckBoxStyle. checkboxOverDrawableButton.ButtonStyle. checkedDrawableButton.ButtonStyle. checkedDownColorTextButton.TextButtonStyle. checkedDownFontColorDrawableButton.ButtonStyle. checkedFocusedColorTextButton.TextButtonStyle. checkedFocusedFontColorColorTextButton.TextButtonStyle. checkedFontColorDrawableButton.ButtonStyle. checkedOverColorTextButton.TextButtonStyle. checkedOverFontColorDrawableScrollPane.ScrollPaneStyle. cornerDrawableTextField.TextFieldStyle. cursorDrawableButton.ButtonStyle. disabledDrawableProgressBar.ProgressBarStyle. disabledBackgroundThe progress bar background, stretched only in one direction.DrawableTextField.TextFieldStyle. disabledBackgroundColorSelectBox.SelectBoxStyle. disabledFontColorColorTextButton.TextButtonStyle. disabledFontColorColorTextField.TextFieldStyle. disabledFontColorDrawableProgressBar.ProgressBarStyle. disabledKnobDrawableProgressBar.ProgressBarStyle. disabledKnobAfterDrawableProgressBar.ProgressBarStyle. disabledKnobBeforeDrawableButton.ButtonStyle. downDrawableList.ListStyle. downColorTextButton.TextButtonStyle. downFontColorDrawableButton.ButtonStyle. focusedDrawableTextField.TextFieldStyle. focusedBackgroundColorTextButton.TextButtonStyle. focusedFontColorColorTextField.TextFieldStyle. focusedFontColorColorLabel.LabelStyle. fontColorColorTextButton.TextButtonStyle. fontColorDrawableScrollPane.ScrollPaneStyle. hScrollDrawableScrollPane.ScrollPaneStyle. hScrollKnobDrawableImageButton.ImageButtonStyle. imageCheckedDrawableImageTextButton.ImageTextButtonStyle. imageCheckedDrawableImageButton.ImageButtonStyle. imageCheckedDownDrawableImageTextButton.ImageTextButtonStyle. imageCheckedDownDrawableImageButton.ImageButtonStyle. imageCheckedOverDrawableImageTextButton.ImageTextButtonStyle. imageCheckedOverDrawableImageButton.ImageButtonStyle. imageDisabledDrawableImageTextButton.ImageTextButtonStyle. imageDisabledDrawableImageButton.ImageButtonStyle. imageDownDrawableImageTextButton.ImageTextButtonStyle. imageDownDrawableImageButton.ImageButtonStyle. imageOverDrawableImageTextButton.ImageTextButtonStyle. imageOverDrawableImageButton.ImageButtonStyle. imageUpDrawableImageTextButton.ImageTextButtonStyle. imageUpDrawableProgressBar.ProgressBarStyle. knobDrawableTouchpad.TouchpadStyle. knobDrawableProgressBar.ProgressBarStyle. knobAfterDrawableSlider.SliderStyle. knobAfterDownDrawableSlider.SliderStyle. knobAfterOverDrawableProgressBar.ProgressBarStyle. knobBeforeDrawableSlider.SliderStyle. knobBeforeDownDrawableSlider.SliderStyle. knobBeforeOverDrawableSlider.SliderStyle. knobDownDrawableSlider.SliderStyle. knobOverBitmapFontTextField.TextFieldStyle. messageFontColorTextField.TextFieldStyle. messageFontColorDrawableTree.TreeStyle. minusOverDrawableButton.ButtonStyle. overDrawableList.ListStyle. overDrawableTree.TreeStyle. overColorSelectBox.SelectBoxStyle. overFontColorColorTextButton.TextButtonStyle. overFontColorDrawableTree.TreeStyle. plusOverDrawableTextField.TextFieldStyle. selectionDrawableTree.TreeStyle. selectionDrawableWindow.WindowStyle. stageBackgroundColorWindow.WindowStyle. titleFontColorDrawableButton.ButtonStyle. upDrawableScrollPane.ScrollPaneStyle. vScrollDrawableScrollPane.ScrollPaneStyle. vScrollKnobMethods in com.badlogic.gdx.scenes.scene2d.ui with annotations of type Null Modifier and Type Method Description java.lang.StringSkin. find(java.lang.Object resource)Returns the name of the specified style object, or null if it is not in the skin.NTree. findNode(V value)Returns the node with the specified value, or null.NTree.Node. findNode(V value)Returns this node or the child node with the specified value, or null.TCell. getActor()Returns the actor for this cell, or null.TContainer. getActor()ActorScrollPane. getActor()Returns the actor embedded in this scroll pane, or null.TTooltip. getActor()java.lang.IntegerCell. 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.TextureAtlasSkin. getAtlas()Returns theTextureAtlaspassed to this skin constructor, or null.DrawableContainer. getBackground()DrawableTable. getBackground()protected DrawableButton. getBackgroundDrawable()Returns appropriate background drawable from the style based on the current button state.protected DrawableProgressBar. getBackgroundDrawable()protected DrawableSelectBox. getBackgroundDrawable()Returns appropriate background drawable from the style based on the current select box state.protected DrawableSlider. getBackgroundDrawable()protected DrawableTextField. getBackgroundDrawable()ButtonGroupButton. getButtonGroup()<T extends Actor>
Cell<T>Table. getCell(T actor)Returns the cell for the specified actor in this table, or null.TButtonGroup. getChecked()java.lang.IntegerCell. getColspan()DrawableImage. getDrawable()java.lang.IntegerCell. getExpandX()java.lang.IntegerCell. getExpandY()java.lang.FloatCell. getFillX()java.lang.FloatCell. getFillY()protected ColorImageTextButton. getFontColor()Returns the appropriate label font color from the style based on the current button state.protected ColorTextButton. getFontColor()Returns the appropriate label font color from the style based on the current button state.DrawableTree.Node. getIcon()protected DrawableCheckBox. getImageDrawable()protected DrawableImageButton. getImageDrawable()Returns the appropriate image drawable from the style based on the current button state.protected DrawableImageTextButton. getImageDrawable()Returns the appropriate image drawable from the style based on the current button state.TList. getItemAt(float y)protected DrawableProgressBar. getKnobDrawable()protected DrawableSlider. getKnobDrawable()ValueCell. getMaxHeightValue()ValueCell. getMaxWidthValue()java.lang.StringTextField. getMessageText()ValueCell. getMinHeightValue()ValueCell. getMinWidthValue()NTree. getNodeAt(float y)NTree. getOverNode()VTree. getOverValue()ValueCell. getPadBottomValue()ValueCell. getPadLeftValue()ValueCell. getPadRightValue()ValueCell. getPadTopValue()NTree.Node. getParent()ValueCell. getPrefHeightValue()ValueCell. getPrefWidthValue()Array<TextureRegion>Skin. getRegions(java.lang.String regionName)TList. getSelected()Returns the first selected item, or null.TSelectBox. getSelected()Returns the first selected item, or null.NTree. getSelectedNode()Returns the first selected node, or null.VTree. getSelectedValue()Returns the first selected value, or null.SkinTable. getSkin()float[]Slider. getSnapToValues()ValueCell. getSpaceBottomValue()ValueCell. getSpaceLeftValue()ValueCell. getSpaceRightValue()ValueCell. getSpaceTopValue()TextField.TextFieldFilterTextField. getTextFieldFilter()Tree<N,V>Tree.Node. getTree()Returns the tree this node's actor is currently in, or null.java.lang.BooleanCell. getUniformX()java.lang.BooleanCell. getUniformY()VTree.Node. getValue()ActorScrollPane. getWidget()Deprecated.ActorContainer. hit(float x, float y, boolean touchable)ActorScrollPane. hit(float x, float y, boolean touchable)ActorTable. hit(float x, float y, boolean touchable)ActorWindow. hit(float x, float y, boolean touchable)<T> TSkin. 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.voidTextField. appendText(java.lang.String str)Container<T>Container. background(Drawable background)TableTable. background(Drawable background)DialogDialog. button(Button button, java.lang.Object object)Adds the given button to the button table.DialogDialog. button(java.lang.String text)Adds a text button to the button table.DialogDialog. button(java.lang.String text, java.lang.Object object)Adds a text button to the button table.DialogDialog. button(java.lang.String text, java.lang.Object object)Adds a text button to the button table.DialogDialog. button(java.lang.String text, java.lang.Object object, TextButton.TextButtonStyle buttonStyle)Adds a text button to the button table.DialogDialog. button(java.lang.String text, java.lang.Object object, TextButton.TextButtonStyle buttonStyle)Adds a text button to the button table.protected floatTree. 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 voidList. drawSelection(Batch batch, Drawable drawable, float x, float y, float width, float height)voidTooltip. enter(InputEvent event, float x, float y, int pointer, Actor fromActor)voidTooltip. exit(InputEvent event, float x, float y, int pointer, Actor toActor)floatValue.Fixed. get(Actor context)abstract floatValue. get(Actor context)protected floatTextArea. getTextY(BitmapFont font, Drawable background)protected floatTextField. getTextY(BitmapFont font, Drawable background)voidDialog. hide(Action action)Removes the dialog from the stage, restoring the previous keyboard and scroll focus, and adds the specified action to the dialog.DialogDialog. key(int keycode, java.lang.Object object)If this key is pressed,Dialog.result(Object)is called with the specified object.protected voidDialog. 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.voidContainer. setActor(T actor)voidScrollPane. setActor(Actor actor)Sets theActorembedded in this scroll pane.voidTooltip. setActor(T contents)voidContainer. setBackground(Drawable background)Sets the background drawable and adjusts the container's padding to match the background.voidContainer. 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().voidTable. setBackground(Drawable background)voidList. setCullingArea(Rectangle cullingArea)voidImage. setDrawable(Drawable drawable)Sets a new drawable for the image.voidLabel. setEllipsis(java.lang.String ellipsis)When non-null the text will be truncated "..." if it does not fit within the width of the label.voidSplitPane. setFirstWidget(Actor widget)voidTree.Node. setIcon(Drawable icon)Sets an icon that will be drawn to the left of the actor.voidTextField. setMessageText(java.lang.String messageText)Sets the text that will be drawn in the text field if no text has been entered.voidDialog. setObject(Actor actor, java.lang.Object object)voidTree. setOverNode(N overNode)voidSplitPane. setSecondWidget(Actor widget)voidList. setSelected(T item)Sets the selection to only the passed item, if it is a possible choice.voidSelectBox. setSelected(T item)Sets the selection to only the passed item, if it is a possible choice, else selects the first item.voidTable. setSkin(Skin skin)voidSlider. setSnapToValues(float[] values, float threshold)Deprecated.voidSlider. setSnapToValues(float threshold, float... values)Makes this slider snap to the specified values when the knob is within the threshold.voidLabel. setText(java.lang.CharSequence newText)voidTextButton. setText(java.lang.String text)voidTextField. setText(java.lang.String str)voidTextField. setTextFieldFilter(TextField.TextFieldFilter filter)voidTextField. setTextFieldListener(TextField.TextFieldListener listener)voidTree.Node. setValue(V value)Sets an application specific value for this node.voidScrollPane. setWidget(Actor actor)Deprecated.DialogDialog. show(Stage stage, Action action)Packsthe 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.DialogDialog. text(java.lang.String text)Adds a label to the content table.DialogDialog. 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.LabelStylethat 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.LabelStylethat 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.PayloadDragAndDrop.Source. dragStart(InputEvent event, float x, float y, int pointer)Called when a drag is started on the source.TSelection. first()Returns the first selected item, or null.ActorDragAndDrop. getDragActor()Returns the current drag actor, or null.ActorDragAndDrop.Payload. getDragActor()DragAndDrop.PayloadDragAndDrop. getDragPayload()Returns the current drag payload, or null.DragAndDrop.SourceDragAndDrop. getDragSource()Returns the current drag source, or null.ActorDragAndDrop.Payload. getInvalidDragActor()TSelection. 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.StringBaseDrawable. getName()java.lang.ObjectDragAndDrop.Payload. getObject()ActorFocusListener.FocusEvent. getRelatedActor()The actor related to the event.ActorActorGestureListener. getTouchDownTarget()ActorDragAndDrop.Payload. getValidDragActor()static RectangleScissorStack. peekScissors()java.lang.StringBaseDrawable. toString()Method parameters in com.badlogic.gdx.scenes.scene2d.utils with annotations of type Null Modifier and Type Method Description booleanSelection. contains(T item)voidDragAndDrop.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.voidDragAndDrop.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.voidClickListener. enter(InputEvent event, float x, float y, int pointer, Actor fromActor)voidClickListener. exit(InputEvent event, float x, float y, int pointer, Actor toActor)voidSelection. setActor(Actor actor)voidCullable. setCullingArea(Rectangle cullingArea)voidDragAndDrop.Payload. setDragActor(Actor dragActor)voidDragAndDrop.Payload. setInvalidDragActor(Actor invalidDragActor)voidBaseDrawable. setName(java.lang.String name)voidDragAndDrop.Payload. setObject(java.lang.Object object)voidFocusListener.FocusEvent. setRelatedActor(Actor relatedActor)voidDragAndDrop.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 QuadTreeFloatQuadTreeFloat. neQuadTreeFloatQuadTreeFloat. nwQuadTreeFloatQuadTreeFloat. seQuadTreeFloatQuadTreeFloat. swVIntMap.Entry. valueVLongMap.Entry. valueVObjectMap.Entry. valueMethods in com.badlogic.gdx.utils with annotations of type Null Modifier and Type Method Description java.lang.StringJsonValue. asString()Returns this value as a string.JsonValueJsonValue. child()Returns the first child for this object or array.protected java.lang.StringXmlReader. entity(java.lang.String name)KObjectFloatMap. findKey(float value)Returns the key for the specified value, or null if it is not in the map.KObjectFloatMap. findKey(float value, float epsilon)Returns the key for the specified value, or null if it is not in the map.KObjectIntMap. findKey(int value)Returns the key for the specified value, or null if it is not in the map.KObjectLongMap. findKey(long value)Returns the key for the specified value, or null if it is not in the map.KObjectMap. findKey(java.lang.Object value, boolean identity)Returns the key for the specified value, or null if it is not in the map.<T> TJson. fromJson(java.lang.Class<T> type, char[] data, int offset, int length)<T> TJson. fromJson(java.lang.Class<T> type, FileHandle file)<T> TJson. fromJson(java.lang.Class<T> type, java.io.InputStream input)<T> TJson. fromJson(java.lang.Class<T> type, java.io.Reader reader)<T> TJson. fromJson(java.lang.Class<T> type, java.lang.Class elementType, char[] data, int offset, int length)<T> TJson. fromJson(java.lang.Class<T> type, java.lang.Class elementType, FileHandle file)<T> TJson. fromJson(java.lang.Class<T> type, java.lang.Class elementType, java.io.InputStream input)<T> TJson. fromJson(java.lang.Class<T> type, java.lang.Class elementType, java.io.Reader reader)<T> TJson. fromJson(java.lang.Class<T> type, java.lang.Class elementType, java.lang.String json)<T> TJson. fromJson(java.lang.Class<T> type, java.lang.String json)VArrayMap. get(K key)Returns the value (which may be null) for the specified key, or null if the key is not in the map.VArrayMap. 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.JsonValueJsonValue. get(int index)Returns the child at the specified index.JsonValueJsonValue. get(java.lang.String name)Returns the child with the specified name.VLongMap. 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.TObjectSet. get(T key)JsonValueJsonValue. getChild(java.lang.String name)Finds the child with the specified name and returns its first child.XmlReader.ElementXmlReader.Element. getChildByName(java.lang.String name)XmlReader.ElementXmlReader.Element. getChildByNameRecursive(java.lang.String name)java.lang.ClassJson. getClass(java.lang.String tag)Returns the class for the specified tag, or null.KArrayMap. getKey(V value, boolean identity)Returns the key for the specified value.java.lang.StringJson. getTag(java.lang.Class type)Returns the tag for the specified class, or null.ESortedIntList. insert(int index, E value)Inserts an element into the list at the given indexjava.lang.StringJsonValue. name()Returns the name for this object value.VIntMap.Values. next()JsonValueJsonValue. next()Returns the next sibling of this value.VLongMap.Values. next()VObjectMap.Values. next()TPooledLinkedList. next()Gets the next item in the listJsonValueJsonValue. parent()Returns the parent for this value.TAtomicQueue. poll()JsonValueJsonValue. prev()Returns the previous sibling of this value.TPooledLinkedList. previous()Gets the previous item in the listVIntMap. put(int key, V value)VLongMap. put(long key, V value)VObjectMap. put(K key, V value)Returns the old value associated with the specified key, or null.TArray. random()Returns a random item from the array, or null if the array is empty.java.lang.StringDataInput. readString()Reads the length and string of UTF8 characters, or null.<T> TJson. readValue(java.lang.Class<T> type, JsonValue jsonData)<T> TJson. readValue(java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonData)<T> TJson. readValue(java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonData)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, T defaultValue, JsonValue jsonMap)VIntMap. remove(int key)Returns the value for the removed key, or null if the key is not in the map.JsonValueJsonValue. remove(int index)Removes the child with the specified index.JsonValueJsonValue. remove(java.lang.String name)Removes the child with the specified name.VLongMap. remove(long key)Returns the value for the removed key, or null if the key is not in the map.VObjectMap. remove(K key)Returns the value for the removed key, or null if the key is not in the map.VArrayMap. removeKey(K key)TPooledLinkedList. 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 voidQueue. addFirst(T object)Prepend given object to the head.voidQueue. addLast(T object)Append given object to the tail.booleanArray. contains(T value, boolean identity)Returns true if this array contains the specified value.booleanIntMap. containsValue(java.lang.Object value, boolean identity)Returns true if the specified value is in the map.booleanLongMap. containsValue(java.lang.Object value, boolean identity)Returns true if the specified value is in the map.booleanObjectMap. containsValue(java.lang.Object value, boolean identity)Returns true if the specified value is in the map.static java.lang.StringStreamUtils. copyStreamToString(java.io.InputStream input, int estimatedSize, java.lang.String charset)Copy the data from anInputStreamto a string using the specified charset.booleanIntMap. equalsIdentity(java.lang.Object obj)Uses == for comparison of each value.booleanLongMap. equalsIdentity(java.lang.Object obj)Uses == for comparison of each value.booleanObjectMap. equalsIdentity(java.lang.Object obj)Uses == for comparison of each value.booleanStringBuilder. equalsIgnoreCase(StringBuilder other)booleanStringBuilder. equalsIgnoreCase(java.lang.String other)intIntMap. 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.longLongMap. 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.KObjectMap. findKey(java.lang.Object value, boolean identity)Returns the key for the specified value, or null if it is not in the map.VArrayMap. 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.VIntMap. get(int key, V defaultValue)VLongMap. get(long key, V defaultValue)VObjectMap. 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.StringJsonValue. getString(java.lang.String name, java.lang.String defaultValue)Finds the child with the specified name and returns it as a string.intArray. indexOf(T value, boolean identity)Returns the index of first occurrence of value in the array, or -1 if no such value exists.intArray. lastIndexOf(T value, boolean identity)Returns an index of last occurrence of value in array or -1 if no such value exists.java.lang.StringJson. prettyPrint(java.lang.Object object)java.lang.StringJson. prettyPrint(java.lang.Object object, int singleLineColumns)java.lang.StringJson. prettyPrint(java.lang.Object object, JsonValue.PrettyPrintSettings settings)booleanAtomicQueue. put(T value)VIntMap. put(int key, V value)VLongMap. put(long key, V value)VObjectMap. put(K key, V value)Returns the old value associated with the specified key, or null.voidJson. readField(java.lang.Object object, Field field, java.lang.String jsonName, java.lang.Class elementType, JsonValue jsonMap)voidJson. readField(java.lang.Object object, Field field, java.lang.String jsonName, java.lang.Class elementType, JsonValue jsonMap)voidJson. readField(java.lang.Object object, java.lang.String name, java.lang.Class elementType, JsonValue jsonData)voidJson. readField(java.lang.Object object, java.lang.String fieldName, java.lang.String jsonName, java.lang.Class elementType, JsonValue jsonMap)<T> TJson. readValue(java.lang.Class<T> type, JsonValue jsonData)<T> TJson. readValue(java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonData)<T> TJson. readValue(java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonData)<T> TJson. readValue(java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonData)<T> TJson. readValue(java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonData)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, java.lang.Class elementType, T defaultValue, JsonValue jsonMap)<T> TJson. readValue(java.lang.String name, java.lang.Class<T> type, T defaultValue, JsonValue jsonMap)booleanArray. removeValue(T value, boolean identity)Removes the first instance of the specified value in the array.voidJsonValue. set(double value, java.lang.String stringValue)voidJsonValue. set(long value, java.lang.String stringValue)voidJsonValue. set(java.lang.String value)voidJson. setDefaultSerializer(Json.Serializer defaultSerializer)Sets the serializer to use when the type being deserialized is not known (null).voidJsonValue. setName(java.lang.String name)voidJsonValue. setNext(JsonValue next)Sets the next sibling of this value.voidJsonValue. setPrev(JsonValue prev)Sets the next sibling of this value.voidJson. 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 voidJsonReader. startArray(java.lang.String name)protected voidJsonReader. startObject(java.lang.String name)java.lang.StringJson. toJson(java.lang.Object object)voidJson. toJson(java.lang.Object object, FileHandle file)voidJson. toJson(java.lang.Object object, java.io.Writer writer)java.lang.StringJson. toJson(java.lang.Object object, java.lang.Class knownType)java.lang.StringJson. toJson(java.lang.Object object, java.lang.Class knownType)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, FileHandle file)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, FileHandle file)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.io.Writer writer)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.io.Writer writer)java.lang.StringJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType)java.lang.StringJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType)java.lang.StringJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, FileHandle file)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, FileHandle file)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, FileHandle file)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, java.io.Writer writer)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, java.io.Writer writer)voidJson. toJson(java.lang.Object object, java.lang.Class knownType, java.lang.Class elementType, java.io.Writer writer)voidJson. writeField(java.lang.Object object, java.lang.String name, java.lang.Class elementType)voidJson. 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.voidJson. writeObjectStart(java.lang.Class actualType, java.lang.Class knownType)Starts writing an object, writing the actualType to a field if needed.voidJson. writeObjectStart(java.lang.String name, java.lang.Class actualType, java.lang.Class knownType)voidDataOutput. writeString(java.lang.String value)Writes a length and then the string as UTF8.voidJson. writeValue(java.lang.Object value)Writes the value, without writing the class of the object.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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.voidJson. 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)
-