uk.ac.lancs.relate.gateways.conditions
Class KeyboardCondition

java.lang.Object
  extended by uk.ac.lancs.relate.trigger.conditions.Condition
      extended by uk.ac.lancs.relate.trigger.conditions.ZoneCondition
          extended by uk.ac.lancs.relate.trigger.conditions.WithinZone
              extended by uk.ac.lancs.relate.gateways.conditions.KeyboardCondition
All Implemented Interfaces:
java.io.Serializable

public class KeyboardCondition
extends WithinZone

Condition for the keyboard gateway is true if the user is within a range of 100 cm.

Author:
Sara Streng
See Also:
Serialized Form

Constructor Summary
KeyboardCondition(java.lang.String id1, TrackableDevice keyboard)
          Creates a new condition for the keyboard gateway.
 
Method Summary
 
Methods inherited from class uk.ac.lancs.relate.trigger.conditions.WithinZone
evaluate
 
Methods inherited from class uk.ac.lancs.relate.trigger.conditions.ZoneCondition
defineActiveTrackable, defineInvolvedTrackables, getNrTrackablesInZone, getZone, inZone, setZone
 
Methods inherited from class uk.ac.lancs.relate.trigger.conditions.Condition
addInvolvedTrackable, addInvolvedTrackable, getActiveTrackable, getApp, getInvolvedTrackables, getTrackableById, setActiveTrackable, setApp, setInvolvedTrackables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyboardCondition

public KeyboardCondition(java.lang.String id1,
                         TrackableDevice keyboard)
Creates a new condition for the keyboard gateway.

Parameters:
id1 - unique id of the user