|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.util.Global
public class Global
Global is a "static" class for general global-scope flags, such as DEBUG
Field Summary | |
---|---|
static int |
AppType
application type. so far 0=stand-alone, other types are set by wrappers. |
static int |
AT_applet
AppType contstant: applet (set by applet wrapper) |
static int |
AT_standalone
AppType contstant: stand-alone application |
static int |
DEBUG
global debug level |
static boolean |
forceAntiAliasing
if set to true all graphic routines should set the anti-aliasing hint |
static boolean |
informLoader
global loader verbosity flag |
static boolean |
printWarnings
global warning flag |
static int |
PROFILE
global profiling level |
static boolean |
useAquaBg
use Aqua-style background parameter equivalent: --with-aqua |
Constructor Summary | |
---|---|
Global()
|
Method Summary | |
---|---|
static java.lang.String[] |
parseArguments(java.lang.String[] argv)
parse command line arguments and set global flags correspondingly |
static int |
runtimeWarning(java.lang.String w)
display run-time warning (if --warn flag is enabled) |
static void |
setDebugLevel(int level)
|
static void |
setProfilingLevel(int level)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int DEBUG
public static int PROFILE
public static boolean printWarnings
public static boolean informLoader
public static boolean useAquaBg
public static boolean forceAntiAliasing
true
all graphic routines should set the anti-aliasing hint
public static final int AT_standalone
public static final int AT_applet
public static int AppType
Constructor Detail |
---|
public Global()
Method Detail |
---|
public static int runtimeWarning(java.lang.String w)
w
- warning to display
public static java.lang.String[] parseArguments(java.lang.String[] argv)
argv
- arguments as supplied by the main() method
public static void setDebugLevel(int level)
public static void setProfilingLevel(int level)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |