Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dinopolis.gpstool.alarm.* (8)org.dinopolis.gpstool.event.* (4)
org.dinopolis.gpstool.gpsinput.* (66)org.dinopolis.gpstool.gui.* (47)
org.dinopolis.gpstool.plugin.* (55)org.dinopolis.gpstool.projection.* (1)
org.dinopolis.gpstool.track.* (10)org.dinopolis.gpstool.util.* (20)

org.dinopolis.gpstool: Javadoc index of package org.dinopolis.gpstool.


Package Samples:

org.dinopolis.gpstool.projection: Holds classes for handling data from a gps device (serial, network, file, etc.) and provides some applications to work with this data.  
org.dinopolis.gpstool.plugin.memorymonitor
org.dinopolis.gpstool.plugin.writesvgimage
org.dinopolis.gpstool.gui.layer.location
org.dinopolis.gpstool.gui.layer
org.dinopolis.gpstool.gui.util
org.dinopolis.gpstool.gui
org.dinopolis.gpstool.alarm
org.dinopolis.gpstool.gpsinput.garmin
org.dinopolis.gpstool.gpsinput.nmea
org.dinopolis.gpstool.gpsinput.sirf
org.dinopolis.gpstool.gpsinput
org.dinopolis.gpstool.util.angle
org.dinopolis.gpstool.util.geoscreen
org.dinopolis.gpstool.util
org.dinopolis.gpstool.event
org.dinopolis.gpstool.track
org.dinopolis.gpstool.plugin
org.dinopolis.gpstool.plugin.downloadmousemode
org.dinopolis.gpstool.plugin.trackchart

Classes:

VisibleImage: The algorithm implemented in this class searches the smallest map to show, paint it, and find the rectangles on the screen that are not covered by this map. For the remaining empty rectangles, the algorithm is repeated until the screen is filled, or no more maps are available. The following shows, how a map may be location on a given viewport: viewport_xmin viewport_xmax | | ..................... -viewport_ymin . . . ######## . -image_ymin . ######## . . ######## . . ######## . -image_ymax . . ..................... -viewport_ymax | | | image_xmax image_xmin figure 01: figure 02: ..................... ...
AngleFormat: Parse and format angle according a specified pattern. The pattern is a string containing any characters, with a special meaning for the following characters: D   The integer part of degrees d   The fractional part of degrees M   The integer part of minutes m   The fractional part of minutes S   The integer part of seconds s   The fractional part of seconds .   The decimal separator Upper-case letters D , M and S are for the integer parts of degrees, minutes and seconds respectively. They must appear in this order (e.g. " M'D " is illegal because "M" and "S" are inverted; " D?S " is illegal too ...
LocationMarkerFilter: This class is used as a filter for the location markers. The getLocationMarker method of LocationMarkerSource objects accept this kind of filters to choose the LocationMarkers. The key is a uniquely identifier of the different filterable properties (e.g. category, name, creation date, ...), whereas the operator indicates the wanted selection (equals, not equals, greater than, ...). The objects to match the given key with the given operation can be set by the get/setValues method. So if one wants to create a filter that filters entries of a given set of categories (e.g. cat.equals("abc") || cat.equals("xyz"), ...
GPSDataProcessor: All classes implementing this interface are interpreting data from a GPSDevice (serial gps-receivier, file containing gps data, ...) and provide this information in a uniform way. So an NMEA-processor interprets NMEA sentences, while a Garmin-Processor understands the garmin protocol. Other classes may register as a GPSDataListener and receive gps events. The following events are supported (if provided by the gps device): LOCATION : the value is a GPSPosition object HEADING : the value is a Float SPEED : the value is a Float and is in kilometers per hour NUMBER_SATELLITES : the value is a Integer ...
BasicLayer: BasicLayer provide a layer in the application to display geographical data. This means they are informed about any changes of the projection (zoom in, out, move, etc.) and have to react accordingly. Usually this reaction is to recalculate the data (calculate the screen coordinates from the geographical (WGS84) coordinates). This task is done by using the forward(...) methods of the projection passed in the projectionChanged() method. This calculation should be done in a separate task, so the JComponent.paintComponent(java.awt.Graphics) > JComponent.paintComponent(java.awt.Graphics) 55 method terminates ...
GarminPVTD800: This class handles PVT-information received from GPS-devices. It stores the following values: alt - altitude above wgs84-ellipsoid [m] epe - estimated position error 2sigma [m] eph - estimated position error horizontal only [m] epv - estimated position error vertical only [m] fix - type of position fix (0:unusable, 1:invalid, 2:2D, 3:3D, 4:2D-differential, 5:3D-differential) tow - time of week [s]: number of seconds since the beginning of the current week lat - latitude [degrees]: reported in rad, has to be converted to degrees lon - longitude [degreees]: reported in rad, has to be converted to ...
FlatProjection: Implements the Flat projection for use of mapblast and expedia maps. The algorithms are mostly copied from Fritz Ganter's gpsdrive application. (http://gpsdrive.kraftvoll.at). As this class extends an openmap base projection, the usage might not be clear. The main methods are forward and inverse . The forward method forwards latitude/longitude to screen coordinates, the inverse method the other way round. Usage: java.awt.Point forward(float latitude, float longitude) java.awt.Point forward(float latitude, float longitude, java.awt.point reuse) java.awt.Point forward(com.bbn.openmap.LatLonPoint ...
DownloadMouseModeLayer: This class provides a plugin that allows the user to download maps from servers from the internet (mapblast, expedia, etc.). It provides a org.dinopolis.gpstool.gui.MouseMode and draws some things in a layer. Therefore it is a LayerPlugin. The following describes the collaboration between the different classes used (Layer, MouseMode, Frame): the mouse mode tells the layer about mouse clicks and mouse drags. The layer calculates the geo coordinates of the mouse clicks and sets them into the frame. Whenever the user changes anything in the frame (scale, coordinates, etc.), the preview rectangles ...
GuiPlugin: This interface is used for all plugins that want to provide any kind of gui-interface for the application. The plugins may provide menu items that are placed into a sub menu (in the "plugins" menu) or if they provide a larger quantity of actions, the plugin may provide actions for a main menu item. The plugins are informed about start and stop, so they may initialize and free their resources on startup and on closing of the application. If the plugin wants to draw anything on the map, it may return a layer in the getLayer() 55 method.
ExtensionFileFilter: A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about. Extensions are of the type ".foo", which is typically found on Windows and Unix boxes, but not on Macinthosh. Case is ignored. Example - create a new filter that filerts out all files but gif and jpg image files: JFileChooser chooser = new JFileChooser(); ExampleFileFilter filter = new ExampleFileFilter( new String{"gif", "jpg"}, "JPEG & GIF Images") chooser.addChoosableFileFilter(filter); chooser.showOpenDialog(this);
XMath: Simple mathematical functions. Some of these functions will be removed if JavaSoft provide a standard implementation or fix some issues in Bug Parade: Implement log10 (base 10 logarithm) implement pow10 (power of 10) with optimization for integer powers /li> Math.acos is very slow
HttpRequester: The HttpRequester is able perform a HTTP get request and set any HTTP-Headers wanted. The response headers and the content is read and stored in a map that can be used afterwards. This class is not so powerful as the java.net.URLConnection but does not hide anything from the programmer. It respects the proxy settings in the system properties. This class is especially usefull if you want to request more than one url from the same server. Do not forget to set "Keep-Alive" in the http header!
GPSDataChangeEvent: A "GPSDataChange" event gets delivered whenever GPS data changes. A GPSDataChangeEvent object is sent as an argument to the GPSDataChangeListener. Normally GPSDataChangeEvents are accompanied by the name and the old and new value of the changed gps data. If the new value is a primitive type (such as int or boolean) it must be wrapped as the corresponding java.lang.Object type (such as Integer or Boolean). Null values may be provided for the old and the new values if their true values are not known.
SatelliteActivity: A component that shows the activity of satellites (from a gps device). The satellite levels are situated in columns and rows. If no satellite infos are set for a certain period of time, the loss of the gps signal is signaled. This is not the same as if satellite infos are set that indicate no valid signal could be found (the latter is the case if the gps device cannot see any satellites, the former is the case if the gps device is switched of and therefore no information at all is sent.)
MouseModePlugin: This interface is used for all plugins that want to provide any mouse handling for the application. If the mouse mode wants to draw anything on the map, it may return a layer in the getLayer() 55 method. The plugins are informed about start and stop, so they may initialize and free their resources on startup and on closing of the application.
AngleJTextField: AngleJTextField is a JTextField that uses an AngleFormat to validate the input. It may use different format strings to validate the input of the user. In case the decimal separator of the used locale is a comma, the validity is also checked with the dot replaced by the comma. So in case of comma as a decimal separator, "123.34" would also be accepted. The default angle formats are "DD°MM'SS", DD°MM'SS, DD.ddddd°, DD°MM.mmmm'.
GPSGeneralDataProcessor: All classes extending this class are interpreting data from a GPSDevice (serial gps-receivier, file containing gps data, ...) and provide this information in a uniform way. So an NMEA-processor interprets NMEA sentences, while a Garmin-Processor understands the garmin protocol. This abstract class adds some basic functionality all GSPDataProcessors might use.
TrackManagerImpl: Manages tracks and provides these to all modules. Internally, all org.dinopolis.gpstool.gpsinput.GPSTrack objects that are added or downloaded are converted to org.dinopolis.gpstool.track.Track objects, so they may be projected and printed.
AbstractLocationMarkerSource: This class holds the location markers in memory. Extending classes provide the persistent backup for the data. Extending classes may read (and optionally write) their location marker from some file (or any other place). The extending class must only read the data from the file and the abstract super class does the rest (store it in a quadtree, ...).
ReadGPSMapTrackPlugin: This plugin reads track data from a stream (ususally from a file) and provides one or more tracks (lists of Trackpoint objects). This plugin reads the tracks GPSMap saves itself. That's why it is not a real plugin, but always available.
GeoScreen: This interface represents a geographical location (point) and its projection to screen coordinates. One can set either the geographical coordinates (latitude, longitude) and use the forward method to calculate the screen coordinates or set the screen coordinates and call the inverse method to calculate the geographical coordinates.
GeoScreenPoint: This class represents a geographical location (point) and its projection to screen coordinates. One can set either the geographical coordinates (latitude, longitude) and use the forward method to calculate the screen coordinates or set the screen coordinates and call the inverse method to calculate the geographical coordinates.
NmeaDataTextFrame: This class can be used as a viewer for raw gps data. It is a frame that holds a textarea that shows all incoming raw gps data events from the given gps data processor. It has an "clear" and a "close" button, nothing else (TODO: save the data to a file, give a message if no data is received within a couple of seconds, ...)
GarminRoute: At the moment, the same as the GPSRouteImpl. The only exception is that it accepts GarminWaypoints as well and converts them to GPSWaypoints by using the GarminWaypointAdapter .

Home | Contact Us | Privacy Policy | Terms of Service