Class Filter

java.lang.Object
  |
  +--Filter

class Filter
extends java.lang.Object

This class manages the objects recognized by the Tablet. When Tablet adds the recognized objects using the addObject to the ObjectManager, the ObjectManager passes the input throug this filter first, and then adds the object. Later depending on the rest of the input, the Filter may remove the previously added objects from the ObjectManager.


Field Summary
private  java.util.Vector line_sequences
          The vector for holding the line sequences.
private  ObjectManager object_manager
          The object manager associated with this object.
 
Constructor Summary
(package private) Filter(ObjectManager object_manager)
          The constructor.
 
Method Summary
 java.util.Vector filter(java.lang.Object object)
          Filters the object.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

line_sequences

private java.util.Vector line_sequences
The vector for holding the line sequences.

object_manager

private ObjectManager object_manager
The object manager associated with this object.
Constructor Detail

Filter

Filter(ObjectManager object_manager)
The constructor.
Method Detail

filter

public java.util.Vector filter(java.lang.Object object)
Filters the object. Known eksik: Fails to recognize multiple sequences separated by non-sequence objects. Should be modified to recognize the case where a sequence of lines is followed by another line that is not a part of the sequence.