com.levigo.jadice.demo.commands
Class DemoPrint
java.lang.Object
com.levigo.util.swing.action.injection.InjectedCommand
com.levigo.util.swing.action.AbstractContextCommand
com.levigo.jadice.swing.commands.AbstractPageViewCommand
com.levigo.jadice.swing.commands.AbstractDocumentCommand
com.levigo.jadice.swing.commands.DirectPrintDocumentCommand
com.levigo.jadice.swing.commands.PrintDocumentCommand
com.levigo.jadice.demo.commands.DemoPrint
- All Implemented Interfaces:
- Command
public class DemoPrint
- extends PrintDocumentCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoPrint
public DemoPrint()
prepare
protected void prepare(PrintJobConfiguration pjc)
- Description copied from class:
DirectPrintDocumentCommand
- Overwrite to apply own print job settings before dialog is shown. This method works like a
template method.
- Overrides:
prepare
in class DirectPrintDocumentCommand
- Parameters:
pjc
- will be passed in by this command.
createDialog
protected AbstractPrintDialog createDialog(PrintJobConfiguration cfg)
throws JadiceException
- Overrides:
createDialog
in class PrintDocumentCommand
- Parameters:
cfg
- basic print job configuration
- Returns:
- a ready to use print dialog
- Throws:
JadiceException
- if print dialog could not be created (for example if permissions
prohibit export or print).
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.