|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.sim.AbstractHardware
jmce.sim.terminal.AbstractCRT
jmce.sim.terminal.ttyCRT
public class ttyCRT
TTY implementation of CRT.
Native class for tty CRT. Current implementation support :
Field Summary | |
---|---|
int |
DOWN
|
int |
KEY_DEL
|
int |
KEY_F10
|
int |
LEFT
|
int |
RIGHT
|
int |
UP
|
Fields inherited from class jmce.sim.terminal.AbstractCRT |
---|
attMemory, charMemory, lineChanged, numCol, numRow, screenChanged, terminal |
Constructor Summary | |
---|---|
ttyCRT()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the device. |
void |
init(Hardware parent)
Initialize the hardware. |
void |
run()
Runner for polling the keyboard and if the screen is changed update the CRT. |
Methods inherited from class jmce.sim.terminal.AbstractCRT |
---|
changedLine, getAtt, getChar, writeMemory |
Methods inherited from class jmce.sim.AbstractHardware |
---|
addHardware, createFrame, getHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareForName, getHardwareInstances, getHardwareTree, getName, getParent, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jmce.sim.Hardware |
---|
addHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName |
Field Detail |
---|
public final int UP
public final int DOWN
public final int LEFT
public final int RIGHT
public final int KEY_F10
public final int KEY_DEL
Constructor Detail |
---|
public ttyCRT()
Method Detail |
---|
public void init(Hardware parent) throws SIMException
Hardware
init
in interface Hardware
init
in class AbstractCRT
parent
- Parent of this hardware.
SIMException
public void destroy()
Hardware
destroy
in interface Hardware
destroy
in class AbstractHardware
public void run()
run
in interface java.lang.Runnable
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |