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

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

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

origin: libgdx/libgdx

public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
  if (pointer != 0 || button != 0) return true;
  if (selection.isDisabled()) return true;
  getStage().setKeyboardFocus(List.this);
  if (items.size == 0) return true;
  int index = getItemIndexAt(y);
  if (index == -1) return true;
  selection.choose(items.get(index));
  touchDown = index;
  return true;
}
origin: libgdx/libgdx

public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
  if (pointer != 0 || button != 0) return true;
  if (selection.isDisabled()) return true;
  getStage().setKeyboardFocus(List.this);
  if (items.size == 0) return true;
  int index = getItemIndexAt(y);
  if (index == -1) return true;
  selection.choose(items.get(index));
  touchDown = index;
  return true;
}
origin: bladecoder/bladecoder-adventure-engine

  public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) {
    if (pointer == 0 && button != 0)
      return false;
    if (selection.isDisabled())
      return false;
    CustomList.this.touchDown(y);
    return true;
  }
});
origin: com.badlogicgames.gdx/gdx

public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
  if (pointer != 0 || button != 0) return true;
  if (selection.isDisabled()) return true;
  getStage().setKeyboardFocus(List.this);
  if (items.size == 0) return true;
  int index = getItemIndexAt(y);
  if (index == -1) return true;
  selection.choose(items.get(index));
  touchDown = index;
  return true;
}
com.badlogic.gdx.scenes.scene2d.utilsArraySelectionisDisabled

Popular methods of ArraySelection

  • first
  • items
  • set
  • setRequired
  • addAll
  • choose
  • clear
  • contains
  • getRequired
  • 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

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Table (org.hibernate.mapping)
    A relational table
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Best plugins for Eclipse
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