congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Platform.exec
Code IndexAdd Tabnine to your IDE (free)

How to use
exec
method
in
playn.core.Platform

Best Java code snippets using playn.core.Platform.exec (Showing top 12 results out of 315)

origin: playn/playn

Exec exec () {
 return plat.exec();
}
origin: io.playn/playn-core

Exec exec () {
 return plat.exec();
}
origin: threerings/tripleplay

protected void queueFlushMods () {
  if (_flushQueued) return;
  _flushQueued = true;
  _platform.exec().invokeLater(new Runnable() { public void run () {
    flushMods();
    _flushQueued = false;
  }});
}
origin: playn/playn

/** @deprecated Use {@link Exec#invokeLater}. */
@Deprecated public void invokeLater (Runnable runnable) { exec().invokeLater(runnable); }
/** @deprecated Use {@link Exec#isAsyncSupported}. */
origin: io.playn/playn-core

/** @deprecated Use {@link Exec#isAsyncSupported}. */
@Deprecated public boolean isAsyncSupported  () { return exec().isAsyncSupported(); }
/** @deprecated Use {@link Exec#invokeAsync}. */
origin: playn/playn

/** @deprecated Use {@link Exec#isAsyncSupported}. */
@Deprecated public boolean isAsyncSupported  () { return exec().isAsyncSupported(); }
/** @deprecated Use {@link Exec#invokeAsync}. */
origin: io.playn/playn-core

/** @deprecated Use {@link Exec#invokeLater}. */
@Deprecated public void invokeLater (Runnable runnable) { exec().invokeLater(runnable); }
/** @deprecated Use {@link Exec#isAsyncSupported}. */
origin: playn/playn

/** @deprecated Use {@link Exec#invokeAsync}. */
@Deprecated public void invokeAsync (Runnable action) { exec().invokeAsync(action); }
origin: io.playn/playn-core

/** @deprecated Use {@link Exec#invokeAsync}. */
@Deprecated public void invokeAsync (Runnable action) { exec().invokeAsync(action); }
origin: playn/playn

void displayMenuLater() {
 plat.exec().invokeLater(() -> displayMenu());
}
origin: io.playn/playn-core

protected ImageImpl (Platform plat, boolean async, Scale preScale, int preWidth, int preHeight,
           String source) {
 this(plat.graphics(), async ? plat.exec().<Image>deferredPromise() : RPromise.<Image>create(),
    preScale, preWidth, preHeight, source);
}
origin: playn/playn

protected ImageImpl (Platform plat, boolean async, Scale preScale, int preWidth, int preHeight,
           String source) {
 this(plat.graphics(), async ? plat.exec().<Image>deferredPromise() : RPromise.<Image>create(),
    preScale, preWidth, preHeight, source);
}
playn.corePlatformexec

Javadoc

Returns the Exec service.

Popular methods of Platform

  • log
    Returns the Log service.
  • graphics
    Returns the Graphics service.
  • assets
    Returns the Assets service.
  • input
    Returns the Input service.
  • invokeLater
  • json
    Returns the Json service.
  • storage
    Returns the Storage storage service.
  • time
    Returns the current time, as a double value in millis since January 1, 1970, 00:00:00 GMT. This is e
  • type
    Returns the platform Platform.Type.
  • net
    Returns the Net service.
  • reportError
    Called when a backend (or other framework code) encounters an exception that it can recover from, bu
  • setPropagateEvents
  • reportError,
  • setPropagateEvents,
  • tick,
  • audio,
  • dispatchEvent,
  • keyboard,
  • mouse,
  • openURL,
  • pointer

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • putExtra (Intent)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JLabel (javax.swing)
  • JTable (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ 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