SheetFrame Class Reference

A JFrame based on a Sheet object. More...

List of all members.

Public Member Functions

 SheetFrame (Sheet sheet, int width, int height)
 Constructs a new JFrame based on a Sheet object.


Detailed Description

A JFrame based on a Sheet object.

This allows you to quickly generate a Swing interface from an existing paper interface.

This software is distributed under the BSD License.

Author:
Marcello

Definition at line 32 of file SheetFrame.java.


Constructor & Destructor Documentation

SheetFrame ( Sheet  sheet,
int  width,
int  height 
)

Constructs a new JFrame based on a Sheet object.

If the sheet has XMLRegions, the meta data will be used to construct JButtons, and JTextFields.

Parameters:
sheet 
width 
height 

Definition at line 44 of file SheetFrame.java.

References Region.getEventHandlers(), Region.getHeight(), Sheet.getHeight(), Region.getName(), Sheet.getName(), Region.getOriginX(), Region.getOriginY(), Sheet.getRegions(), XMLRegion.getType(), Region.getWidth(), and Sheet.getWidth().


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