uk.ac.lancs.relate.gateways.devices
Class PrinterDevice

java.lang.Object
  extended by uk.ac.lancs.relate.trigger.Trackable
      extended by uk.ac.lancs.relate.gateways.devices.TrackableDevice
          extended by uk.ac.lancs.relate.gateways.devices.PrinterDevice

public class PrinterDevice
extends TrackableDevice

This class models a concrete keyboard. The keyboard is in charge of implementing, providing and registering its own services.

Author:
Dominique Guinard
Personal Homepage

Field Summary
 Configuration conf
          Access to configuration file
 
Constructor Summary
PrinterDevice(java.lang.String name, int width, int height, Location p, java.lang.String hostname, GatewayApplication app, javax.swing.ImageIcon iconicRepresentation)
          Creates a new instance of PrinterDevice
 
Method Summary
protected  void createServices()
          Method used by a Device to create the Services it provides
 
Methods inherited from class uk.ac.lancs.relate.gateways.devices.TrackableDevice
addService, getApplication, getController, getHeight, getHostname, getIconicRepresentation, getLocation, getName, getServiceDescription, getServices, getTooltipMessage, getWidth, setController, setHostname, setLocation, setName, setServices, setTooltipMessage
 
Methods inherited from class uk.ac.lancs.relate.trigger.Trackable
getDirectionTo, getDistanceTo, getId, getMotion, getOrientation, hasBackTo, isCloserThan, isFacing, isLeftOf, isMoving, isMovingAway, isMovingTowards, isRightOf, setMotion, setOrientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conf

public Configuration conf
Access to configuration file

Constructor Detail

PrinterDevice

public PrinterDevice(java.lang.String name,
                     int width,
                     int height,
                     Location p,
                     java.lang.String hostname,
                     GatewayApplication app,
                     javax.swing.ImageIcon iconicRepresentation)
Creates a new instance of PrinterDevice

Method Detail

createServices

protected void createServices()
Description copied from class: TrackableDevice
Method used by a Device to create the Services it provides

Overrides:
createServices in class TrackableDevice