Important Note
This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv long | |
| pack-priv int | |
| pack-priv PrinterData | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv byte[] |
| Access | Constructor and Description |
|---|---|
| public | PrintDialog(Shell
a composite control which will be the parent of the new instance (cannot be null) parent)Constructs a new instance of this class given only its parent. |
| public | PrintDialog(Shell
a composite control which will be the parent of the new instance (cannot be null) parent, int the style of control to construct style)Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| pack-priv static int | |
| protected void | checkSubclass()
Overrides org. |
| public int | Returns: the end page setting that the user selectedReturns the end page setting that the user selected before pressing OK in the dialog. |
| public PrinterData | Returns: the data that will be used when the dialog is openedReturns the printer data that will be used when the dialog is opened. |
| public boolean | Returns: the 'Print to file' setting that the user selectedReturns the 'Print to file' setting that the user selected before pressing OK in the dialog. |
| public int | Returns: the scope setting that the user selectedReturns the print job scope that the user selected before pressing OK in the dialog. |
| public int | Returns: the start page setting that the user selectedReturns the start page setting that the user selected before pressing OK in the dialog. |
| pack-priv long | |
| public PrinterData | Returns: a printer data object describing the desired print job parameters, or null if the dialog was canceled, no printers were found, or an error occurredMakes the receiver visible and brings it to the front of the display. |
| public void | setEndPage(int
the end page setting when the dialog is opened endPage)Sets the end page that the user will see when the dialog is opened. |
| public void | setPrinterData(PrinterData
the data that will be used when the dialog is opened or null to use default data data)Sets the printer data that will be used when the dialog is opened. |
| public void | setPrintToFile(boolean
the 'Print to file' setting when the dialog is opened printToFile)Sets the 'Print to file' setting that the user will see when the dialog is opened. |
| public void | |
| public void | setStartPage(int
the startPage setting when the dialog is opened startPage)Sets the start page that the user will see when the dialog is opened. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| ADD_IDLE_PROC_KEY | back to summary |
|---|---|
| pack-priv static final String ADD_IDLE_PROC_KEY | |
| GET_EMISSION_PROC_KEY | back to summary |
|---|---|
| pack-priv static final String GET_EMISSION_PROC_KEY | |
| GET_MODAL_DIALOG | back to summary |
|---|---|
| pack-priv static final String GET_MODAL_DIALOG | |
| handle | back to summary |
|---|---|
| pack-priv long handle | |
| index | back to summary |
|---|---|
| pack-priv int index | |
| printerData | back to summary |
|---|---|
| pack-priv PrinterData printerData | |
| REMOVE_IDLE_PROC_KEY | back to summary |
|---|---|
| pack-priv static final String REMOVE_IDLE_PROC_KEY | |
| SET_MODAL_DIALOG | back to summary |
|---|---|
| pack-priv static final String SET_MODAL_DIALOG | |
| settingsData | back to summary |
|---|---|
| pack-priv byte[] settingsData | |
| PrintDialog | back to summary |
|---|---|
| public PrintDialog(Shell parent) Constructs a new instance of this class given only its parent.
| |
| PrintDialog | back to summary |
|---|---|
| public PrintDialog(Shell parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.
The style value is either one of the style constants defined in
class
| |
| checkBits | back to summary |
|---|---|
| pack-priv static int checkBits(int style, int int0, int int1, int int2, int int3, int int4, int int5) | |
| checkStyleBit | back to summary |
|---|---|
| pack-priv static int checkStyleBit(Shell parent, int style) | |
| checkSubclass | back to summary |
|---|---|
| protected void checkSubclass() Overrides org. Doc from org. Checks that this class can be subclassed. Important Note See the comment in
| |
| getEndPage | back to summary |
|---|---|
| public int getEndPage() Returns the end page setting that the user selected before pressing OK in the dialog.
This value can be from 1 to the maximum number of pages for the platform.
Note that it is only valid if the scope is
| |
| getPrinterData | back to summary |
|---|---|
| public PrinterData getPrinterData() Returns the printer data that will be used when the dialog is opened.
| |
| getPrintToFile | back to summary |
|---|---|
| public boolean getPrintToFile() Returns the 'Print to file' setting that the user selected before pressing OK in the dialog.
| |
| getScope | back to summary |
|---|---|
| public int getScope() Returns the print job scope that the user selected before pressing OK in the dialog. This will be one of the following values:
| |
| getStartPage | back to summary |
|---|---|
| public int getStartPage() Returns the start page setting that the user selected before pressing OK in the dialog.
This value can be from 1 to the maximum number of pages for the platform.
Note that it is only valid if the scope is
| |
| GtkPrintSettingsFunc | back to summary |
|---|---|
| pack-priv long GtkPrintSettingsFunc(long key, long value, long data) | |
| open | back to summary |
|---|---|
| public PrinterData open() Makes the receiver visible and brings it to the front of the display.
| |
| setEndPage | back to summary |
|---|---|
| public void setEndPage(int endPage) Sets the end page that the user will see when the dialog is opened.
This value can be from 1 to the maximum number of pages for the platform.
Note that it is only valid if the scope is
| |
| setPrinterData | back to summary |
|---|---|
| public void setPrinterData(PrinterData data) Sets the printer data that will be used when the dialog is opened. Setting the printer data to null is equivalent to resetting all data fields to their default values.
| |
| setPrintToFile | back to summary |
|---|---|
| public void setPrintToFile(boolean printToFile) Sets the 'Print to file' setting that the user will see when the dialog is opened.
| |
| setScope | back to summary |
|---|---|
| public void setScope(int scope) Sets the scope of the print job. The user will see this setting when the dialog is opened. This can have one of the following values:
| |
| setStartPage | back to summary |
|---|---|
| public void setStartPage(int startPage) Sets the start page that the user will see when the dialog is opened.
This value can be from 1 to the maximum number of pages for the platform.
Note that it is only valid if the scope is
| |
| store | back to summary |
|---|---|
| pack-priv void store(String key, int value) | |
| store | back to summary |
|---|---|
| pack-priv void store(String key, double value) | |
| store | back to summary |
|---|---|
| pack-priv void store(String key, boolean value) | |
| store | back to summary |
|---|---|
| pack-priv void store(String key, String value) | |
| store | back to summary |
|---|---|
| pack-priv void store(byte[] key, byte[] value) | |
| storeBytes | back to summary |
|---|---|
| pack-priv void storeBytes(String key, long value) | |