PenProfile 2.x

com.livescribe.ext.plugins
Interface AcquireHWPlugin.DisplayFilter

Enclosing class:
AcquireHWPlugin

public static interface AcquireHWPlugin.DisplayFilter

An interface that defines how to display the results on the screen when displaying the results is enabled.

If no display filter is set, then the result is simply used as-is.

See Also:
AcquireHWPlugin.setDisplayOnResult(boolean, DisplayFilter)

Method Summary
 Object filter(String result)
          This filters the result for use when HWR results are displayed on the screen.
 

Method Detail

filter

Object filter(String result)
This filters the result for use when HWR results are displayed on the screen.

This should return an instance of AttributedText or String. If the object returned is not an instance of either of those classes then the returned object's Object.toString() is use instead.

Parameters:
result - the HWR result
Returns:
the filtered text for display onscreen.
See Also:
AttributedText.parseEnriched(String, com.livescribe.display.Font), AcquireHWPlugin.setDisplayOnResult(boolean, DisplayFilter)

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.