japlot.jaxodraw
Class JaxoDraw
- java.lang.Object
-
- japlot.jaxodraw.JaxoDraw
-
public class JaxoDraw extends java.lang.ObjectThe main class of the japlot.jaxodraw program.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringJAVA_CLASSPATHThe current Java class path.static java.lang.StringJAVA_HOMEThe directory where Java is installed on the current machine.static java.lang.StringJAVA_RUNTIME_VERSIONThe current Java runtime version.static java.lang.StringJAVA_VERSIONThe current Java version.static java.lang.StringOS_ARCHThe architecture of the current operating system.static java.lang.StringOS_NAMEThe name of the current operating system.static java.lang.StringOS_VERSIONThe version of the current operating system.static java.lang.StringPREFS_FILENAMEThe file where user-selected preferences will be stored.static java.lang.StringUSER_HOMEThe current user's home directory.static java.lang.StringUSER_NAMEThe current user.static java.lang.StringVERSIONThe current version of japlot.jaxodraw.static java.lang.StringVERSION_NUMBERThe version number of this release of japlot.jaxodraw.static java.lang.StringWEB_SITEThe japlot.jaxodraw web site.
-
Constructor Summary
Constructors Constructor and Description JaxoDraw()JaxoDraw(java.lang.String inputFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(JaObject ob)voidclear()static java.lang.StringgetCurDir()Returns the current working directory.static voidgetPreferences()Checks whether preferences have been saved from an earlier session and if yes, imports them.intgetSizeX()get X sizeintgetSizeY()get Y sizestatic voidmain(java.lang.String[] args)The main method of japlot.jaxodraw: determines system properties, preferences and command line arguments, before bringing up the graphical user interface.static voidsetCurDir(java.lang.String newDir)Sets the current working directory.voidsetRangeX(double min, double max)voidsetRangeY(double min, double max)static voidshutdown(int status)Calls System.exit(status).voidupdate()
-
-
-
Field Detail
-
VERSION_NUMBER
public static final java.lang.String VERSION_NUMBER
The version number of this release of japlot.jaxodraw.- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
The current version of japlot.jaxodraw.- See Also:
- Constant Field Values
-
WEB_SITE
public static final java.lang.String WEB_SITE
The japlot.jaxodraw web site.- See Also:
- Constant Field Values
-
USER_NAME
public static final java.lang.String USER_NAME
The current user.
-
USER_HOME
public static final java.lang.String USER_HOME
The current user's home directory.
-
OS_NAME
public static final java.lang.String OS_NAME
The name of the current operating system.
-
OS_ARCH
public static final java.lang.String OS_ARCH
The architecture of the current operating system.
-
OS_VERSION
public static final java.lang.String OS_VERSION
The version of the current operating system.
-
JAVA_VERSION
public static final java.lang.String JAVA_VERSION
The current Java version.
-
JAVA_RUNTIME_VERSION
public static final java.lang.String JAVA_RUNTIME_VERSION
The current Java runtime version.
-
JAVA_HOME
public static final java.lang.String JAVA_HOME
The directory where Java is installed on the current machine.
-
JAVA_CLASSPATH
public static final java.lang.String JAVA_CLASSPATH
The current Java class path.
-
PREFS_FILENAME
public static final java.lang.String PREFS_FILENAME
The file where user-selected preferences will be stored.- See Also:
- Constant Field Values
-
-
Method Detail
-
add
public void add(JaObject ob)
-
clear
public void clear()
-
update
public void update()
-
main
public static void main(java.lang.String[] args)
The main method of japlot.jaxodraw: determines system properties, preferences and command line arguments, before bringing up the graphical user interface.- Parameters:
args- The array of command line arguments.
-
getPreferences
public static void getPreferences()
Checks whether preferences have been saved from an earlier session and if yes, imports them.
-
getSizeX
public int getSizeX()
get X size
-
getSizeY
public int getSizeY()
get Y size
-
getCurDir
public static java.lang.String getCurDir()
Returns the current working directory.- Returns:
- The current working directory.
-
setCurDir
public static void setCurDir(java.lang.String newDir)
Sets the current working directory.- Parameters:
newDir- The new working directory.
-
shutdown
public static void shutdown(int status)
Calls System.exit(status).- Parameters:
status- The exit status code.
-
setRangeX
public void setRangeX(double min, double max)
-
setRangeY
public void setRangeY(double min, double max)
-
-
DMelt 3.0 © DataMelt by jWork.ORG