|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.print.LyPrintManager
public abstract class LyPrintManager
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static int |
BOTTOM_MARGIN
|
static boolean |
DEBUG_TO_SCREEN
Dump the result to the screen, not to printer. |
static int |
LEFT_MARGIN
|
static int |
PAGE_HEIGHT
|
static int |
PAGE_WIDTH
|
static int |
PRINT_TABLE_FONT_REDUCTION
Reduce the font size in printing compared to screen. |
static int |
RIGHT_MARGIN
|
static int |
TOP_MARGIN
|
Constructor Summary | |
---|---|
LyPrintManager(LyEnvironment environment,
LyPrintDataInterface printDataInterface,
java.util.Properties properties)
Default constructor. |
Method Summary | |
---|---|
abstract void |
end()
End of printing. |
LyEnvironment |
getEnvironment()
Gets environment; |
java.lang.String |
getFormat()
Gets printing format. |
java.lang.String |
getSupportName()
Gets support name (either printer name or file name if printing is done in a file). |
boolean |
isInFile()
Checks if printing is done in a file. |
abstract int |
print(java.lang.Object object,
java.util.Vector<java.lang.Object> fields,
int fontReduction,
int startPage)
|
abstract void |
print(java.util.Vector<LyObject> objects,
java.util.Vector<java.lang.Object> fields,
int fontReduction)
Print an objects list with its given list of fields. |
abstract boolean |
wasCancelled()
Tests if job was cencelled. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int PRINT_TABLE_FONT_REDUCTION
public static int LEFT_MARGIN
public static int TOP_MARGIN
public static int RIGHT_MARGIN
public static int BOTTOM_MARGIN
public static boolean DEBUG_TO_SCREEN
public static int PAGE_WIDTH
public static int PAGE_HEIGHT
Constructor Detail |
---|
public LyPrintManager(LyEnvironment environment, LyPrintDataInterface printDataInterface, java.util.Properties properties)
Method Detail |
---|
public boolean isInFile()
public java.lang.String getSupportName()
public java.lang.String getFormat()
public LyEnvironment getEnvironment()
public abstract boolean wasCancelled()
public abstract void end()
public abstract int print(java.lang.Object object, java.util.Vector<java.lang.Object> fields, int fontReduction, int startPage)
object
- Printed object.fields
- List of printed fieldsfontReduction
- Font reduction factor.startPage
- Page number.
public abstract void print(java.util.Vector<LyObject> objects, java.util.Vector<java.lang.Object> fields, int fontReduction)
objects
- List of printed objects.fields
- List of printed fieldsfontReduction
- Font reduction factor.startPage
- Page number.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |