jmce.sim
Interface Tape
- All Superinterfaces:
- Hardware, Peripheral
- All Known Implementing Classes:
- AbstractTape, Tape, Tape, TapeFile
public interface Tape
- extends Peripheral
Interface to rappresent a tape reader / writer.
This version only support the read operation.
- Since:
- 1.01
- Version:
- 1.01
- Author:
- Mario Viara
Methods inherited from interface jmce.sim.Hardware |
addHardware, destroy, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName |
addTapeEventListener
void addTapeEventListener(TapeEventListener l)
rewind
void rewind()
throws SIMException
- Throws:
SIMException
isPlay
boolean isPlay()
play
void play()
throws SIMException
- Throws:
SIMException
rec
void rec()
throws SIMException
- Throws:
SIMException
stop
void stop()
throws SIMException
- Throws:
SIMException
nextPulse
TapePulse nextPulse()
setConfig
void setConfig(java.lang.String name)
throws SIMException
- Throws:
SIMException
getConfig
java.lang.String getConfig()
throws SIMException
- Throws:
SIMException
setPower
void setPower(boolean power)
throws SIMException
- Throws:
SIMException
getPower
boolean getPower()
throws SIMException
- Throws:
SIMException