touchgestIT
Class TouchContent

java.lang.Object
  extended by gestIT.ExpContent
      extended by touchgestIT.TouchContent

public class TouchContent
extends ExpContent


Field Summary
 int Id
           
 TouchType Type
           
 
Constructor Summary
TouchContent()
           
TouchContent(TouchType ty, int id)
           
 
Method Summary
 boolean Accepts(ExpEventArgs args, Token token)
          Method that check if a specific event meet a constraint
 boolean Consume(ExpEventArgs args, Token token)
          Method that consume an event
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Type

public TouchType Type

Id

public int Id
Constructor Detail

TouchContent

public TouchContent()

TouchContent

public TouchContent(TouchType ty,
                    int id)
Method Detail

Accepts

public boolean Accepts(ExpEventArgs args,
                       Token token)
Description copied from class: ExpContent
Method that check if a specific event meet a constraint

Overrides:
Accepts in class ExpContent
Parameters:
args - The arguments of the event
token - The token that must be passed
Returns:
True if the event meet the constraint, else otherwise

Consume

public boolean Consume(ExpEventArgs args,
                       Token token)
Description copied from class: ExpContent
Method that consume an event

Overrides:
Consume in class ExpContent
Parameters:
args - The arguments of the event
token - The token that must be passed
Returns:
True if the event has been consumed