uk.ac.lancs.relate.gateways.devices
Class PrinterDevice
java.lang.Object
uk.ac.lancs.relate.trigger.Trackable
uk.ac.lancs.relate.gateways.devices.TrackableDevice
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
|
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 |
conf
public Configuration conf
- Access to configuration file
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
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