Public Member Functions | |
| void | dispose () throws TFormerException |
| Releases the resources allocated into TFORMer runtime by this instance. | |
| void | dump (PrintStream s) throws IOException, TFormerException |
| Dumps the current instance into a text stream. | |
| String | getComment () throws TFormerException |
| Gets the comment of the Printer. | |
| String | getDeviceName () throws TFormerException |
| Gets the device name of the Printer. | |
| String | getName () throws TFormerException |
| Gets the name of the Printer. | |
| Printer | getNext () throws TFormerException |
| Gets the next Printer defined in the Repository. | |
| int | getPrinterDeviceType () throws TFormerException |
| Gets the device type of the Printer. | |
| boolean | isDefault () throws TFormerException |
| Gets a value indicating whether this Printer is the default Printer. | |
| void | setComment (String sComment) throws TFormerException |
| Sets the comment of the Printer. | |
| void | setDeviceName (String sDeviceName) throws TFormerException |
| Sets the device name of the Printer. | |
| void | setName (String sName) throws TFormerException |
| Sets the name of the Printer. | |
| void | setPrinterDeviceType (int nPrinterDeviceType) throws TFormerException |
| Sets the device type of the Printer. | |
| String | toString () |
| Returns a string representation of the instance. | |
This class provides access to Printer-information stored in a Repository. A stand-alone FormLayout does not support Printer-objects!
A single instance of this class must not be used by different threads.
Internal use only!
| void dispose | ( | ) | throws TFormerException |
Releases the resources allocated into TFORMer runtime by this instance.
Remember to call this method always after the use of the instance, in order to release the memory allocated.
| TFormerException | error occurred into TFORMer runtime. |
| void dump | ( | PrintStream | s | ) | throws IOException, TFormerException |
Dumps the current instance into a text stream.
| s | instance of the stream |
| IOException | error in I/O | |
| TFormerException | error occurred into TFORMer runtime. |
| String getComment | ( | ) | throws TFormerException |
| String getDeviceName | ( | ) | throws TFormerException |
Gets the device name of the Printer.
| TFormerException |
| String getName | ( | ) | throws TFormerException |
| Printer getNext | ( | ) | throws TFormerException |
Gets the next Printer defined in the Repository.
To retrieve the first Printer within a Repository refer to Repository.FirstPrinter.
The property is null if there are no further objects available.
Internal usage only.
null. | TFormerException |
| int getPrinterDeviceType | ( | ) | throws TFormerException |
Gets the device type of the Printer.
| TFormerException |
| boolean isDefault | ( | ) | throws TFormerException |
| void setComment | ( | String | sComment | ) | throws TFormerException |
Sets the comment of the Printer.
| sComment | The comment of the Printer. |
| TFormerException |
| void setDeviceName | ( | String | sDeviceName | ) | throws TFormerException |
Sets the device name of the Printer.
| sDeviceName | The device name of the Printer. |
| TFormerException |
| void setName | ( | String | sName | ) | throws TFormerException |
Sets the name of the Printer.
| sName | The name of the Printer. |
| TFormerException |
| void setPrinterDeviceType | ( | int | nPrinterDeviceType | ) | throws TFormerException |
Sets the device type of the Printer.
| nPrinterDeviceType | The device type of the Printer. |
| TFormerException |
| String toString | ( | ) |
Returns a string representation of the instance.
| © 2006-2009 All rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
| Generated on Wed Sep 2 16:01:28 2009 for TFORMer Runtime JAVA Developer Reference with doxygen 1.5.8 |