⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nodevicemonitorcontrol.java

📁 Myjxta的源代码 基于JXTA的P2P即时通信系统
💻 JAVA
字号:
/* * Copyright (c) [2005] [Jeffrey Moore] * * Redistributions in source code form must reproduce the above copyright and  * this condition. * * The contents of this file are subject to the Sun Project JXTA License  * Version 1.1 (the "License"); you may not use this file except in compliance  * with the License. A copy of the License is available at  * http://www.jxta.org/jxta_license.html. * *//* * NoDeviceMonitorControl.java * * Created on June 5, 2005, 7:23 PM */package net.jxta.myjxta.plugins.vijxta;import java.awt.Component;import java.awt.Dimension;import java.util.Hashtable;/** * * @author Jeff Moore */public class NoDeviceMonitorControl implements DeviceMonitorControl{    private boolean transmit = false;    /** Creates a new instance of NoDeviceMonitorControl */    public NoDeviceMonitorControl (ViJxtaCallControl vijxta) {    }        public void resetMonitor () {}        public int getTransmitState () { return 0; }        public void setTransmitState (int transmitState) { }        public void pauseMonitor () { }        public void resumeMonitor () { }        public void pauseTransmit () { }        public void resumeTransmit () { }        public long getImageCaptureDelay () { return 0;}        public void setRefreshRate (int refreshRate) { }        public int getRefreshRate () { return 0;}        public long getAverageImageEncodeTime () { return 0;}        public void obtainHardware () { }        public void startMonitorCapture () { }         public void startMonitor () { }          public void stopMonitor () { }          public void startTransmit () { }          public int getOutgoingBufferSize () { return 0;}          public int getMessagesSent () { return 0;}          public int getBytesSent () { return 0;}          public void releaseHardware () { }          public void stopMonitorCapture () { }          public void stopTransmit () {  }          public int getBufferSize () { return 0; }          public int getImagesPerMessage () { return 0;}          public void setImagesPerMessage (int imagesPerMessage) { }          public long getImageEncodeTime () { return 0;}          public void setImageCompression (int imageCompression) { }          public int getImageCompression () { return 0;}          public Component getMonitorComponent () { return null;}          public boolean isTransmit () { return this.transmit; }          public void setTransmit (boolean trans) {                 this.transmit = trans;          }          public Dimension getFormatSize() { return new Dimension(0,0); }          public String getMimeType() { return "none";}          public Hashtable getRefreshRateLabelTable() {         return null;// new Hashtable();              }          public String getRefreshRateUnitLabel() {         return " ";     }          public void addErrorListener(DeviceMonitorControl.DeviceErrorListener listener) {              }                        }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -