public class PrintDocumentCommand extends DirectPrintDocumentCommand
AbstractDocumentCommand.Scope
document
Constructor and Description |
---|
PrintDocumentCommand() |
Modifier and Type | Method and Description |
---|---|
protected AbstractPrintDialog |
createDialog(PrintJobConfiguration cfg) |
protected void |
execute()
This method is called in order to execute the command.
|
addPagesToPrint, isAvailable, prepare
canExecute, getRenderControls, getScope, setScope
getPageView, setPageView
getContext, propagateContextChange, setContext
canExecute, execute, getKey, isSelected, isSelected, setKey
protected void execute()
InjectedCommand
InjectedCommand.canExecute()
has returned
true
.execute
in class DirectPrintDocumentCommand
protected AbstractPrintDialog createDialog(PrintJobConfiguration cfg) throws JadiceException
cfg
- basic print job configurationJadiceException
- if print dialog could not be created (for example if permissions
prohibit export or print).Copyright © 2024 levigo holding gmbh. All rights reserved.