Class Snippet1
- java.lang.Object
-
- org.eclipse.nebula.paperclips.snippets.Snippet1
-
public class Snippet1 extends java.lang.Object
Demonstrates how to print the contents of a Table widget. This snippet uses the GridPrint, TextPrint, and ImagePrint classes.
-
-
Constructor Summary
Constructors Constructor Description Snippet1()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Print
createCell(org.eclipse.swt.graphics.Image image, java.lang.String text, int align)
static Print
createPrint(org.eclipse.swt.widgets.Table table)
static void
main(java.lang.String[] args)
Executes the snippet.
-
-
-
Method Detail
-
createPrint
public static Print createPrint(org.eclipse.swt.widgets.Table table)
-
createCell
public static Print createCell(org.eclipse.swt.graphics.Image image, java.lang.String text, int align)
-
main
public static void main(java.lang.String[] args)
Executes the snippet.- Parameters:
args
- command-line args.
-
-