FileDocCategorySizeDatePackage
ComputerMonitor.javaAPI DocExample445Sat Apr 28 10:22:46 BST 2001None

ComputerMonitor

public class ComputerMonitor extends ComputerAsset implements PowerSwitchable

Fields Summary
Constructors Summary
ComputerMonitor(int roomNumber)

		super(roomNumber);
	
Methods Summary
public voidpowerDown()

		System.out.println("Dousing monitor at desk " + deskNumber);
		// send the code to the Monitor's X10 box to shut it off
	
public voidpowerUp()

		System.out.println("Warming up monitor at desk " + deskNumber);
		// send the code to the Monitor's X10 box to turn it on