public abstract class DataPropertyPrint extends PropertyPrint
DataPropertyAdministration
Modifier and Type | Field and Description |
---|---|
protected DataObject |
currentDataObject |
protected DataObject |
mainDataObject |
capacity, countPrintableAttributes, curAttrInd, horizontalOffsets, linesToGo, printableAttributes, separatorLines
currentFont, currentPrintablePage, defaultFont, firstGraphics, firstPageFormat, previewer, printablePages
curY, extraordinaryFormat, firstPrintCalled, groupStart, lineFeed, PRINT_DIALOG_ALWAYS, PRINT_DIALOG_EACH_GROUP, PRINT_DIALOG_NEVER, PRINT_DIALOG_ONCE, printDialogChoice, printerJob, printService
currentFontSpec, originalFont
Constructor and Description |
---|
DataPropertyPrint()
Construct a new data property print object with a default capacity of
70 attributes to be printed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSpaceSeparator()
Adds a space separator to the last attribute.
|
protected void |
addSpaceSeparator(int nbrOfEmtpyLines) |
protected PrintableBoolean |
createBooleanPresenter(int horizontalOffset,
java.lang.String columnName) |
protected PrintableBoolean |
createBooleanPresenter(java.lang.String label,
java.lang.String columnName) |
protected PrintableCallback |
createCallbackPresenter(int horizontalOffset,
Callback callback)
Creates and returns a PrintableCallback.
|
protected PrintableCallback |
createCallbackPresenter(java.lang.String label,
Callback callback)
Creates and returns a PrintableCallback.
|
protected PrintableDate |
createDatePresenter(int horizontalOffset,
java.lang.String columnName) |
protected PrintableDate |
createDatePresenter(java.lang.String label,
java.lang.String columnName) |
protected PrintableDecimal |
createDecimalPresenter(int horizontalOffset,
java.lang.String columnName) |
protected PrintableDecimal |
createDecimalPresenter(java.lang.String label,
java.lang.String columnName) |
protected PrintableInt |
createIntPresenter(int horizontalOffset,
java.lang.String columnName) |
protected PrintableInt |
createIntPresenter(java.lang.String label,
java.lang.String columnName) |
protected PrintableReference |
createReference(int horizontalOffset,
java.lang.String columnName,
DataObject referenceDataObject,
java.lang.String printableColumnName) |
protected PrintableReference |
createReference(int horizontalOffset,
java.lang.String columnName,
java.lang.String[] keys,
java.lang.String[] meanings) |
protected PrintableReference |
createReference(java.lang.String label,
java.lang.String columnName,
DataObject referenceDataObject,
java.lang.String printableColumnName) |
protected PrintableReference |
createReference(java.lang.String label,
java.lang.String columnName,
java.lang.String[] keys,
java.lang.String[] meanings) |
protected PrintableText |
createTextPresenter(int horizontalOffset,
java.lang.String columnName) |
protected PrintableText |
createTextPresenter(java.lang.String label,
java.lang.String columnName) |
protected void |
goToLine(int lineNbr) |
void |
loadAndPrint(Identifier identifier)
Loads the current row and prints it.
|
protected void |
setMainDataObject(DataObject newMainDataObject) |
cachePages, fits, getTitle, getValueOffset, printAttributeValue, printTitle
feedLine, getDefaultFont, getWidth, newPage, newPageWhenIndicated, newPageWhenIndicated, print, print, print, print, print, print, print, print, print, print, printBarcode, printFixStuff, printIamge, printItemGraphics, printLine, resetFont, setFont, wrap, wrap
afterPrinting, beforePrinting, getBottomPrintEnding, getLeftPrintStart, getPageFormat, getRightPrintEnding, getTopPrintStart, isToManipulate, print, print, replaceSize, replaceSize, setBottomPrintEnding, setLeftPrintStart, setMargins, setPrinter, setPrinterDialog, setRightPrintEnding, setTopPrintStart, startGroup
changeFontIfNew, getCompletelyLoadedImage, getCompletelyLoadedImage, getPx, getPxD, getRightAllignOffset, getRightAllignStartPoint, limit, limit, resetFont, setOnBold, wrap
protected DataObject mainDataObject
protected DataObject currentDataObject
public DataPropertyPrint()
protected void setMainDataObject(DataObject newMainDataObject)
protected void addSpaceSeparator()
protected void addSpaceSeparator(int nbrOfEmtpyLines)
protected void goToLine(int lineNbr)
protected PrintableText createTextPresenter(int horizontalOffset, java.lang.String columnName)
protected PrintableText createTextPresenter(java.lang.String label, java.lang.String columnName)
protected PrintableInt createIntPresenter(int horizontalOffset, java.lang.String columnName)
protected PrintableInt createIntPresenter(java.lang.String label, java.lang.String columnName)
protected PrintableDecimal createDecimalPresenter(int horizontalOffset, java.lang.String columnName)
protected PrintableDecimal createDecimalPresenter(java.lang.String label, java.lang.String columnName)
protected PrintableDate createDatePresenter(int horizontalOffset, java.lang.String columnName)
protected PrintableDate createDatePresenter(java.lang.String label, java.lang.String columnName)
protected PrintableBoolean createBooleanPresenter(int horizontalOffset, java.lang.String columnName)
protected PrintableBoolean createBooleanPresenter(java.lang.String label, java.lang.String columnName)
protected PrintableReference createReference(int horizontalOffset, java.lang.String columnName, DataObject referenceDataObject, java.lang.String printableColumnName)
protected PrintableReference createReference(java.lang.String label, java.lang.String columnName, DataObject referenceDataObject, java.lang.String printableColumnName)
protected PrintableReference createReference(int horizontalOffset, java.lang.String columnName, java.lang.String[] keys, java.lang.String[] meanings)
protected PrintableReference createReference(java.lang.String label, java.lang.String columnName, java.lang.String[] keys, java.lang.String[] meanings)
protected PrintableCallback createCallbackPresenter(int horizontalOffset, Callback callback)
horizontalOffset
- the horizontal offset of the attributecallback
- the callback interface to be called when values are set. Use setText() to set the new value inside callback method.protected PrintableCallback createCallbackPresenter(java.lang.String label, Callback callback)
label
- the label of the attribute to printcallback
- the callback interface to be called when values are set. Use setText() to set the new value inside callback method.public void loadAndPrint(Identifier identifier)
identifier
- the identifier of the row to printCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de