|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.sim.TapePulse
public class TapePulse
Class for single tape pulse event. The output must be changed after the pulse is elapsed.
Field Summary | |
---|---|
static int |
DATA_HIGH
The output must be set to high |
static int |
DATA_LOW
The output must be set to low |
static int |
DATA_NONE
The output must be unchanged |
static int |
DATA_TOGGLE
The output must be changed |
Constructor Summary | |
---|---|
TapePulse(int width)
Constructor with only pulse width the pulse type will be DATA_TOGGLE. |
|
TapePulse(int type,
int width)
Constructor with type and pulse width. |
Method Summary | |
---|---|
int |
getType()
Return the pulse type |
int |
getWidth()
Return the pulse width |
boolean |
isHigh()
Return true if the pulse type is DATA_HIGH |
boolean |
isLow()
Return true if the pulse type is DATA_LOW |
boolean |
isToggle()
Return true if the pulse type is DATA_TOGGLE |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DATA_NONE
public static final int DATA_LOW
public static final int DATA_HIGH
public static final int DATA_TOGGLE
Constructor Detail |
---|
public TapePulse(int type, int width)
public TapePulse(int width)
Method Detail |
---|
public int getWidth()
public int getType()
public boolean isToggle()
public boolean isLow()
public boolean isHigh()
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |