All Packages Class Hierarchy This Package Previous Next Index
Class IMSWG.IW.SubSet.DisplayOptions
java.lang.Object
|
+----java.awt.MenuComponent
|
+----java.awt.MenuItem
|
+----IMSWG.IW.SubSet.DisplayOptions
- public class DisplayOptions
- extends MenuItem
DisplayOptions class, the main class of this file.
Essentially a menu item with a pop-up window function.
Public Access Methods:
DisplayOptions() - constructor.
String getProjection() - returns projection string.
String getGridSpacing() - returns spacing of grid lines in degrees.
String getRivers() - "yes" or "no" to display lakes & rivers.
String getPolitical() - "yes" or "no" to display political boundaries.
String getRail() - "yes" or "no" to display rail roads.
String getRoads() - "yes" or "no" to display roads.
String getPlaces() - "yes" or "no" to display place names.
String getWRS() - "wrs1" , "wrs2" or "none" to display wrs scenes.
void die() - dispose of the frame window - when mapplet ends.
boolean action() - pops up frame dialog box when button clicked.
-
DisplayOptions(GeoPolygon, boolean, MasterGlobe)
- DisplayOptions() - constructor.
-
die()
- void die() - dispose of the frame - called when mapplet ends.
-
displayMenuAction(Event)
- boolean displayMenuAction() - handles Display Options menu item click by showing
pop-up window.
-
fast()
- boolean fast() - returns true if mapSpeed is "fast" or false if
mapSpeed is "detailed".
-
getGridSpacing()
- String getGridSpacing() - returns spacing of grid lines in degrees.
-
getPlaces()
- String getPlaces() - returns "yes" or "no" to display place names.
-
getPolitical()
- String getPolitical() - returns "yes" or "no" to display political
boundaries.
-
getProjection()
- String getProjection() - returns projection string set by dialog box.
-
getRail()
- String getRail() - returns "yes" or "no" to display rail roads.
-
getRivers()
- String getRivers() - returns "yes" or "no" to display lakes & rivers.
-
getRoads()
- String getRoads() - returns "yes" or "no" to display major roads.
-
getWRS()
- String getWRS() - returns "yes" or "no" to display WRS scenes.
DisplayOptions
public DisplayOptions(GeoPolygon geoPoly,
boolean alloptions,
MasterGlobe pmasterGlobe)
- DisplayOptions() - constructor. Creates Menu item labeled
"Display Options", creates the pop-up window.
getProjection
public String getProjection()
- String getProjection() - returns projection string set by dialog box.
Currently, it can be "ortho" or "plate".
getGridSpacing
public String getGridSpacing()
- String getGridSpacing() - returns spacing of grid lines in degrees.
Can be "none", "1", "2", "5", "10", or "20".
getRail
public String getRail()
- String getRail() - returns "yes" or "no" to display rail roads.
getRoads
public String getRoads()
- String getRoads() - returns "yes" or "no" to display major roads.
getPlaces
public String getPlaces()
- String getPlaces() - returns "yes" or "no" to display place names.
getWRS
public String getWRS()
- String getWRS() - returns "yes" or "no" to display WRS scenes.
getRivers
public String getRivers()
- String getRivers() - returns "yes" or "no" to display lakes & rivers.
getPolitical
public String getPolitical()
- String getPolitical() - returns "yes" or "no" to display political
boundaries.
fast
public boolean fast()
- boolean fast() - returns true if mapSpeed is "fast" or false if
mapSpeed is "detailed".
die
public void die()
- void die() - dispose of the frame - called when mapplet ends.
displayMenuAction
public boolean displayMenuAction(Event e)
- boolean displayMenuAction() - handles Display Options menu item click by showing
pop-up window.
All Packages Class Hierarchy This Package Previous Next Index