Four Js Genero Report Writer
FourJs.Report.Runtime.FileViewer Class Reference

Class for configuring desktop file viewing. The document is copied to the client and opened their with the default application associated with the file suffix. This feature requires a DVM installation to run the utility application "gviewdoc.42x" and the desktop client GDC. More...

Inheritance diagram for FourJs.Report.Runtime.FileViewer:
FourJs.Report.Runtime.FormatHandler

Public Member Functions

 FileViewer (String clientHost, int?clientPort)
 Creates a FileViewer object. The default values for the parameters clientHost and clientPort are parsed from the environment variables FGLSERVER or GRWSERVER in this order. The variables are expected to follow the syntax "host:port" (same syntax as the DISPLAY variable of X Windows). If neither of them are set the default value "localhost:6400" is used. More...
 
 FileViewer ()
 Creates a FileViewer object. This is a convenience constructor for FileViewer(null, null). More...
 

Static Public Attributes

static String legalCopyright = Version.CLASS_COPYRIGHT
 

Properties

String clientHost [get, set]
 Sets the host name of the remote viewer application. The default value is parsed from the environment variables FGLSERVER or GRWSERVER in this order. The variables are expected to follow the syntax "host:port" (same syntax as the DISPLAY variable of X Windows). If neither of them are set the default value "localhost" is used. More...
 
int clientPort [get, set]
 Sets the port number at which the viewer application is listening. The value is expected to be a unsigned 16 bit value. The default value is parsed from the environment variables FGLSERVER or GRWSERVER in this order. if The variables are expected to follow the syntax "host:port" (same syntax as the DISPLAY variable of X Windows). If neither of them are set the default value 6400 is used for GDC and 6401 is used for GRV. More...
 

Detailed Description

Class for configuring desktop file viewing. The document is copied to the client and opened their with the default application associated with the file suffix. This feature requires a DVM installation to run the utility application "gviewdoc.42x" and the desktop client GDC.

Constructor & Destructor Documentation

FourJs.Report.Runtime.FileViewer.FileViewer ( String  clientHost,
int?  clientPort 
)

Creates a FileViewer object. The default values for the parameters clientHost and clientPort are parsed from the environment variables FGLSERVER or GRWSERVER in this order. The variables are expected to follow the syntax "host:port" (same syntax as the DISPLAY variable of X Windows). If neither of them are set the default value "localhost:6400" is used.

Parameters
clientHostthe client name running GDC.
clientPortthe client port running GDC.
FourJs.Report.Runtime.FileViewer.FileViewer ( )

Creates a FileViewer object. This is a convenience constructor for FileViewer(null, null).

FileViewer(String, String)

Property Documentation

String FourJs.Report.Runtime.FileViewer.clientHost
getset

Sets the host name of the remote viewer application. The default value is parsed from the environment variables FGLSERVER or GRWSERVER in this order. The variables are expected to follow the syntax "host:port" (same syntax as the DISPLAY variable of X Windows). If neither of them are set the default value "localhost" is used.

clientPort

int FourJs.Report.Runtime.FileViewer.clientPort
getset

Sets the port number at which the viewer application is listening. The value is expected to be a unsigned 16 bit value. The default value is parsed from the environment variables FGLSERVER or GRWSERVER in this order. if The variables are expected to follow the syntax "host:port" (same syntax as the DISPLAY variable of X Windows). If neither of them are set the default value 6400 is used for GDC and 6401 is used for GRV.

clientHost

Exceptions
ArgumentOutOfRangeExceptionif the port isn't an unsigned 16 bit value.