Examples of release()


Examples of speculoos.spi.Source.release()

        Source src = (Source) mapperToSource.get(mapper.getName());
        if (src == null)
            throw new MapperConfigurationException(
                    "No source is associated with mapper " + mapper);
        /* delegate release */
        src.release(mapper);
    }

    /**
     * Stops the manager.
     *
 
View Full Code Here

Examples of sprites.io.Key.release()

      return;
    }
    checkKeyboard();
    Key key = this.config.getKeyboard().getKey((int) e.getKeyCode());
    if(key != null){
      key.release();
    }
  }
 
  @Override
  public void mouseClicked(MouseEvent e) {}
View Full Code Here

Examples of sprites.io.Mouse.release()

    }
    checkMouse();
    Mouse mouse = this.config.getMouse();
    int button = e.getButton();
    switch(button){
      case MouseEvent.BUTTON1 : mouse.release(Mouse.Button.LEFT); break;
      case MouseEvent.BUTTON2 : mouse.release(Mouse.Button.MIDDLE); break;
      case MouseEvent.BUTTON3 : mouse.release(Mouse.Button.RIGHT); break;
    }
  }
 
View Full Code Here

Examples of thredds.catalog.InvCatalogRef.release()

      if (out != null)
        out.println(" **CATREF " + catref.getURI() + " (" + ds.getName() + ") ");
      countCatrefs++;

      if (!listen.getCatalogRef( catref, context)) {
        if (release) catref.release();
        return;
      }
    }

    if (!isCatRef || skipScanChildren || isDataScan)
View Full Code Here

Examples of uk.co.caprica.vlcj.component.AudioMediaPlayerComponent.release()

        // Wait for finished/error
        latch.await();

        // Must release the components to exit (otherwise threads are left running)
        log.release();
        mediaPlayerComponent.release(true);
    }
}
View Full Code Here

Examples of uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent.release()

        f.setSize(800, 600);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.addWindowListener(new WindowAdapter() {
            @Override
            public void windowClosing(WindowEvent e) {
                mediaPlayerComponent.release(true);
            }
        });
        f.setContentPane(mediaPlayerComponent);
        f.setVisible(true);
View Full Code Here

Examples of uk.co.caprica.vlcj.log.NativeLog.release()

        // Wait for finished/error
        latch.await();

        // Must release the components to exit (otherwise threads are left running)
        log.release();
        mediaPlayerComponent.release(true);
    }
}
View Full Code Here

Examples of uk.co.caprica.vlcj.player.MediaMeta.release()

        // Dump out the meta
        for(File file : files) {
            String mrl = file.getAbsolutePath();
            MediaMeta meta = factory.getMediaMeta(mrl, true);
            Logger.info("{} -> {}", mrl, meta);
            meta.release();
        }

        // Dump out only the title and the length
        for(File file : files) {
            String mrl = file.getAbsolutePath();
View Full Code Here

Examples of uk.co.caprica.vlcj.player.MediaPlayer.release()

        mediaPlayer.stop();
        */

        System.out.println(mediaPlayer.getMediaMeta());

        mediaPlayer.release();
        factory.release();
    }
}
View Full Code Here

Examples of uk.co.caprica.vlcj.player.MediaPlayerFactory.release()

        */

        System.out.println(mediaPlayer.getMediaMeta());

        mediaPlayer.release();
        factory.release();
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.