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

How to use
stop
method
in
javax.media.opengl.GLAnimatorControl

Best Java code snippets using javax.media.opengl.GLAnimatorControl.stop (Showing top 4 results out of 315)

origin: com.metsci.glimpse/glimpse-layers

public void stopAnimator( )
{
  animator.stop( );
}
origin: com.metsci.glimpse/glimpse-core-examples

  @Override
  public void windowClosing( WindowEvent e )
  {
    // stop the animation thread before exiting
    animator.stop( );
    // dispose of GlimpseLayouts and GlimpsePainters attached to GlimpseCanvas
    canvas.disposeAttached( );
    // destroy heavyweight canvas and GLContext
    canvas.destroy( );
  }
} );
origin: com.metsci.glimpse/glimpse-layers

@Override
public void disposingAllFrames( DockingGroup dockingGroup )
{
  if ( dockingAppName != null )
  {
    saveDockingArrangement( dockingAppName, dockingGroup.captureArrangement( ) );
  }
  views.set( ImmutableSet.of( ) );
  animator.stop( );
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

  @SuppressWarnings("deprecation")
  @Override
  public void shutdownRenderingAction() {
    final GLAnimatorControl anim = GLWindow.this.getAnimator();
    if ( null != anim && anim.isAnimating() ) {
      final Thread animThread = anim.getThread();
      if( animThread == Thread.currentThread() ) {
        anim.stop(); // on anim thread, non-blocking
      } else {
        AccessController.doPrivileged(new PrivilegedAction<Object>() {
          @Override
          public Object run() {
            if( anim.isAnimating() && null != animThread ) {
              try {
                animThread.stop();
              } catch(final Throwable t) {
                if( DEBUG ) {
                  System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage());
                  t.printStackTrace();
                }
              }
            }
            return null;
          } } );
      }
    }
  }
}
javax.media.openglGLAnimatorControlstop

Javadoc

Stops this animator.

In most situations this method blocks until completion, except when called from the animation thread itself or in some cases from an implementation-internal thread like the AWT event queue thread.

Popular methods of GLAnimatorControl

  • add
    Adds a drawable to this animator's list of rendering drawables. This allows the animator thread to b
  • start
    Starts this animator, if not running. In most situations this method blocks until completion, except
  • remove
    Removes a drawable from the animator's list of rendering drawables. This method should get called in
  • getLastFPS
  • getLastFPSPeriod
  • getThread
  • getTotalFPS
  • isAnimating
    Indicates whether this animator #isStarted() and #isPaused().
  • isPaused
    Indicates whether this animator #isStarted()and either #pause() or paused automatically due to no #a
  • isStarted
    Indicates whether this animator has been #start().
  • pause
    Pauses this animator. In most situations this method blocks until completion, except when called fro
  • resetFPSCounter
  • pause,
  • resetFPSCounter,
  • resume

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JFileChooser (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top plugins for WebStorm
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