parallelportevent.java
来自「kaffe Java 解释器语言,源码,Java的子集系统,开放源代码」· Java 代码 · 共 49 行
JAVA
49 行
/* * Java comm library component. * * Copyright (c) 1998 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */package javax.comm;import java.util.EventObject;public class ParallelPortEvent extends EventObject {/** * @deprecated. */public int eventType;private boolean oldValue;private boolean newValue;public static final int PAR_EV_BUFFER = 1;public static final int PAR_EV_ERROR = 2;public ParallelPortEvent(ParallelPort src, int evt, boolean oval, boolean nval) { super(src); eventType = evt; oldValue = oval; newValue = nval;}public int getEventType() { return (eventType);}public boolean getNewValue() { return (newValue);}public boolean getOldValue() { return (oldValue);}}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?