public class ElectronicLockTestDriver extends java.lang.Object implements ElectronicLock
Constructor and Description |
---|
ElectronicLockTestDriver(java.lang.String title,
int xPos,
int yPos)
Creates a graphically simulated electronic.
|
Modifier and Type | Method and Description |
---|---|
void |
open(int timeOpen)
Opens the lock for timeOpens seconds.
|
public ElectronicLockTestDriver(java.lang.String title, int xPos, int yPos)
title
- The title of the window.xPos
- The horizontal location of the window on the screen.yPos
- The vertical location of the window on the screen.public void open(int timeOpen)
open
in interface ElectronicLock
timeOpen
- time it should be open (s)