PenProfile 2.x

com.livescribe.event
Interface PaperListener


public interface PaperListener

This interface must be implemented by any class that wishes to receive document or paper events from the system. These include:

  1. New page, and
  2. New document.

Since:
0.3

Method Summary
 void onNewDocument(Document doc, int copy)
          Called when user puts pen on a page that is in a different document.
 void onNewPage(PageInstance page)
          Called when user puts the pen on a new page.
 

Method Detail

onNewPage

void onNewPage(PageInstance page)
Called when user puts the pen on a new page.

Parameters:
page - the page where the event occurred

onNewDocument

void onNewDocument(Document doc,
                   int copy)
Called when user puts pen on a page that is in a different document.

Parameters:
doc - the document where the event occurred
copy - the copy number

PenProfile 2.x

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