public class ReportGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ADJ_CNTR
Constant defining the integer flag for centered text.
|
static int |
ADJ_LEFT
Constant defining the integer flag for left adjusted text.
|
static int |
ADJ_RGHT
Constant defining the integer flag for right adjusted text.
|
static int |
HEIGHT_A3P
Constant defining the width for A3 portrait size.
|
static int |
HEIGHT_A4P
Constant defining the width for A4 portrait size.
|
static int |
HEIGHT_A5P
Constant defining the width for A5 portrait size.
|
static int |
HEIGHT_LGP
Constant defining the width for Legal portrait size.
|
static int |
HEIGHT_LTP
Constant defining the width for Letter portrait size.
|
static String |
SIZE_A3L
Constant defining the predefined name for A3 landscape size.
|
static String |
SIZE_A3P
Constant defining the predefined name for A3 portrait size.
|
static String |
SIZE_A4L
Constant defining the predefined name for A4 landscape size.
|
static String |
SIZE_A4P
Constant defining the predefined name for A4 portrait size.
|
static String |
SIZE_A5L
Constant defining the predefined name for A5 landscape size.
|
static String |
SIZE_A5P
Constant defining the predefined name for A5 portrait size.
|
static String |
SIZE_LGL
Constant defining the predefined name for Legal landscape size.
|
static String |
SIZE_LGP
Constant defining the predefined name for Legal portrait size.
|
static String |
SIZE_LTL
Constant defining the predefined name for Legal landscape size.
|
static String |
SIZE_LTP
Constant defining the predefined name for Legal portrait size.
|
static int |
WIDTH_A3P
Constant defining the width for A3 portrait size.
|
static int |
WIDTH_A4P
Constant defining the width for A4 portrait size.
|
static int |
WIDTH_A5P
Constant defining the width for A5 portrait size.
|
static int |
WIDTH_LGP
Constant defining the width for Legal portrait size.
|
static int |
WIDTH_LTP
Constant defining the width for Letter portrait size.
|
Constructor and Description |
---|
ReportGenerator(PhantomWorker worker)
Creates a new ReportGenerator.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of everything before the Report generator is disposed of.
|
PhantomWorker |
getWorker()
Gets the PhantomWorker.
|
String |
parseCommand(String com,
String p1,
String p2,
String p3,
String p4,
String p5)
Parses the commands to the report generator.
|
public static final int ADJ_LEFT
public static final int ADJ_RGHT
public static final int ADJ_CNTR
public static final String SIZE_A3P
public static final String SIZE_A3L
public static final String SIZE_A4P
public static final String SIZE_A4L
public static final String SIZE_A5P
public static final String SIZE_A5L
public static final String SIZE_LGP
public static final String SIZE_LGL
public static final String SIZE_LTP
public static final String SIZE_LTL
public static final int WIDTH_A3P
public static final int HEIGHT_A3P
public static final int WIDTH_A4P
public static final int HEIGHT_A4P
public static final int WIDTH_A5P
public static final int HEIGHT_A5P
public static final int WIDTH_LGP
public static final int HEIGHT_LGP
public static final int WIDTH_LTP
public static final int HEIGHT_LTP
public ReportGenerator(PhantomWorker worker)
worker
- The PhantomWorker that asked for the creation of the ReportGenerator.public void dispose()
public String parseCommand(String com, String p1, String p2, String p3, String p4, String p5)
com
- The command to execute.p1
- The first parameter to the command.p2
- The second parameter to the command.p3
- The third parameter to the command.p4
- The fourth parameter to the command.p5
- The fifth parameter to the command.public PhantomWorker getWorker()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.