| |
|
| com.sun.perseus.demo.PlaySVGImageDemo com.sun.perseus.demo.locationBasedService.LocationBasedService
LocationBasedService | final public class LocationBasedService extends PlaySVGImageDemo implements Runnable(Code) | | An example of zooming and panning. A sample itinerary is used in combination
with a map of downtown San Francisco to show how a route can be traced from a
starting point to an ending point. This also demonstrates how to
insert/remove the traced route into/from the map content so that the route
can also be scaled with the map.
|
Inner Class :class InitialDisplay implements Runnable | |
Inner Class :class LocationBasedServiceAnim implements Runnable | |
Inner Class :class FinalDisplay implements Runnable | |
Method Summary | |
public void | init(Document doc) | public void | keyPressed(int keyCode) | public void | run() | public void | startApp() By default, start the demo in the playing state. |
MARKER_BLACK | SVGRGBColor MARKER_BLACK(Code) | | |
MARKER_COLOR | SVGRGBColor MARKER_COLOR(Code) | | Color constant for markers and connectors
|
MARKER_WHITE | SVGRGBColor MARKER_WHITE(Code) | | |
connectors | SVGElement[] connectors(Code) | | Marker connectors
|
initialBBox | SVGRect initialBBox(Code) | | Initial screen bbox
|
initialVB | SVGRect initialVB(Code) | | Initial viewbox
|
markers | SVGElement[] markers(Code) | | Location markers
|
message | SVGElement message(Code) | | Message element
|
messageBackground | SVGElement messageBackground(Code) | | Message background
|
messageX | float messageX(Code) | | Message location
|
messageY | float messageY(Code) | | Message location
|
paused | boolean paused(Code) | | Controls whether the animation is paused or not
|
LocationBasedService | public LocationBasedService()(Code) | | Default constructor
|
init | public void init(Document doc)(Code) | | Parameters: doc - the DocumentNode holding the expected SVG content. |
keyPressed | public void keyPressed(int keyCode)(Code) | | |
startApp | public void startApp()(Code) | | By default, start the demo in the playing state.
|
|
|
|