Public Member Functions | |
SheetFrame (Sheet sheet, int width, int height) | |
Constructs a new 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.
Definition at line 32 of file SheetFrame.java.
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.
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().