© 2006-2007 ETH Zurich

hacks
Class PDFTool

java.lang.Object
  extended by hacks.PDFTool

public class PDFTool
extends Object

PDF tools.

Version:
1.0 Dec 2006
Author:
Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch

Field Summary
static int NUMBER_OF_COLUMNS
           
 
Constructor Summary
PDFTool()
           
 
Method Summary
static com.lowagie.text.Document createDocument(File file)
          Creates a new PDF document.
static com.lowagie.text.pdf.PdfPCell createEmptyCell()
          Creates an empty table cell.
static com.lowagie.text.pdf.PdfPTable createGestureSetTable(GestureSet set)
           
static com.lowagie.text.pdf.PdfPTable createGestureSetTable(GestureSet set, int columns)
          Creates a table filled with a sample gesture and the corresponding name.
static com.lowagie.text.pdf.PdfPCell createImageCell(GestureClass gestureClass)
          Creates a table cell with a gesture sample and the name.
static com.lowagie.text.pdf.PdfPTable createTable(int columns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMBER_OF_COLUMNS

public static int NUMBER_OF_COLUMNS
Constructor Detail

PDFTool

public PDFTool()
Method Detail

createDocument

public static com.lowagie.text.Document createDocument(File file)
Creates a new PDF document.

Parameters:
file - the file of the new PDF document.
Returns:
the pdf document.

createGestureSetTable

public static com.lowagie.text.pdf.PdfPTable createGestureSetTable(GestureSet set,
                                                                   int columns)
Creates a table filled with a sample gesture and the corresponding name.

Parameters:
set - the gesture set.
columns - the number of columns in the table.
Returns:
the PDF table.

createTable

public static com.lowagie.text.pdf.PdfPTable createTable(int columns)

createGestureSetTable

public static com.lowagie.text.pdf.PdfPTable createGestureSetTable(GestureSet set)
Parameters:
set - the gesture set.
Returns:
the PDF table.
See Also:
createGestureSetTable

createImageCell

public static com.lowagie.text.pdf.PdfPCell createImageCell(GestureClass gestureClass)
Creates a table cell with a gesture sample and the name.

Parameters:
gestureClass - the gesture class.
Returns:
the table cell.

createEmptyCell

public static com.lowagie.text.pdf.PdfPCell createEmptyCell()
Creates an empty table cell.

Returns:
the empty table cell.

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.