FROG

FROG Recognizer of Gestures

RecognitionSectionPanel Class Reference

RecognitionSectionPanel is a sub-panel of RecognitionPanel used to represent each User. More...

Inheritance diagram for RecognitionSectionPanel:
Collaboration diagram for RecognitionSectionPanel:

List of all members.

Public Member Functions

 RecognitionSectionPanel (User user)
 Creates a new RecognitionSectionPanel.
void unexpectedDisconnect (Device d)
 Executed whenever a Session detects an unexpected disconnect from a Device it is listening to.
void accelerationPerformed (AccelEvent e)
 Executed whenever a Session detects an acceleration from a Device it is listening to.
void gestureComplete (boolean good, Device d)
 Executed whenever a Session detects a complete gesture from a Device it is listening to.
void gestureRecognized (GestureModel g)
 Executed whenever a Session has recognized a gesture performed by the Device it is listening to (requires being in recognition mode).
void actionPerformed (ActionEvent e)

Detailed Description

RecognitionSectionPanel is a sub-panel of RecognitionPanel used to represent each User.

This panel is what contains the components for loading Sessions and connecting to a Device. A label will display if a user's gesture was recognized or not.

Author:
Team Better Recognize

Constructor & Destructor Documentation

RecognitionSectionPanel ( User  user  ) 

Creates a new RecognitionSectionPanel.

Here is the call graph for this function:


Member Function Documentation

void accelerationPerformed ( AccelEvent  e  ) 

Executed whenever a Session detects an acceleration from a Device it is listening to.

Implements SessionListener.

void actionPerformed ( ActionEvent  e  ) 

Here is the call graph for this function:

void gestureComplete ( boolean  good,
Device  d 
)

Executed whenever a Session detects a complete gesture from a Device it is listening to.

Implements SessionListener.

void gestureRecognized ( GestureModel  g  ) 

Executed whenever a Session has recognized a gesture performed by the Device it is listening to (requires being in recognition mode).

Parameters:
g The gesture recognized
See also:
Session.inRecognitionMode()

Implements SessionListener.

Here is the call graph for this function:

void unexpectedDisconnect ( Device  d  ) 

Executed whenever a Session detects an unexpected disconnect from a Device it is listening to.

Implements SessionListener.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables