Tabnine Logo
ArraySelection.first
Code IndexAdd Tabnine to your IDE (free)

How to use
first
method
in
com.badlogic.gdx.scenes.scene2d.utils.ArraySelection

Best Java code snippets using com.badlogic.gdx.scenes.scene2d.utils.ArraySelection.first (Showing top 13 results out of 315)

origin: libgdx/libgdx

/** Returns the first selected item, or null. */
public T getSelected () {
  return selection.first();
}
origin: libgdx/libgdx

/** Returns the first selected item, or null. */
public T getSelected () {
  return selection.first();
}
origin: libgdx/libgdx

/** Returns the first selected item, or null. For multiple selections use {@link SelectBox#getSelection()}. */
public T getSelected () {
  return selection.first();
}
origin: libgdx/libgdx

/** Returns the first selected item, or null. For multiple selections use {@link SelectBox#getSelection()}. */
public T getSelected () {
  return selection.first();
}
origin: libgdx/libgdx

if (background != null) background.draw(batch, x, y, width, height);
T selected = selection.first();
if (selected != null) {
  if (background != null) {
origin: libgdx/libgdx

if (background != null) background.draw(batch, x, y, width, height);
T selected = selection.first();
if (selected != null) {
  if (background != null) {
origin: com.badlogicgames.gdx/gdx

/** Returns the first selected item, or null. For multiple selections use {@link SelectBox#getSelection()}. */
public T getSelected () {
  return selection.first();
}
origin: com.badlogicgames.gdx/gdx

/** Returns the first selected item, or null. */
public T getSelected () {
  return selection.first();
}
origin: bladecoder/bladecoder-adventure-engine

/** Returns the first selected item, or null. */
public T getSelected() {
  return selection.first();
}
origin: bladecoder/bladecoder-adventure-engine

/** Returns the first selected item, or null. For multiple selections use {@link SelectBox#getSelection()}. */
public T getSelected () {
  return selection.first();
}
origin: narfman0/GDXWorld

  @Override public void changed(ChangeEvent event, Actor actor) {
    createManifestationTable(skin, extractFromSelection(manifestationBoxes.getSelection().first(), manifestationPlugins).getDefault().clone());
    pack();
  }
});
origin: bladecoder/bladecoder-adventure-engine

public void draw (Batch batch, float parentAlpha) {
  selectBox.localToStageCoordinates(temp.set(0, 0));
  if (!temp.equals(screenPosition)) hide();
  super.draw(batch, parentAlpha);
}
origin: com.badlogicgames.gdx/gdx

if (background != null) background.draw(batch, x, y, width, height);
T selected = selection.first();
if (selected != null) {
  if (background != null) {
com.badlogic.gdx.scenes.scene2d.utilsArraySelectionfirst

Popular methods of ArraySelection

  • items
  • set
  • setRequired
  • addAll
  • choose
  • clear
  • contains
  • getRequired
  • isDisabled
  • setActor
  • setProgrammaticChangeEvents
  • validate
    Removes objects from the selection that are no longer in the items array. If #getRequired() is true
  • setProgrammaticChangeEvents,
  • validate,
  • changed,
  • cleanup,
  • fireChangeEvent,
  • getMultiple,
  • revert,
  • setMultiple,
  • snapshot

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now