RegionConfiguration Class Reference

List of all members.

Public Member Functions

 RegionConfiguration ()
void addRegion (Region r)
Points getHeight ()
List< RegiongetRegions ()
Points getWidth ()
void setDocumentHeight (double h)
 Specified in points, since Acrobat specifies everything in points (1/72nd of an inch).
void setDocumentWidth (double w)
 Specified in points, since Acrobat specifies everything in points (1/72nd of an inch).

Detailed Description

This class is used for communicating the region definition between the Acrobat plugin and the R3 toolkit. It can also be used to serialize and unserialize regions, if you need to build your own sheet/region design tool.

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 22 of file RegionConfiguration.java.


Member Function Documentation

void addRegion ( Region  r  ) 

Parameters:
r 

Definition at line 45 of file RegionConfiguration.java.

Points getHeight (  ) 

Returns:

Definition at line 52 of file RegionConfiguration.java.

Referenced by Sheet.addRegions().

List<Region> getRegions (  ) 

Returns:

Definition at line 59 of file RegionConfiguration.java.

Referenced by Sheet.addRegions().

Points getWidth (  ) 

Returns:

Definition at line 66 of file RegionConfiguration.java.

Referenced by Sheet.addRegions().

void setDocumentHeight ( double  h  ) 

Specified in points, since Acrobat specifies everything in points (1/72nd of an inch).

Parameters:
h 

Definition at line 75 of file RegionConfiguration.java.

void setDocumentWidth ( double  w  ) 

Specified in points, since Acrobat specifies everything in points (1/72nd of an inch).

Parameters:
w 

Definition at line 84 of file RegionConfiguration.java.


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:44 2007 for R3 Paper Toolkit by  doxygen 1.4.7