|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of OziException in com.oziexplorer |
---|
Methods in com.oziexplorer that return OziException | |
---|---|
protected OziException |
DataFile.newOziException(LineNumberReader in)
Create a new exception containing the current line number in the input file, if possible. |
protected OziException |
DataFile.newOziException(LineNumberReader in,
Throwable e)
Create a new exception containing the current line number in the input file, if possible and an nested exception. |
Methods in com.oziexplorer that throw OziException | |
---|---|
static int |
OziAPI.addMapComment(MapComment comment)
Create a MapComment at the specified Position with the
specified parameters. |
static int |
OziAPI.addMapFeature(MapFeature feature)
Add a MapFeature at the specified position. |
static void |
OziAPI.addTrackPoint(int trackNum,
TrackPoint point)
Add a TrackPoint to a track. |
BNGGridRef |
BNGGridRef.addVector(SpatialVector vector)
Return a new Position which is offset from the current position by the given vector, specified as a SpatialVector . |
GridRef |
GridRef.addVector(SpatialVector vector)
|
LatLon |
LatLon.addVector(SpatialVector vector)
Return a new LatLon which is offset from the current position by the given vector, specified as a SpatialVector . |
abstract Position |
Position.addVector(SpatialVector vector)
Return a new Position which is offset from the current position by the given vector, specified as a SpatialVector . |
UTMGridRef |
UTMGridRef.addVector(SpatialVector vector)
Return a new Position which is offset from the current position by the given vector, specified as a SpatialVector . |
static int |
OziAPI.addWaypoint(Waypoint waypoint)
Add a Waypoint to the map. |
static void |
OziAPI.centerMapAtPosition(Position position)
Center map at position. |
static void |
OziAPI.centerMapAtPositionWithMark(Position position)
Center map at position, with mark. |
static void |
OziAPI.clearAllTracks()
Clear all tracks from the map. |
static void |
OziAPI.clearEvents()
Clear all events from the map. |
static void |
OziAPI.clearMapComments()
Clear all MapComment s from the map. |
static void |
OziAPI.clearMapFeatures()
Clear all MapFeature s. |
static void |
OziAPI.clearPoints()
Clear all points from the map. |
static void |
OziAPI.clearRoutes()
Clear all routes from the map. |
static void |
OziAPI.clearTrack(int trackNum)
Clear the specified track number from the map. |
static void |
OziAPI.clearWaypoints()
Clear all Waypoint from the map. |
static void |
OziAPI.closeProgram()
Close OziExplorer. |
static Position |
OziAPI.convertPositionToDatum(Position fromPosition,
String toDatum)
Convert between map datums. |
static GridRef |
OziAPI.convertPositionToGridRef(Position fromPosition,
Grid toGrid,
String toDatum,
UserGridDef userGrid)
Convert between a Position and a GridRef. |
static LatLon |
OziAPI.convertPositionToLatLon(Position fromPosition,
String toDatum)
Convert between a grid reference and lattitude/longitude. |
static void |
OziAPI.deleteMapComment(int num)
Delete a MapComment by number. |
static void |
OziAPI.deleteMapFeature(int number)
Delete a MapFeature . |
static void |
OziAPI.deleteWaypoint(int number)
Delete a Waypoint by number. |
static void |
OziAPI.deleteWaypoint(String name)
Delete a Waypoint by name. |
static void |
OziAPI.deleteWaypoint(Waypoint waypoint)
Delete the given Waypoint . |
void |
WaypointFile.display()
Display the waypoints on the map. |
void |
TrackFile.display(int trackNum)
Display the track log in the specified track number. |
static String |
OziAPI.findBestMap(Position position,
boolean subFolders,
String mapPath)
Find best map for position. |
static void |
OziAPI.findMapAtPosition(Position position)
Find map at position. |
static boolean |
OziAPI.findOzi()
Check if OziExplorer is running. |
static String |
OziAPI.getApiVersion()
Retrieve the OziAPI version number. |
static Elevation |
OziAPI.getElevation(Position position)
Get the elevation at the given the position. |
static String |
OziAPI.getExePath()
Retrieve the path of the OziExplorer executable (oziexp.exe). |
static String |
OziAPI.getMapDatum()
Get the datum of the loaded map. |
static String |
OziAPI.getMapFilePath()
Get the map file path setting in OziExplorer. |
static String |
OziAPI.getOziVersion()
Retrieve the OziExplorer version number. |
static XY |
OziAPI.getPixelXY(Position position)
Return the screen (x, y) coordinate representing the position. |
static int |
OziAPI.getWaypointNumberFromName(String name)
Get the Waypoint number given the waypoint name. |
static NavigationData |
OziAPI.GPSToNavigationWaypoint()
From the current GPS position return the name, description, distance and bearing to the Waypoint being navigated to. |
static void |
OziAPI.hideAllTracks()
Hide all tracks on the map. |
static void |
OziAPI.hideTrack(int trackNum)
Hide a track on the map. |
static TrackFill |
TrackFill.intToEnum(int value)
Convert the integers used by OziAPI to identify track fill types
to the enumeration type. |
static TrackType |
TrackType.intToEnum(int value)
Convert the integers used by OziAPI to identify track types to
the enumeration type. |
static boolean |
OziAPI.isPositionOnMap(Position position)
Check if position on map. |
static void |
OziAPI.loadMap(String mapName)
Load a map file. |
static void |
OziAPI.loadPointFile(int pointSetNum,
String fileName)
Load a point file. |
static void |
OziAPI.loadRouteFile(String fileName)
Load a route file. |
static void |
OziAPI.loadTrackFile(int trackNum,
String fileName)
Load a track file. |
static void |
OziAPI.loadWaypointFile(String fileName)
Load a waypoint file. |
static void |
OziAPI.mapDoubleClickOff()
Disable map double-clicks. |
static void |
OziAPI.mapDoubleClickOn(MapClickCallback callback)
Enable map double-clicks. |
static void |
OziAPI.mapSingleClickOff()
Disable map single-clicks. |
static void |
OziAPI.mapSingleClickOn(MapClickCallback callback)
Enable map single-clicks. |
static void |
OziAPI.objectClickOff()
Disable map object clicks. |
static void |
OziAPI.objectClickOn(ObjectClickCallback callback)
Enable map object clicks. |
static void |
OziAPI.oedometer1Down()
Set oedometer 1 to decrement. |
static void |
OziAPI.oedometer1Off()
Disable oedometer 1. |
static void |
OziAPI.oedometer1On(OedometerCallback callback)
Enable oedometer 1. |
static void |
OziAPI.oedometer1Reset()
Reset oedometer 1 to zero. |
static void |
OziAPI.oedometer1Set(double distance)
Set oedometer 1 to a specific distance, in metres. |
static void |
OziAPI.oedometer1Up()
Set oedometer 1 to increment. |
static void |
OziAPI.oedometer2Down()
Set oedometer 2 to decrement. |
static void |
OziAPI.oedometer2Off()
Disable oedometer 2. |
static void |
OziAPI.oedometer2On(OedometerCallback callback)
Enable oedometer 2. |
static void |
OziAPI.oedometer2Reset()
Reset oedometer 2 to zero. |
static void |
OziAPI.oedometer2Set(double distance)
Set oedometer 2 to a specific distance, in metres. |
static void |
OziAPI.oedometer2Up()
Set oedometer 2 to increment. |
void |
EventFile.read(File file)
Read a track log from the specified File . |
void |
PointFile.read(File file)
Read a point file from the specified File . |
void |
RouteFile.read(File file)
Read a route from the specified File . |
void |
TrackFile.read(File file)
Read a track log from the specified File . |
void |
WaypointFile.read(File file)
Read a waypoint list from the specified File . |
void |
EventFile.read(InputStream input)
Read a track log from the specified InputStream . |
void |
PointFile.read(InputStream input)
Read a point file from the specified InputStream . |
void |
RouteFile.read(InputStream input)
Read a route from the specified InputStream . |
void |
TrackFile.read(InputStream input)
Read a track log from the specified InputStream . |
void |
WaypointFile.read(InputStream input)
Read a waypoint list from the specified InputStream . |
void |
EventFile.read(String file)
Read a track log from the specified file. |
void |
PointFile.read(String file)
Read a point file from the specified file. |
void |
RouteFile.read(String file)
Read a route from the specified file. |
void |
TrackFile.read(String file)
Read a track log from the specified file. |
void |
WaypointFile.read(String file)
Read a waypoint list from the specified file. |
static void |
OziAPI.refreshMap()
Redraw the map screen. |
static int |
OziAPI.registerStatus()
Check the OziExplorer registration status. |
static void |
OziAPI.repositionMapComment(int num,
Position position)
Reposition a MapComment . |
static void |
OziAPI.repositionMapFeature(int number,
Position position)
The MapFeature referred to by the specified number is
repositioned to the specified Position . |
static void |
OziAPI.repositionWaypoint(int number,
Position position)
Reposition a Waypoint . |
static void |
OziAPI.repositionWaypoint(Waypoint waypoint,
Position position)
Reposition a Waypoint . |
static void |
OziAPI.saveMap(String mapName)
Save a map file. |
static void |
OziAPI.saveMapFlag(boolean flag)
Toggle map saved flag. |
static void |
OziAPI.saveMapImage(String fileName)
Save map image. |
static void |
OziAPI.savePointFlag(boolean flag)
Toggle points saved flag. |
static void |
OziAPI.saveRouteFlag(boolean flag)
Toggle the routes saved flag. |
static void |
OziAPI.saveTrackFile(int trackNum,
String fileName)
Save a track file. |
static void |
OziAPI.saveTrackFlag(int trackNum,
boolean flag)
Set a track's saved flag. |
static void |
OziAPI.saveWaypointFile(String fileName)
Save a waypoint file. |
static void |
OziAPI.saveWaypointFlag(boolean flag)
Toggle waypoints saved flag. |
static void |
OziAPI.sendMovingMapPositionOff()
Turn off the sending of moving map data. |
static void |
OziAPI.sendMovingMapPositionOn(MovingMapCallback callback)
Turn on moving map callbacks. |
static void |
OziAPI.sendMovingMapString(String NMEAString)
Send NMEA strings to OziExplorer. |
static void |
OziAPI.setTimeout(int timeout)
This sets the API timeout value (in milliseconds). |
static void |
OziAPI.setTrackColor(int trackNum,
int color)
Set a track's color. |
static void |
OziAPI.setTrackDescription(int trackNum,
String description)
Specify the description for a track. |
static void |
OziAPI.setTrackType(int trackNum,
TrackType type)
Specify a track's TrackType . |
static void |
OziAPI.setTrackWidth(int trackNum,
int trackWidth)
Set a track's width in pixels. |
static void |
OziAPI.showAllTracks()
Show all tracks on the map. |
static void |
OziAPI.showTrack(int trackNum)
Turn on the display of the specified track. |
static void |
OziAPI.startMovingMapAPI()
Start moving map in OziExplorer. |
static void |
OziAPI.startMovingMapSerial()
Start moving map in OziExplorer. |
static void |
OziAPI.stopMovingMap()
Turn off the moving map. |
static LatLon |
LatLon.toWGS84(Position position)
Create a LatLon object by converting the given Position to the
WGS84 datum. |
SpatialVector |
GridRef.vectorBetween(Position position)
Return the distance between two positions, in metres. |
SpatialVector |
LatLon.vectorBetween(Position position)
Return the distance between two positions as a SpatialVector . |
abstract SpatialVector |
Position.vectorBetween(Position position)
Return the distance and bearing between this position and another, as a SpatialVector . |
void |
EventFile.write(File file)
Write a track log to the specified File . |
void |
PointFile.write(File file)
Write a point file to the specified File . |
void |
RouteFile.write(File file)
Write a route to the specified File . |
void |
TrackFile.write(File file)
Write a track log to the specified File . |
void |
WaypointFile.write(File file)
Write a waypoint list to the specified File . |
void |
EventFile.write(OutputStream output)
Write a track log to the specified OutputStream . |
void |
PointFile.write(OutputStream output)
Write a point file to the specified OutputStream . |
void |
RouteFile.write(OutputStream output)
Write a route to the specified OutputStream . |
void |
TrackFile.write(OutputStream output)
Write a track log to the specified OutputStream . |
void |
WaypointFile.write(OutputStream output)
Write a waypoint list to the specified OutputStream . |
void |
EventFile.write(String file)
Write a track log to the specified file. |
void |
PointFile.write(String file)
Write a point file to the specified file. |
void |
RouteFile.write(String file)
Write a route to the specified file. |
void |
TrackFile.write(String file)
Write a track log to the specified file. |
void |
WaypointFile.write(String file)
Write a waypoint list to the specified file. |
Constructors in com.oziexplorer that throw OziException | |
---|---|
BNGGridRef(Position pos)
Create a new BNG reference from the specified position. |
|
BNGGridRef(String ref)
Create a new instance of BNGGridRef given a string grid reference. |
|
GridRef()
Default constructor, here so derived classes can provide their own constructors. |
|
GridRef(Position pos)
Create a new grid reference in the default grid and current map datum, converting the given position to the grid and datum. |
|
GridRef(Position position,
Grid newGrid,
String newDatum)
Create a new grid reference for the given grid , converting
the given position to the specified grid and datum. |
|
GridRef(String zone,
double easting,
double northing)
Create a new grid reference in the default grid using the datum of the currently loaded map and the specified zone ,
easting and northing . |
|
LatLon(double lat,
double lon)
Create a LatLon object using the currently loaded map's datum. |
|
LatLon(Position pos)
Create a LatLon by converting the given Position to a LatLon,
using the currently loaded map's datum. |
|
LatLon(Position position,
String newDatum)
Create a latLon object by converting the given Position to the
specified datum. |
|
LatLon(String datum,
double lat,
double lon)
Creates a new LatLon object given the datum, lattitude and longitude. |
|
UserGridDef(String name,
double lat0,
double lon0,
double k0,
double x0,
double y0)
Creates a new UserGridDef for projections other than Lambert Conformal Conic. |
|
UserGridDef(String name,
double lat0,
double lon0,
double lat1,
double lat2,
double k0,
double x0,
double y0)
Create a new UserGridDef. |
|
UTMGridRef(Position pos)
Create a new UTM reference from the specified Position. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |