JEphem site
jephem API
Build classes
A B C D E F G H I J L M N P R S T U V X Z

A

add(Vector2, Vector2) - Static method in class tig.maths.Vector2
Returns a Vector2 c such as c = a + b.
add(Vector3, Vector3) - Static method in class tig.maths.Vector3
Returns a Vector3 c such as c = a + b.
addZero(int) - Static method in class tig.Formats
Formats a integer to a 2 character long String.
ARCSEC_TO_RAD - Static variable in class tig.maths.Maths
Constant to convert arc seconds to radians, whose value is p / (180 * 3600).
atan3(double, double) - Static method in class tig.maths.Maths
Computation of arcTangent, giving a result in [0, 2*p[.

B

BLANK - Static variable in interface tig.GeneralConstants
Useful constant designating the empty String.
BrowserControl - class tig.BrowserControl.
A simple, static class to display a URL in the system browser.
BrowserControl() - Constructor for class tig.BrowserControl
 

C

calcDecDay(int, int, int, int) - Static method in class tig.Dates
Returns the decimal part of the day.
contains(int[], int) - Static method in class tig.Integers
Indicates if 'value' is contained in 'intArray'.
copyFrom(int[]) - Static method in class tig.Integers
Returns an array of int which is a copy of the array passed in parameter.

D

DateFormatException - exception tig.DateFormatException.
Exception to throw if a date is not correctly formatted
DateFormatException() - Constructor for class tig.DateFormatException
 
DateFormatException(String) - Constructor for class tig.DateFormatException
 
Dates - class tig.Dates.
Class containing utility static methods for date manipulation.
Dates() - Constructor for class tig.Dates
 
dateToJd(int[]) - Static method in class tig.Dates
Convenient method equivalent to Dates.dateToJd(int, int, int, int, int, int).
dateToJd(int, int, int, int, int, int) - Static method in class tig.Dates
Calculates the number of julian days elapsed since jan 0.5 4712 BC, from a date and an hour.
Debug - class tig.Debug.
Contains methods to debug and print exceptions.
Debug() - Constructor for class tig.Debug
 
DEG - Static variable in class tig.Formats
 
dirToTree(File, DefaultMutableTreeNode) - Static method in class tig.Files
Converts a file hierarchy into a tree.
dirToTree(File, DefaultMutableTreeNode, String) - Static method in class tig.Files
Converts a file hierarchy into a tree ; only files of a given type are put in the output tree.
displayURL(String) - Static method in class tig.BrowserControl
Display a file in the system browser.
doClone(Vector3) - Static method in class tig.maths.Vector3
Returns a copy of a Vector3.
doubleArrayToString(double[]) - Static method in class tig.Strings
Converts a double[] to a String.
doubleToDMS(double) - Static method in class tig.Formats
Expresses a number in format "DMS" (degrees, minuts, seconds).

E

Exceptions - class tig.Exceptions.
Provides Exception utilities.
Exceptions() - Constructor for class tig.Exceptions
Useless, as abstract class

F

fileCopy(String, String) - Static method in class tig.Files
Copies file identified by 'source' to 'dest'.
Files - class tig.Files.
Contains miscelaneous utility methods dealing with files and directories.
Files() - Constructor for class tig.Files
 
findIndex(String[], String) - Static method in class tig.Strings
Finds the position of a String in an array (a String[]).
formatDate(int[], String) - Static method in class tig.Dates
Formats a date into a displayable String.
formatDate(String, String) - Static method in class tig.Dates
Facility method, calling parseDate() and Dates.formatDate(int[], String).
formatHour(int[], String) - Static method in class tig.Dates
Formats an hour into a displayable String.
formatHour(String, String) - Static method in class tig.Dates
Facility method, calling parseHour() and Dates.formatHour(int[], String).
formatHourDate(int[], String) - Static method in class tig.Dates
Formats a date and an hour into a displayable String.
formatHourDate(String, String, String) - Static method in class tig.Dates
Facility method, calling parseHourDate() and Dates.formatHourDate(int[], String).
Formats - class tig.Formats.
Class containing constants and static methods for formatting outputs.
Formats() - Constructor for class tig.Formats
 
FS - Static variable in interface tig.GeneralConstants
Designates System.getProperty("file.separator").

G

GeneralConstants - interface tig.GeneralConstants.
Contains general constants useful for java programs ; the constants found here are not related to any particular API.
getBooleanProperty(String) - Method in class tig.TigProperties
Returns a property of type boolean.
getBooleanProperty(String, boolean) - Method in class tig.TigProperties
Returns a property of type boolean.
getData() - Method in class tig.TigBundle
Returns the Properties used to internally store the data.
getDoubleProperty(String) - Method in class tig.TigProperties
Returns a property of type double.
getDoubleProperty(String, double) - Method in class tig.TigProperties
Returns a property of type double.
getExtension(File) - Static method in class tig.Files
Returns the extension of a string (characters located after the last point).
getExtension(String) - Static method in class tig.Files
Returns the extension of a string (characters located after the last point).
getIdentityMatrix() - Static method in class tig.maths.Matrix3
Returns the identity matrix.
getIntArrayProperty(String) - Method in class tig.TigProperties
Returns a property of type int[].
getIntArrayProperty(String, int[]) - Method in class tig.TigProperties
Returns a property of type int[].
getIntConstant(String, String) - Static method in class tig.TigProperties
Convenient method to get a static final int field of a class, using reflection.
getIntProperty(String) - Method in class tig.TigProperties
Returns a property of type int.
getIntProperty(String, int) - Method in class tig.TigProperties
Returns a property of type int.
getInverse(Matrix3) - Static method in class tig.maths.Matrix3
Returns the inverse matrix of M.
getRotX(double) - Static method in class tig.maths.Matrix3
Returns a matrix that can be used as a rotation matrix around the X axis.
getRotY(double) - Static method in class tig.maths.Matrix3
Returns a matrix that can be used as a rotation matrix around the Y axis.
getRotZ(double) - Static method in class tig.maths.Matrix3
Returns a matrix that can be used as a rotation matrix around the Z axis.
getString(String) - Method in class tig.TigBundle
Returns the value corresponding to parameter 'key' (see details of method).

H

HourFormatException - exception tig.HourFormatException.
Exception to throw if an hour is not correctly formatted
HourFormatException() - Constructor for class tig.HourFormatException
 
HourFormatException(String) - Constructor for class tig.HourFormatException
 

I

intArrayToString(int[]) - Static method in class tig.Strings
Converts a int[] to a String.
Integers - class tig.Integers.
Class containing utility static methods for int manipulation.
Integers() - Constructor for class tig.Integers
 
isLeapYear(int) - Static method in class tig.Dates
Tests if y corresponds to a leap year.
isWindowsPlatform() - Static method in class tig.BrowserControl
Try to determine whether this application is running under Windows or some other platform by examing the "os.name" property.

J

jdToDate(double) - Static method in class tig.Dates
Computes the date and hour corresponding to a julian day (nb of days elapsed since jan 0.5 4712 BC).
JTextField2 - class tig.swing.JTextField2.
When this text field gets the focus, its text is selected.
JTextField2() - Constructor for class tig.swing.JTextField2
 
JTextField2(int) - Constructor for class tig.swing.JTextField2
 
JTextField2(String) - Constructor for class tig.swing.JTextField2
 
JTextField2(String, int) - Constructor for class tig.swing.JTextField2
 

L

LAF_KUNSTSTOFF - Static variable in class tig.swing.SwingUtils
Constant to designate the Kunststoff look and feel (coming from http://www.incors.org/).
LAF_MACINTOSH - Static variable in class tig.swing.SwingUtils
Constant to designate the Macintosh look and feel.
LAF_METAL - Static variable in class tig.swing.SwingUtils
Constant to designate the Metal (cross platform) look and feel.
LAF_MOTIF - Static variable in class tig.swing.SwingUtils
Constant to designate the Motif look and feel.
LAF_SYSTEM - Static variable in class tig.swing.SwingUtils
Constant to designate the default look and feel of the system.
LAF_WINDOWS - Static variable in class tig.swing.SwingUtils
Constant to designate the Windows look and feel.
ln10 - Static variable in class tig.maths.Maths
Constant whose value is ln(10).
log10(double) - Static method in class tig.maths.Maths
Computes the 10 based logarithm of a number.
LS - Static variable in interface tig.GeneralConstants
Designates System.getProperty("line.separator").

M

m00 - Variable in class tig.maths.Matrix3
Term of the matrix
m00 - Variable in class tig.maths.Matrix2
Term of the matrix
m01 - Variable in class tig.maths.Matrix3
Term of the matrix
m01 - Variable in class tig.maths.Matrix2
Term of the matrix
m02 - Variable in class tig.maths.Matrix3
Term of the matrix
m10 - Variable in class tig.maths.Matrix3
Term of the matrix
m10 - Variable in class tig.maths.Matrix2
Term of the matrix
m11 - Variable in class tig.maths.Matrix3
Term of the matrix
m11 - Variable in class tig.maths.Matrix2
Term of the matrix
m12 - Variable in class tig.maths.Matrix3
Term of the matrix
m20 - Variable in class tig.maths.Matrix3
Term of the matrix
m21 - Variable in class tig.maths.Matrix3
Term of the matrix
m22 - Variable in class tig.maths.Matrix3
Term of the matrix
main(String[]) - Static method in class tig.TigBundle
 
main(String[]) - Static method in class tig.BrowserControl
Simple example for standalone use.
Maths - class tig.maths.Maths.
Abstract class containing mathematical constants and static methods.
Maths() - Constructor for class tig.maths.Maths
 
Matrix2 - class tig.maths.Matrix2.
Simple representation of a 2 x 2 matrix containing double precision numbers.
Matrix2(double, double, double, double) - Constructor for class tig.maths.Matrix2
Unique constructor.
Matrix3 - class tig.maths.Matrix3.
Simple representation of a 3 x 3 matrix based on doubles.
Matrix3(double, double, double, double, double, double, double, double, double) - Constructor for class tig.maths.Matrix3
Unique constructor.
max(double[]) - Static method in class tig.maths.Maths
Returns the greatest double of an array.
max(int[]) - Static method in class tig.maths.Maths
Returns the greatest integer of an array.
min(double[]) - Static method in class tig.maths.Maths
Returns the smallest double of an array.
MINUS - Static variable in class tig.Formats
 
MINUT - Static variable in class tig.Formats
 
Misc - class tig.Misc.
Contains miscelaneous utility methods not having yet a place in an other class.
Misc() - Constructor for class tig.Misc
 
mod360(double) - Static method in class tig.maths.Maths
Reduction of a number in the interval [0, 360].
mod360(int) - Static method in class tig.maths.Maths
Reduction of a number in the interval [0, 360], for an integer.
modX(double, double) - Static method in class tig.maths.Maths
Reduction of a number in the interval [0, limit].
mul(double, Vector2) - Static method in class tig.maths.Vector2
Multiplication of a vector by a scalar ; returns a vector b such as b = k a.
mul(double, Vector3) - Static method in class tig.maths.Vector3
Multiplication of a vector by a scalar ; returns a vector b such as b = k a.
mul(Matrix2, Vector2) - Static method in class tig.maths.Vector2
Multiplication of a vector by a matrix ; returns a vector b such as b = M a.
mul(Matrix3, Matrix3) - Static method in class tig.maths.Matrix3
Returns a matrix M such as M = M1 * M2.
mul(Matrix3, Vector3) - Static method in class tig.maths.Vector3
Multiplication of a vector by a matrix ; returns a vector b such as b = M a.

N

negate(Vector2) - Static method in class tig.maths.Vector2
Returns a Vector2 b such as b = -a.
negate(Vector3) - Static method in class tig.maths.Vector3
Returns a Vector3 b such as b = -a.
NO_SPECIF - Static variable in interface tig.GeneralConstants
Useful constant to initialize integers (value = -1).
norm(Vector2) - Static method in class tig.maths.Vector2
Returns the norm of the vector passed in parameter.
norm(Vector3) - Static method in class tig.maths.Vector3
Returns the norm of the vector passed in parameter.
now() - Static method in class tig.Dates
Returns an array containing date fields (in this order : year, month, day, hour, minuts, seconds) initialized to the current date.

P

parseDate(String, String) - Static method in class tig.Dates
Transforms a date representated as a String to an array of integers containing the year, month, day.
parseDouble(String) - Static method in class tig.Strings
Equivalent to java.lang.Double.parseDouble(String), but more permissive.
parseHour(String, String) - Static method in class tig.Dates
Transforms an hour representated as a String to an array of integers containing (in this order : hours, minutes, seconds.
parseHourDate(String, String, String) - Static method in class tig.Dates
Transforms a date and an hour representated as Strings to an array of integers containing (in this order : years, months, days, hours, minutes, seconds.
printShortTrace(Exception) - Static method in class tig.Exceptions
Useless, as abstract class
processFocusEvent(FocusEvent) - Method in class tig.swing.JTextField2
 

R

RAD_TO_ARCSEC - Static variable in class tig.maths.Maths
Constant to convert radians to arc seconds, whose value is 180 * 3600 / p.
replace(String, String, String) - Static method in class tig.Strings
All occurences of 's1' contained in 'theString' are replaced by s2.

S

SECOND - Static variable in class tig.Formats
 
setBooleanProperty(String, boolean) - Method in class tig.TigProperties
Sets a property of type boolean.
setDoubleProperty(String, double) - Method in class tig.TigProperties
Sets a property of type double.
setIntArrayProperty(String, int[]) - Method in class tig.TigProperties
Sets a property of type int[].
setIntProperty(String, int) - Method in class tig.TigProperties
Sets a property of type int.
setLookAndFeel(int) - Static method in class tig.swing.SwingUtils
Sets the look and feel.
SPACE - Static variable in interface tig.GeneralConstants
Constant designating a String containing one space.
STACK_TRACE - Static variable in class tig.Debug
Constant to indicate that the way to trace exceptions is equivalent to printStackTrace().
Strings - class tig.Strings.
Class containing utility static methods for String manipulation.
Strings() - Constructor for class tig.Strings
 
stringToDoubleArray(String) - Static method in class tig.Strings
Converts a String to an double[] ; in the String, the doubles must be separated by comas (',').
stringToIntArray(String) - Static method in class tig.Strings
Converts a String to an int[] ; in the String, the integers must be separated by comas (',').
stringToStringArray(String) - Static method in class tig.Strings
Convenient method to call Strings.stringToStringArray(String, char), using a coma (',') as separator.
stringToStringArray(String, char) - Static method in class tig.Strings
Transforms a String in an array of Strings.
sub(Vector2, Vector2) - Static method in class tig.maths.Vector2
Returns a Vector2 c such as c = a - b.
sub(Vector3, Vector3) - Static method in class tig.maths.Vector3
Returns a Vector3 c such as c = a - b.
SwingUtils - class tig.swing.SwingUtils.
Class containing useful static methods and constants for Swing development.
SwingUtils() - Constructor for class tig.swing.SwingUtils
 

T

tig - package tig
Contains general utility classes.
tig.maths - package tig.maths
Contains useful maths classes.
tig.swing - package tig.swing
Contains swing components and utilities.
TigBundle - class tig.TigBundle.
This class can be used instead of ResourceBundle.
TigBundle(Properties, Locale) - Constructor for class tig.TigBundle
Creates an bundle from a Propetries.
TigBundle(String, Locale) - Constructor for class tig.TigBundle
Constructor to use in general.
TigException - exception tig.TigException.
General Exception thrown by some methods package tig, meaning that an internal error has occured.
TigException(String) - Constructor for class tig.TigException
 
TigProperties - class tig.TigProperties.
Superclass for Preferences classes.
TigProperties() - Constructor for class tig.TigProperties
 
toString() - Method in class tig.maths.Vector3
Returns a String representation of this Vector.
toString() - Method in class tig.maths.Vector2
Returns a String representation of this Vector.
trace(Exception) - Static method in class tig.Debug
Traces an exception in a text area of an autonom frame.
traceError(Exception) - Static method in class tig.Debug
Traces an exception in a text area of an autonom frame.
TWOPI - Static variable in class tig.maths.Maths
Constant whose value is 2 x p.

U

unzipFile(String, String) - Static method in class tig.Zip
Unzips the file to the destination directory.

V

Vector2 - class tig.maths.Vector2.
Simple representation of a vector in a 2D space.
Vector2(double[]) - Constructor for class tig.maths.Vector2
Constructor from an array containing 2 doubles.
Vector2(double, double) - Constructor for class tig.maths.Vector2
Constructor from 2 doubles.
Vector3 - class tig.maths.Vector3.
Simple representation of a vector in a 3D space, based on doubles.
Vector3(double[]) - Constructor for class tig.maths.Vector3
Constructor from an array containing 3 doubles.
Vector3(double, double, double) - Constructor for class tig.maths.Vector3
Constructor from 3 doubles.

X

x0 - Variable in class tig.maths.Vector3
First coordinate of this vector.
x0 - Variable in class tig.maths.Vector2
First coordinate of this vector.
x1 - Variable in class tig.maths.Vector3
Second coordinate of this vector.
x1 - Variable in class tig.maths.Vector2
Second coordinate of this vector.
x2 - Variable in class tig.maths.Vector3
Third coordinate of this vector.

Z

ZERO - Static variable in class tig.Formats
 
Zip - class tig.Zip.
Contains methods used to zip and unzip a set of files.
Zip() - Constructor for class tig.Zip
 
zipFiles(String, String[]) - Static method in class tig.Zip
Zips the input files to a single Zip archive.

A B C D E F G H I J L M N P R S T U V X Z
JEphem site
jephem API
Build classes