Examples of Clip


Examples of javax.sound.sampled.Clip

   */
  public void playEvent(String event) {
    if (soundEvents.containsKey(event)) {
      Object sound = soundEvents.get(event);
      if (sound instanceof Clip) {
        Clip clip = (Clip) sound;
        clip.setFramePosition(0);
        clip.start();
      } else if (sequencer != null && sound instanceof Sequence) {
        Sequence sequence = (Sequence) sound;
        try {
          sequencer.setSequence(sequence);
          sequencer.start();
View Full Code Here

Examples of net.angusi.sw.minidisc.audioobjects.Clip

        File file = fileChooser.showOpenDialog(stage);
        if (file != null) {
            int insertAt = mainTable.getSelectionModel().getSelectedIndex() == -1 ? mainTable.getItems().size() : mainTable.getSelectionModel().getSelectedIndex();
            System.out.println("Adding " + file.getName() + " to cue list.");
            Clip newClip = new Clip(file);
            audioClips.add(insertAt, newClip);
        }
    }
View Full Code Here

Examples of org.apache.batik.gvt.filter.Clip

             ClipBridge clipBridge = (ClipBridge)bridge;
             SVGOMDocument doc =
                 (SVGOMDocument)clipPathElement.getOwnerDocument();
             ViewCSS v = ctx.getViewCSS();
             ctx.setViewCSS((ViewCSS)doc.getDefaultView());
             Clip clip = clipBridge.createClip(ctx,
                                               gn,
                                               clipPathElement,
                                               clipedElement);
             ctx.setViewCSS(v);
             return clip;
View Full Code Here

Examples of org.mt4j.components.clipping.Clip

//    MTRoundRectangle clipRect =  new MTRoundRectangle(x+border, y+border, z, width-(2*border), height-(2*border), arcWidth, arcHeight, applet);
    MTRectangle clipRect =  new MTRectangle(x+border, y+border, z, width-(2*border), height-(2*border), applet);
    clipRect.setDrawSmooth(true);
    clipRect.setNoStroke(true);
    clipRect.setBoundsBehaviour(MTRectangle.BOUNDS_ONLY_CHECK);
    this.clip = new Clip(gl, clipRect);
    this.setChildClip(this.clip);
    this.drawInnerBorder = true;
   
    //Add window background
    final MTRectangle windowBackGround = new MTRectangle(x, y, z, 100, 200, applet);
View Full Code Here

Examples of org.wicketstuff.jwicket.ui.effect.Clip

    bounceShow.setDirection(EffectDirection.LEFT);
    bounceShow.setSpeed(1000);
    postEffects.add(bounceShow);


    Clip clip1 = new Clip();
    add(clip1);
    clip1.setSpeed(1000);
    clip1.setMode(EffectMode.HIDE);
    clip1.setDirection(EffectHorVerDirection.VERTICAL);
    postEffects.add(clip1);
   
    Clip clip2 = new Clip();
    add(clip2);
    clip2.setSpeed(1000);
    clip2.setMode(EffectMode.SHOW);
    clip2.setDirection(EffectHorVerDirection.HORIZONTAL);
    postEffects.add(clip2);


    Drop drop1 = new Drop();
    add(drop1);
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.