PenProfile 2.x

Uses of Class
com.livescribe.penlet.Region

Packages that use Region
com.livescribe.afp This package consists of classes that interact with Anoto Functionality Document files and related APIs. 
com.livescribe.buttons   
com.livescribe.event This package consists of classes and interfaces that broadcast notifications and events to penlets. 
com.livescribe.penlet This package consists of classes and interfaces that are core to pen application development. 
 

Uses of Region in com.livescribe.afp
 

Methods in com.livescribe.afp with parameters of type Region
static PropertyCollection PropertyCollection.getInstance(PenletContext context, Region region)
          This is a factory method that returns an instance of the requested property collection.
static PropertyCollection PropertyCollection.getInstance(PenletContext context, Region region, boolean createIfNotFound)
          This is a factory method that returns an instance of the requested property collection.
 

Uses of Region in com.livescribe.buttons
 

Methods in com.livescribe.buttons that return Region
protected  Region DrawnButtonController.createRegionFor(Bookmarkable b)
          Subclasses can override this to change how regions are created for a bookmarkable item.
 

Uses of Region in com.livescribe.event
 

Fields in com.livescribe.event declared as Region
 Region PaperEvent.areaId
          The region object.
 

Methods in com.livescribe.event that return Region
 Region PaperEvent.getRegion()
          Gets the region object.
 

Methods in com.livescribe.event with parameters of type Region
 void AreaEnterExitListener.areaEnter(long time, Region region, PageInstance pageInstance)
          Deprecated. Called when the pen enters an area assigned to your penlet
 void AreaEnterExitListener.areaExit(long time, Region region, PageInstance pageInstance)
          Deprecated. Called when the pen exits an area assigned to your penlet
 void PenTipListener.penDown(long time, Region region, PageInstance page)
          Called when the user presses the pen on the page.
 void PenTipListener.penUp(long time, Region region, PageInstance page)
          Called when the user lifts the pen.
 void RegionEnterExitListener.regionEnter(long time, Region region, PageInstance page)
          Called when the pen enters a region assigned to your penlet.
 void RegionEnterExitListener.regionExit(long time, Region region, PageInstance page)
          Called when the pen exits a region assigned to your penlet.
 void StrokeListener.strokeCreated(long time, Region region, PageInstance pageInstance)
          Called when a stroke is created by the user.
 

Constructors in com.livescribe.event with parameters of type Region
PenTipEvent(int id, long time, PageInstance page, Region region, int x, int y)
          Creates a new pen tip event using the specified parameters.
RegionEvent(int id, long time, PageInstance page, Region region)
          Creates a new stroke event using the specified parameters.
StrokeEvent(int id, long time, PageInstance page, Region region)
          Creates a new stroke event using the specified parameters.
 

Uses of Region in com.livescribe.penlet
 

Methods in com.livescribe.penlet that return Region
 Region RegionCollection.addBitmapRegion(Shape shape, Region region, int cellWidth, int cellHeight)
          Adds a Bitmap region to the current page.
 Region RegionCollection.addRegion(Shape shape, Region region)
          Adds a region to this collection and maps the given physical shape to the added region.
 Region RegionCollection.addRegion(Shape shape, Region region, boolean storeStrokes)
          Deprecated. Use RegionCollection.addRegion(Shape, Region).
 Region RegionCollection.getFirstRegion(int areaId)
          Gets the first Region for the area identifier passed.
 

Methods in com.livescribe.penlet with parameters of type Region
abstract  void PenletContext.addAreaEnterExitListener(AreaEnterExitListener listener, Region region)
          Deprecated. use PenletContext.addRegionEnterExitListener(RegionEnterExitListener,Region)
 Region RegionCollection.addBitmapRegion(Shape shape, Region region, int cellWidth, int cellHeight)
          Adds a Bitmap region to the current page.
abstract  void PenletContext.addPenTipListener(PenTipListener listener, Region region)
          Adds a listener for pen tip events for the specific region on all pages the penlet owns.
 Region RegionCollection.addRegion(Shape shape, Region region)
          Adds a region to this collection and maps the given physical shape to the added region.
 Region RegionCollection.addRegion(Shape shape, Region region, boolean storeStrokes)
          Deprecated. Use RegionCollection.addRegion(Shape, Region).
abstract  void PenletContext.addRegionEnterExitListener(RegionEnterExitListener listener, Region region)
          Adds a listener for region enter/exit events for the specified region on all pages the penlet owns.
abstract  void PenletContext.addStrokeListener(StrokeListener listener, Region region)
          Adds a listener for stroke events for the specific region on all pages the penlet owns.
 boolean Region.equals(Region that)
          Deprecated. Use equals(Object).
 boolean RegionCollection.getBitmapRegionCellState(Region region, int cellX, int cellY)
          Gets the state of a cell in the bitmap region (true = on, false = off) Note that this function will fail if the region is not referring to a bitmap region.
 Rectangle RegionCollection.getBoundingBox(Region region)
          Gets the bounding box of the Region.
 Shape RegionCollection.getShape(Region region)
          Lets the user obtain a Shape object that corresponds to the region stored by the system.
 boolean RegionCollection.removeRegion(Region region)
          Removes the region from the collection.
 void RegionCollection.setBitmapRegionCellState(Region region, int cellX, int cellY, boolean state)
          Paints a grid cell to the state (true = on, false = off).
 


PenProfile 2.x

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