|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nwoods.jgo.JGoGlobal
This class is used to hold information and routines that may be needed throughout the JGo system and/or that need to be constant across views.
In particular, this class maintains the current primary and secondary selection colors, routines to access what version of Java is running, and others.
Method Summary | |
static double |
getJavaVersion()
Return the version of Java under which this program is running. |
static double |
getJGoVersion()
Return the version of JGo in this package. |
static boolean |
isAtLeastJavaVersion(double version)
Return true if this program is running under Java version "version" or greater. |
static boolean |
isAtLeastJGoVersion(double version)
Return true if this program is using JGo version "version" or greater. |
static boolean |
isJavaVersion(double version)
Test whether or not this program is running under exactly this version of Java. |
static boolean |
isJGoVersion(double version)
Test whether or not this program is using a particular version of JGo. |
static void |
TRACE(java.lang.String msg)
This method just prints a line to System.err. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void TRACE(java.lang.String msg)
public static double getJGoVersion()
public static boolean isJGoVersion(double version)
version
- the version
public static boolean isAtLeastJGoVersion(double version)
version
- the minimum version underwhich to run.
public static double getJavaVersion()
public static boolean isJavaVersion(double version)
version
- the minimum version
public static boolean isAtLeastJavaVersion(double version)
version
- the minimum version underwhich to run.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |