DoNothingVideoControlService.java :  » JPA » vars-redux » vars » annotation » ui » video » Java Open Source

Java Open Source » JPA » vars redux 
vars redux » vars » annotation » ui » video » DoNothingVideoControlService.java
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package vars.annotation.ui.video;

import vars.shared.ui.video.AbstractVideoControlService;
import vars.shared.ui.video.VideoTime;

import java.util.Date;
import javax.swing.JDialog;

/**
 *
 * @author brian
 */
public class DoNothingVideoControlService extends AbstractVideoControlService {

    public void connect(Object... args) {
        // Do nothing
    }

    public JDialog getConnectionDialog() {
        return new JDialog();
    }

    public void seek(String timecode) {
        // Do nothing
    }

    public VideoTime requestVideoTime() {
        return new VideoTimeImpl("00:00:00:00", new Date());
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.