|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.cabrillo.tracker.Tracker
public class Tracker
This is the default Tracker application.
| Field Summary | |
|---|---|
protected static java.util.Locale[] |
locales
|
static javax.swing.ImageIcon |
TRACKER_ICON
the tracker icon |
| Constructor Summary | |
|---|---|
Tracker()
Constructs Tracker with a blank tab. |
|
Tracker(Video video)
Constructs Tracker with a video. |
|
| Method Summary | |
|---|---|
protected static void |
addRecent(java.lang.String filename,
boolean atEnd)
Adds a path to the list of recent files. |
protected static boolean |
areEqual(java.util.Set<?> set1,
java.util.Set<?> set2)
Determines if two sets contain the same elements. |
protected static void |
createActions()
Creates the actions. |
protected static java.util.Set<java.lang.String> |
getDefaultConfig()
Gets the default set of configuration properties. |
TFrame |
getFrame()
Gets the frame. |
protected static java.util.Set<java.lang.String> |
getFullConfig()
Gets the full set of configuration properties. |
static Tracker |
getTracker()
Gets the shared Tracker for single-VM use. |
protected static java.awt.Cursor |
getZoomInCursor()
Gets the zoomInCursor. |
protected static java.awt.Cursor |
getZoomOutCursor()
Gets the zoomOutCursor. |
protected boolean |
load(java.lang.String name,
int tab)
Loads the named xml file into the specified tab. |
protected static void |
loadCurrentVersion(boolean ignoreInterval)
|
protected static void |
loadPreferences()
Loads preferences from a preferences file, if any. |
protected static void |
logTime(java.lang.String message)
Logs the current time (to milliseconds) with a message. |
static void |
main(java.lang.String[] args)
Main entry point when used as application. |
protected static void |
relaunch(TFrame frame,
int memorySize,
java.lang.String javaPath)
Attempts to relaunch Tracker with a specified memory size. |
protected static java.lang.String |
savePreferences()
Saves the current preferences. |
protected static void |
setCache(java.lang.String cachePath)
Sets the cache path. |
protected static void |
setDefaultConfig(java.util.Set<java.lang.String> config)
Sets the default set of configuration properties. |
protected static void |
setPreferredLocale(java.lang.String localeName)
Sets the preferred locale. |
protected static void |
setProgress(int progress)
Sets the progress in percent for splash display. |
protected static void |
setRecentSize(int max)
Sets the maximum size of the recent files list. |
protected static void |
splash(java.lang.String message)
Displays a message in the splash screen. |
protected static boolean |
updateResources()
Checks and updates QuickTime and other system resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final javax.swing.ImageIcon TRACKER_ICON
protected static java.util.Locale[] locales
| Constructor Detail |
|---|
public Tracker()
public Tracker(Video video)
video - the video| Method Detail |
|---|
public static Tracker getTracker()
public TFrame getFrame()
protected boolean load(java.lang.String name,
int tab)
name - the name of the xml filetab - the tab number
protected static void createActions()
protected static void relaunch(TFrame frame,
int memorySize,
java.lang.String javaPath)
frame - a TFramememorySize - the desired memory sizeprotected static java.util.Set<java.lang.String> getFullConfig()
protected static java.util.Set<java.lang.String> getDefaultConfig()
protected static void setDefaultConfig(java.util.Set<java.lang.String> config)
config - a set of configuration propertiesprotected static void setPreferredLocale(java.lang.String localeName)
localeName - the name of the localeprotected static void setCache(java.lang.String cachePath)
cachePath - the cache pathprotected static boolean updateResources()
protected static boolean areEqual(java.util.Set<?> set1,
java.util.Set<?> set2)
protected static void loadCurrentVersion(boolean ignoreInterval)
protected static void loadPreferences()
protected static java.lang.String savePreferences()
protected static java.awt.Cursor getZoomInCursor()
protected static java.awt.Cursor getZoomOutCursor()
public static void main(java.lang.String[] args)
args - array of tracker or video file namesprotected static void splash(java.lang.String message)
protected static void setProgress(int progress)
progress - a number from 0 (start) to 100 (done)protected static void logTime(java.lang.String message)
protected static void addRecent(java.lang.String filename,
boolean atEnd)
filename - the absolute path to a recently opened or saved file.protected static void setRecentSize(int max)
max - the desired maximum size.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||