public static class TLspViewPrintSettings.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TLspViewPrintSettings |
build()
Constructs a new print settings object using the current settings of
this builder.
|
TLspViewPrintSettings.Builder |
featureScale(double aFeatureScale)
Sets the feature scale to be used during printing.
|
TLspViewPrintSettings.Builder |
printBounds(Rectangle aClip)
Sets the bounds of the area to which the view is to be printed.
|
TLspViewPrintSettings.Builder |
statusListener(ILcdStatusListener aStatusListener)
Sets a status listener to be notified of progress during a printing
operation.
|
public TLspViewPrintSettings.Builder printBounds(Rectangle aClip)
null
, meaning the dimensions of the view as it
appears on screen will be used.aClip
- the print area boundsTLspViewPrintSettings.getPrintBounds()
public TLspViewPrintSettings.Builder featureScale(double aFeatureScale)
aFeatureScale
- the DPI scale factor to use while printingTLspViewPrintSettings.getFeatureScale()
public TLspViewPrintSettings.Builder statusListener(ILcdStatusListener aStatusListener)
null
, meaning no progress information
will be reported.aStatusListener
- a status listener for printing progresspublic TLspViewPrintSettings build()