public class PrintingService
extends java.lang.Object
PrinterSetupDialog
s. It exposes a single factory method and
some constants used for setting options in the chained methods of the returned dialog class.PrintingService.PrinterSetupDialog
Modifier and Type | Class and Description |
---|---|
static class |
PrintingService.PrinterSetupDialog
A class that collects option information about a printer selection statement using chained
methods.
|
Modifier and Type | Field and Description |
---|---|
static int |
ANY
Constant for page orientation.
|
static int |
LANDSCAPE
Constant for page orientation.
|
private static java.util.logging.Logger |
LOG
Logger for this class.
|
static int |
NONE
Constant for page orientation.
|
static int |
PORTRAIT
Constant for page orientation.
|
Constructor and Description |
---|
PrintingService() |
Modifier and Type | Method and Description |
---|---|
static PrintingService.PrinterSetupDialog |
createSetupDialog()
Factory method for a printer setup dialog.
|
public static final int NONE
public static final int PORTRAIT
public static final int LANDSCAPE
public static final int ANY
private static final java.util.logging.Logger LOG
public static PrintingService.PrinterSetupDialog createSetupDialog()
PrintingService.PrinterSetupDialog
that can chain eventual option and and finally
execute on client side.