Modifier and Type | Interface and Description |
---|---|
static class |
ListingWindow.DeviceType
Describes the type of listing window
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream to the listing window.
|
void |
closeWindow()
Closes the listing window actually from the UI.
|
ListingWindow.DeviceType |
device()
Returns the device type for the window.
|
boolean |
isOpen()
Returns a flag indicating whether the listing window is open.
|
void |
open()
Opens the listing window.
|
void |
selectDevice(ListingWindow.DeviceType deviceType,
String fileName)
Changes where the listing window output is sent.
|
void |
writeFullline(String msg)
Writes a full line to the listing window.
|
void |
writeLine(String msg)
Writes a line to the listing window.
|
void open() throws NXException, RemoteException
NXException
RemoteException
void close() throws NXException, RemoteException
NXException
RemoteException
void closeWindow() throws NXException, RemoteException
NXException
RemoteException
void writeLine(String msg) throws NXException, RemoteException
msg
- Line to writeNXException
RemoteException
void writeFullline(String msg) throws NXException, RemoteException
writeLine(java.lang.String)
If null is passed in this method will do nothing.
msg
- Line to writeNXException
RemoteException
boolean isOpen() throws NXException, RemoteException
Arc
.
NXException
RemoteException
void selectDevice(ListingWindow.DeviceType deviceType, String fileName) throws NXException, RemoteException
ListingWindow.SelectDevice(File, "log.txt") ListingWindow.Open() ListingWindow.WriteLine("output") ListingWindow.Close() ' buffer is not flushed yet ListingWindow.SelectDevice(Window, "") ' now the buffer is flushed
deviceType
- The type of device (file, Information window, or both)fileName
- Name of the file. Used only if the device type is file.NXException
RemoteException
ListingWindow.DeviceType device() throws NXException, RemoteException
NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.