Tabnine Logo
Animator.isStarted
Code IndexAdd Tabnine to your IDE (free)

How to use
isStarted
method
in
com.jogamp.opengl.util.Animator

Best Java code snippets using com.jogamp.opengl.util.Animator.isStarted (Showing top 20 results out of 315)

origin: ch.unibas.cs.gravis/scalismo-native-stub

    @Override
    public boolean eval() {
      // end waiting if stopped as well
      return isStarted() && ( !drawablesEmpty && !isAnimating2 || drawablesEmpty && !pauseIssued2 ) ;
    } };
}
origin: org.jogamp.jogl/jogl-all-noawt

    @Override
    public boolean eval() {
      // end waiting if stopped as well
      return isStarted() && ( !drawablesEmpty && !isAnimating || drawablesEmpty && !pauseIssued ) ;
    } };
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public boolean eval() {
  // end waiting if stopped as well
  return isStarted() && isAnimating2;
} };
origin: org.jogamp.jogl/jogl

    @Override
    public boolean eval() {
      // end waiting if stopped as well
      return isStarted() && ( !drawablesEmpty && !isAnimating || drawablesEmpty && !pauseIssued ) ;
    } };
}
origin: org.jogamp.jogl/jogl

@Override
public boolean eval() {
  // end waiting if stopped as well
  return isStarted() && isAnimating;
} };
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public boolean eval() {
  // end waiting if stopped as well
  return isStarted() && isAnimating;
} };
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public boolean eval() {
  return !isStarted() || (!drawablesEmpty && !isAnimating2) ;
} };
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public boolean eval() {
  return !isStarted() || (!drawablesEmpty && !isAnimating) ;
} };
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean stop() {
  if ( !isStarted() ) {
    return false;
  }
  stopIssued = true;
  return finishLifecycleAction(waitForStoppedCondition, 0);
}
private final Condition waitForStoppedCondition = new Condition() {
origin: ch.unibas.cs.gravis/scalismo-native-stub

/**
 * Set a {@link ThreadGroup} for the {@link #getThread() animation thread}.
 *
 * @param tg the {@link ThreadGroup}
 * @throws GLException if the animator has already been started
 */
public final synchronized void setThreadGroup(final ThreadGroup tg) throws GLException {
  if ( isStarted() ) {
    throw new GLException("Animator already started.");
  }
  threadGroup2 = tg;
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean pause() {
  if ( !isStarted() || pauseIssued2 ) {
    return false;
  }
  pauseIssued2 = true;
  return finishLifecycleAction(waitForPausedCondition, 0);
}
private final Condition waitForPausedCondition = new Condition() {
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean pause() {
  if ( !isStarted() || pauseIssued ) {
    return false;
  }
  pauseIssued = true;
  return finishLifecycleAction(waitForPausedCondition, 0);
}
private final Condition waitForPausedCondition = new Condition() {
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean stop() {
  if ( !isStarted() ) {
    return false;
  }
  stopIssued2 = true;
  return finishLifecycleAction(waitForStoppedCondition, 0);
}
private final Condition waitForStoppedCondition = new Condition() {
origin: org.jogamp.jogl/jogl

/**
 * Set a {@link ThreadGroup} for the {@link #getThread() animation thread}.
 *
 * @param tg the {@link ThreadGroup}
 * @throws GLException if the animator has already been started
 */
public final synchronized void setThreadGroup(final ThreadGroup tg) throws GLException {
  if ( isStarted() ) {
    throw new GLException("Animator already started.");
  }
  threadGroup = tg;
}
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean pause() {
  if ( !isStarted() || pauseIssued ) {
    return false;
  }
  pauseIssued = true;
  return finishLifecycleAction(waitForPausedCondition, 0);
}
private final Condition waitForPausedCondition = new Condition() {
origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean resume() {
  if ( !isStarted() || !pauseIssued2 ) {
    return false;
  }
  pauseIssued2 = false;
  return finishLifecycleAction(waitForResumeCondition, 0);
}
private final Condition waitForResumeCondition = new Condition() {
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean stop() {
  if ( !isStarted() ) {
    return false;
  }
  stopIssued = true;
  return finishLifecycleAction(waitForStoppedCondition, 0);
}
private final Condition waitForStoppedCondition = new Condition() {
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean resume() {
  if ( !isStarted() || !pauseIssued ) {
    return false;
  }
  pauseIssued = false;
  return finishLifecycleAction(waitForResumeCondition, 0);
}
private final Condition waitForResumeCondition = new Condition() {
origin: org.jogamp.jogl/jogl-all-noawt

/**
 * Set a {@link ThreadGroup} for the {@link #getThread() animation thread}.
 *
 * @param tg the {@link ThreadGroup}
 * @throws GLException if the animator has already been started
 */
public final synchronized void setThreadGroup(final ThreadGroup tg) throws GLException {
  if ( isStarted() ) {
    throw new GLException("Animator already started.");
  }
  threadGroup = tg;
}
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean resume() {
  if ( !isStarted() || !pauseIssued ) {
    return false;
  }
  pauseIssued = false;
  return finishLifecycleAction(waitForResumeCondition, 0);
}
private final Condition waitForResumeCondition = new Condition() {
com.jogamp.opengl.utilAnimatorisStarted

Popular methods of Animator

  • <init>
    Creates a new Animator for a particular drawable.
  • start
  • stop
  • add
  • display
  • finishLifecycleAction
  • flushGLRunnables
  • getThreadName
  • handleUncaughtException
  • isAnimating
  • isPaused
  • setDrawablesExclCtxState
  • isPaused,
  • setDrawablesExclCtxState,
  • setThreadGroup,
  • remove,
  • setModeBits,
  • setRunAsFastAsPossible,
  • setUpdateFPSFrames

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • setContentView (Activity)
  • putExtra (Intent)
  • Kernel (java.awt.image)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Runner (org.openjdk.jmh.runner)
  • Top 12 Jupyter Notebook extensions
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