Class sunsoft.jws.visual.rt.base.Global
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.base.Global

java.lang.Object
   |
   +----sunsoft.jws.visual.rt.base.Global

public class Global
extends Object
Globals for runtime area.

Variable Index

 o util
A convenient instance of the Util class, easy access to the utility functions there.

Constructor Index

 o Global()

Method Index

 o getVendor()
Returns the vendor of this runtime package.
 o getVersion()
Returns the version number of this runtime package.
 o isIrix()
Returns true if running on SGI Irix.
 o isMotif()
Returns true if using Motif.
 o isSolaris()
Returns true if running on Solaris.
 o isUnix()
Returns true if running on Unix.
 o isWindows()
Returns true if running on Windows 95 or NT.
 o isWindows95()
Returns true if running on Windows 95.
 o isWindowsNT()
Returns true if running on Windows NT.
 o javaVersion()
Returns the version of Java we are using.
 o newline()
Returns a string that can be used as a newline.
 o newline(StringBuffer)
Appends a newline to buf.

Variables

 o util
  public static Util util
A convenient instance of the Util class, easy access to the utility functions there.

Constructors

 o Global
  public Global()

Methods

 o getVersion
  public static double getVersion()
Returns the version number of this runtime package.
 o getVendor
  public static String getVendor()
Returns the vendor of this runtime package.
 o isWindows
  public static boolean isWindows()
Returns true if running on Windows 95 or NT.
 o isWindows95
  public static boolean isWindows95()
Returns true if running on Windows 95.
 o isWindowsNT
  public static boolean isWindowsNT()
Returns true if running on Windows NT.
 o isSolaris
  public static boolean isSolaris()
Returns true if running on Solaris.
 o isUnix
  public static boolean isUnix()
Returns true if running on Unix.
 o isIrix
  public static boolean isIrix()
Returns true if running on SGI Irix.
 o isMotif
  public static boolean isMotif()
Returns true if using Motif.
 o newline
  public static String newline()
Returns a string that can be used as a newline. This string includes a carriage return if we are running on Windows.
 o newline
  public static void newline(StringBuffer buf)
Appends a newline to buf. This also appends a carriage return if we are running on Windows.
 o javaVersion
  public static double javaVersion()
Returns the version of Java we are using.

All Packages  Class Hierarchy  This Package  Previous  Next  Index