Inheritance diagram for InkCollector:
Public Member Functions | |
InkCollector () | |
void | clear () |
Clear the buffers. | |
abstract void | contentArrived () |
Ink | getInk () |
Ink | getNewInkOnly () |
int | getNumStrokesCollected () |
long | getTimestampOfMostRecentInkStroke () |
Date | getTimestampOfMostRecentPenUp () |
Override void | handleEvent (PenEvent event) |
if this event should be consumed (i.e., lower priority event handlers should not see this event), we should set the event.consumed property to true | |
void | saveInkToXMLFile (File xmlFile) |
void | setNotifyDistance (Units notifyAfterThisMuchPenMovement) |
Override String | toString () |
Classes | |
class | InkNotifier |
TODO: This class contains some filtering code to eliminate false Pen Ups, due to the fault of the streaming digital pen. Should this filtering be done earlier? Should it be an option? Clearly, an implementer of a ContentFilter should not need to manually filter events... =\
This software is distributed under the BSD License.
TODO: Add a scale factor here??? Or maybe a scale factor somewhere in the event pipeline? Or should we do it later on?
Definition at line 40 of file InkCollector.java.
Ink getInk | ( | ) |
Ink getNewInkOnly | ( | ) |
int getNumStrokesCollected | ( | ) |
long getTimestampOfMostRecentInkStroke | ( | ) |
Definition at line 218 of file InkCollector.java.
Date getTimestampOfMostRecentPenUp | ( | ) |
void saveInkToXMLFile | ( | File | xmlFile | ) |
xmlFile |
Definition at line 321 of file InkCollector.java.
Referenced by CaptureApplication.saveInkToDisk().
void setNotifyDistance | ( | Units | notifyAfterThisMuchPenMovement | ) |
notifyAfterThisMuchPenMovement |
Definition at line 329 of file InkCollector.java.
References Units.getValueInPatternDots().
Override String toString | ( | ) | [virtual] |
Implements EventHandler.
Definition at line 343 of file InkCollector.java.