|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.idv.ViewManager
ucar.unidata.idv.NavigatedViewManager
ucar.unidata.idv.MapViewManager
public class MapViewManager
A wrapper around a MapProjectDisplay display master. Provides an interface for managing user interactions, gui creation, etc.
| Nested Class Summary | |
|---|---|
static class |
MapViewManager.ProjectionCommand
Class ProjectionCommand manages changes to the projection |
| Nested classes/interfaces inherited from class ucar.unidata.idv.ViewManager |
|---|
ViewManager.MatrixCommand |
| Field Summary | |
|---|---|
static String |
CMD_FLY_BACK
flythrough command |
static String |
CMD_FLY_FORWARD
flythrough command |
static String |
CMD_FLY_LEFT
flythrough command |
static String |
CMD_FLY_RIGHT
flythrough command |
static String |
PREF_ADDRESS_LIST
preference id for the list of addresses in the geocode dialog |
static String |
PREF_ADDRESS_REPROJECT
do we reproject when we go to an address |
static String |
PREF_AUTOROTATE
Preference for autorotate in globe mode |
static String |
PREF_GLOBEBACKGROUND
Preference for the globe background color |
static String |
PREF_PERSPECTIVEVIEW
Preference for showing display in perspective view_ |
static String |
PREF_PROJ_DFLT
Preference for default projection |
static String |
PREF_PROJ_USEFROMDATA
Preference for setting projection automatically from data_ |
static String |
PREF_SHOWEARTHNAVPANEL
Preference for showing the earth nav panel |
static String |
PREF_SHOWGLOBEBACKGROUND
Preference for showing the globe background |
static String |
PREF_SHOWPIP
Preference for showing the pip |
static String |
PROP_CLIPDISTANCE_GLOBE_BACK
back globe clipping distance |
static String |
PROP_CLIPDISTANCE_GLOBE_FRONT
front globe clipping distance |
static String |
PROP_CLIPDISTANCE_MAP_BACK
back map clipping distance |
static String |
PROP_CLIPDISTANCE_MAP_FRONT
fron map clipping distance |
static String |
SHARE_PROJECTION
Defines the projection when sharing state |
| Constructor Summary | |
|---|---|
MapViewManager()
Default constructor |
|
MapViewManager(ViewContext viewContext)
Construct a MapViewManager from an IDV |
|
MapViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties)
Construct a MapViewManager with the specified params |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
Required interface for ActionEvents, to implement ActionListener for the UI objects such as JButton-s and MenuItem-s |
void |
addDisplayInfos(List<DisplayInfo> displayInfos)
Reset projection of display based control's getDataProjection(). |
protected void |
addPropertiesComponents(JTabbedPane tabbedPane)
Add the properties components for this ViewManager |
protected void |
animationTimeChanged()
Handle the animation time changed |
boolean |
applyProperties()
Apply the properties |
boolean |
canBe(ViewManager that)
Can this view manager be used in exchange for the given view manager |
void |
center(MapProjection mp)
Center the display (animated) to the center of the given mapprojection |
protected boolean |
checkForKmlImageCapture()
Check if its ok to capture a kmz file |
void |
checkPipPanel()
Check the pip panel. |
void |
checkProjection(FieldImpl data,
DisplayControl display)
Deprecated. no substitute. Use setMapProjection() |
void |
destroy()
Destroy this ViewManager |
void |
displayChanged(DisplayEvent event)
Handle the event |
void |
displayDataChanged(DisplayControl display)
Handle a change to the data in a DisplayControl |
void |
displayDataChanged(DisplayControl display,
boolean fromInitialLoad)
Handle a change to the data in a DisplayControl |
protected Container |
doMakeContents()
Make the GUI contents. |
protected DisplayMaster |
doMakeDisplayMaster()
Make the DisplayMaster for this ViewManager |
ArrayList |
doMakeMenuList()
Create and return the list of menus for the menu bar. |
protected void |
doneFirstFrame()
Received the first frame done event from the display |
protected void |
fillLegends()
Fill the legends |
void |
flythrough(float[][] pts)
Do a flythrough |
void |
flythrough(List<FlythroughPoint> pts)
Flythrough the points |
boolean |
getAutoRotate()
Get the autorotate flag |
float |
getDefaultMapPosition()
Get the default map position from a property |
ucar.unidata.geoloc.ProjectionImpl |
getDefaultProjection()
Get the default projection to use |
String |
getDefaultProjectionName()
Get the DfltProjectionName property. |
double |
getDisplayProjectionZoom()
Get the DisplayProjectionZoom property. |
Flythrough |
getFlythrough()
Get the Flythrough property. |
Color |
getGlobeBackgroundColor()
Get the GlobeBackgroundColor property. |
Color |
getGlobeBackgroundColorToUse()
Get the GlobeBackgroundColor property to be used. |
double |
getGlobeBackgroundLevel()
Get the GlobeBackgroundLevel property. |
boolean |
getGlobeBackgroundShow()
Get the GlobeBackgroundShow property. |
protected void |
getInitialBooleanProperties(List props)
Create the set of BooleanPropertys. |
Rectangle2D.Float |
getInitLatLonBounds()
Get the InitLatLonBounds property. |
Color |
getInitMapColor()
Get the InitMapColor property. |
String |
getInitMapPaths()
Get the InitMapPaths property. |
float |
getInitMapWidth()
Get the InitMapWidth property. |
JComponent |
getInnerContents()
Get the JComponent for the VisAD display |
MapProjection |
getMainProjection()
Get the current projection.Used for xml encoding/decoding. |
String |
getMainProjectionName()
The main projection name.Used for xml encoding/decoding. |
NavigatedDisplay |
getMapDisplay()
Get the map display. |
boolean |
getPerspectiveView()
Get the perspective view flag |
EarthLocation |
getScreenCenter()
Get the earth location of the screen center |
List<TwoFacedObject> |
getScreenCoordinates()
Get a list of named locations of the different points of the view rectangle. |
boolean |
getShowEarthNavPanel()
Get the ShowEarthNavPanel property. |
boolean |
getShowMaps()
Get the ShowMaps property. |
boolean |
getShowPip()
Get the ShowPipPanel property. |
protected JComponent |
getSideComponent(JComponent sideLegend)
Add the PIP panel if needed |
String |
getTypeName()
What type of view is this |
boolean |
getUse3D()
Get the use 3D display flag. |
boolean |
getUseGlobeDisplay()
Get the globe display flag. |
boolean |
getUseProjectionFromData()
Get the use projection from data flag |
GeoLocationInfo |
getVisibleGeoBounds()
Get the bounds that are visible |
void |
goToAddress()
Go the a street address |
protected void |
handleBooleanPropertyChange(String id,
boolean value)
The BooleanProperty identified byt he given id has changed. |
void |
hidePip()
Hide the pip panel |
protected void |
init()
Initialize this object. |
void |
initAfterUnPersistence(IntegratedDataViewer idv)
Initialize after unpersistence |
void |
initializeDisplaysProjectionMenu(JMenu displaysMenu)
Init menu |
void |
initializeProjectionHistoryMenu(JMenu menu)
Init menu |
void |
initializeProjectionMenu(JMenu projectionsMenu)
Init menu |
void |
initializeViewMenu(JMenu viewMenu)
Dynamically initialize the view menu |
void |
initPreferences(IdvPreferenceManager preferenceManager)
Add in the different preference panels. |
protected void |
initToolBars()
Initialize the toolbars for the GUI |
protected void |
initUI()
Initialize the UI |
void |
initViewState(ViewState viewState)
Initialize the ViewState |
void |
initWith(ViewState viewState)
Initialize with another view |
protected void |
initWithInner(ViewManager that,
boolean ignoreWindow)
Initialize this object's state with the state from that. |
boolean |
isCompatibleWith(ViewManager vm)
Is this a compatible ViewManager |
boolean |
isCompatibleWith(ViewState viewState)
Is this compatible with the ViewState |
boolean |
isDisplay3D()
Are we in 3d mode |
static void |
makeProjectionsMenu(JMenu projectionsMenu,
List projections,
Object object,
String method)
Make the projections menu. |
static void |
makeProjectionsMenu(JMenu projectionsMenu,
List projections,
Object object,
String method,
ucar.unidata.geoloc.ProjectionImpl currentProjection)
Make the projections menu |
protected JMenu |
makeShowMenu()
Create and return the show menu. |
protected void |
mouseFlicked(Point startPoint,
Point endPoint,
double[] startMatrix,
double[] endMatrix,
double speed)
Handle the mouse flicked |
boolean |
okToImportDisplay(DisplayControl control)
can this viewmanager import the given display control |
protected void |
perspectiveViewChanged(boolean v)
Handle a perspective view change |
void |
receiveShareData(Sharable from,
Object dataId,
Object[] data)
Handle the receipt of shared data |
void |
setAutoRotate(boolean value)
Set the autorotate property |
void |
setBgColor(boolean bgColor)
Deprecated. Keep this around for old bundles |
void |
setCurrentAsProjection()
Set the current viewpoint as the projection |
void |
setDefaultProjectionName(String value)
Set the DfltProjectionName property. |
void |
setDisplayProjectionZoom(double value)
Set the DisplayProjectionZoom property. |
void |
setFlythrough(Flythrough value)
Set the Flythrough property. |
void |
setGlobeBackgroundColor(Color value)
Set the GlobeBackgroundColor property. |
void |
setGlobeBackgroundLevel(double value)
Set the GlobeBackgroundLevel property. |
void |
setGlobeBackgroundShow(boolean value)
Set the GlobeBackgroundShow property. |
void |
setInitialMapResources(String value)
Set the InitialMapResources property. |
void |
setInitLatLonBounds(Rectangle2D.Float value)
Set the InitLatLonBounds property. |
void |
setInitLatLonColor(Color v)
Set the intial lat/lon color |
void |
setInitLatLonSpacing(float v)
Set the initial lat/lon spacing |
void |
setInitLatLonVisible(boolean v)
Set the intial lat/lon visible |
void |
setInitLatLonWidth(int v)
Set the initial lat/lon line width |
void |
setInitMapColor(Color value)
Set the InitMapColor property. |
void |
setInitMapPaths(String value)
Set the InitMapPaths property. |
void |
setInitMapWidth(float value)
Set the InitMapWidth property. |
void |
setMainProjection(MapProjection projection)
Set the current projection. |
void |
setMainProjectionName(String projectionName)
The main projection name.Used for xml encoding/decoding. |
void |
setMapArea(ucar.unidata.geoloc.ProjectionRect mapArea)
Set or reset map area of view, using NavigatedDisplay method. |
void |
setMapConfigFile(String location)
Have this so we don't get warnings on unpersisting old bundles |
void |
setMapProjection(MapProjection projection,
boolean fromWidget)
A wrapper aroung the setMapProjection call that takes a projection name. |
boolean |
setMapProjection(MapProjection projection,
boolean fromWidget,
String name)
Set map projection in the main display. |
boolean |
setMapProjection(MapProjection projection,
boolean fromWidget,
String name,
boolean checkDefault)
Set map projection in the main display. |
boolean |
setMapProjection(MapProjection projection,
boolean fromWidget,
String name,
boolean checkDefault,
boolean addToCommandHistory)
Set map projection in the main display. |
boolean |
setMapProjection(MapProjection projection,
boolean fromWidget,
String name,
boolean checkDefault,
boolean addToCommandHistory,
boolean maintainViewpoint)
Set map projection in the main display. |
void |
setMapState(String ms)
Leave this here for old bundles |
void |
setPerspectiveView(boolean value)
Set the perspective view flag |
void |
setProjection(ucar.unidata.geoloc.ProjectionImpl p)
Set the current projection |
void |
setProjectionByName(String projName)
Find and set the projection by name |
void |
setProjectionFromFirstDisplay()
Set the projection to the first projection found in the displays |
void |
setShowEarthNavPanel(boolean value)
Set the ShowEarthNavPanel property. |
void |
setShowElevation(boolean value)
Dummy for old bundles |
void |
setShowMap(boolean value)
Dummy for old bundles |
void |
setShowMaps(boolean value)
Set the ShowMaps property. |
void |
setShowPip(boolean value)
Set the ShowPipPanel property. |
void |
setUse3D(boolean use)
Use a 3D display. |
void |
setUseGlobeDisplay(boolean use)
Use globe display. |
void |
setUseProjectionFromData(boolean value)
Set the use projection from data flag |
void |
setViewpointInfo(ViewpointInfo viewpointInfo)
Set the viewpoint info |
boolean |
shouldAnimateViewChanges()
Should we animate view changes |
void |
showFlythrough()
Show the fly through |
void |
showProjectionManager()
Show the projection manager. |
protected void |
updateProjection()
If we are using a ProjectionImpl then see if it hsa |
protected void |
verticalScaleChanged()
Handle a vertical scale change |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_CLIPDISTANCE_GLOBE_FRONT
public static final String PROP_CLIPDISTANCE_GLOBE_BACK
public static final String PROP_CLIPDISTANCE_MAP_FRONT
public static final String PROP_CLIPDISTANCE_MAP_BACK
public static final String CMD_FLY_LEFT
public static final String CMD_FLY_RIGHT
public static final String CMD_FLY_FORWARD
public static final String CMD_FLY_BACK
public static final String PREF_ADDRESS_LIST
public static final String PREF_ADDRESS_REPROJECT
public static final String PREF_AUTOROTATE
public static final String PREF_PERSPECTIVEVIEW
public static final String PREF_PROJ_DFLT
public static final String PREF_PROJ_USEFROMDATA
public static final String PREF_SHOWPIP
public static final String PREF_SHOWGLOBEBACKGROUND
public static final String PREF_GLOBEBACKGROUND
public static final String PREF_SHOWEARTHNAVPANEL
public static final String SHARE_PROJECTION
| Constructor Detail |
|---|
public MapViewManager()
public MapViewManager(ViewContext viewContext)
MapViewManager from an IDV
viewContext - Really the IDV
public MapViewManager(ViewContext viewContext,
ViewDescriptor desc,
String properties)
throws VisADException,
RemoteException
MapViewManager with the specified params
viewContext - context in which this MVM existsdesc - ViewDescriptorproperties - semicolon separated list of properties (can be null)
RemoteException - Java RMI problem
VisADException - Couldn't create the VisAD object| Method Detail |
|---|
public ucar.unidata.geoloc.ProjectionImpl getDefaultProjection()
protected DisplayMaster doMakeDisplayMaster()
throws VisADException,
RemoteException
doMakeDisplayMaster in class ViewManagerRemoteException - Java RMI problem
VisADException - Couldn't create the VisAD object
public EarthLocation getScreenCenter()
throws VisADException,
RemoteException
RemoteException - On badness
VisADException - On badness
public List<TwoFacedObject> getScreenCoordinates()
throws VisADException,
RemoteException
RemoteException - On badness
VisADException - On badness
protected void init()
throws VisADException,
RemoteException
init in class NavigatedViewManagerRemoteException
VisADExceptionprotected void initUI()
initUI in class ViewManagerprotected void fillLegends()
fillLegends in class ViewManagerprotected void perspectiveViewChanged(boolean v)
perspectiveViewChanged in class NavigatedViewManagerv - the valueprotected void verticalScaleChanged()
verticalScaleChanged in class NavigatedViewManagerpublic boolean shouldAnimateViewChanges()
public void displayChanged(DisplayEvent event)
throws VisADException,
RemoteException
displayChanged in interface DisplayListenerdisplayChanged in class NavigatedViewManagerevent - The event
RemoteException - On badness
VisADException - On badness
protected void mouseFlicked(Point startPoint,
Point endPoint,
double[] startMatrix,
double[] endMatrix,
double speed)
mouseFlicked in class NavigatedViewManagerstartPoint - start point of flickendPoint - end point of flickstartMatrix - the start matrixendMatrix - the end matrixspeed - the speed of flickingprotected boolean checkForKmlImageCapture()
checkForKmlImageCapture in class ViewManagerpublic boolean canBe(ViewManager that)
canBe in class ViewManagerthat - The other view manager to check
public void initWith(ViewState viewState)
throws Exception
initWith in class ViewManagerviewState - the view state
Exception - problemsprotected void animationTimeChanged()
animationTimeChanged in class NavigatedViewManager
protected void initWithInner(ViewManager that,
boolean ignoreWindow)
throws VisADException,
RemoteException
initWithInner in class NavigatedViewManagerthat - The other obejct to get state fromignoreWindow - If true then don't set the window size and location
RemoteException - Java RMI problem
VisADException - Couldn't create the VisAD objectpublic void initViewState(ViewState viewState)
initViewState in class ViewManagerviewState - the ViewStatepublic JComponent getInnerContents()
JComponent for the VisAD display
getInnerContents in class ViewManagerpublic void setMapState(String ms)
ms - The map specificationpublic void initPreferences(IdvPreferenceManager preferenceManager)
initPreferences in class ViewManagerpreferenceManager - The preference manager to add things intopublic void goToAddress()
public NavigatedDisplay getMapDisplay()
public boolean isDisplay3D()
public void receiveShareData(Sharable from,
Object dataId,
Object[] data)
receiveShareData in interface SharablereceiveShareData in class NavigatedViewManagerfrom - Who is it fromdataId - What is itdata - Here it isprotected JComponent getSideComponent(JComponent sideLegend)
getSideComponent in class ViewManagersideLegend - The side legend
protected Container doMakeContents()
doMakeContents in class ViewManagerprotected void initToolBars()
initToolBars in class NavigatedViewManagerpublic void setViewpointInfo(ViewpointInfo viewpointInfo)
viewpointInfo - the viewpoint infopublic void initializeViewMenu(JMenu viewMenu)
initializeViewMenu in class ViewManagerviewMenu - the view menupublic ArrayList doMakeMenuList()
doMakeMenuList in class ViewManagerprotected JMenu makeShowMenu()
makeShowMenu in class NavigatedViewManager
public void center(MapProjection mp)
throws RemoteException,
VisADException
mp - map projection
RemoteException - Java RMI problem
VisADException - VisAD problempublic void setProjectionFromFirstDisplay()
protected void updateProjection()
throws RemoteException,
VisADException
RemoteException - On badness
VisADException - On badnesspublic void setProjectionByName(String projName)
projName - projection namepublic void setProjection(ucar.unidata.geoloc.ProjectionImpl p)
p - The new projection.
public void setMapProjection(MapProjection projection,
boolean fromWidget)
projection - The projectionfromWidget - Is it from the projection selection widgetpublic MapProjection getMainProjection()
public void setMainProjection(MapProjection projection)
projection - The new projectionpublic String getMainProjectionName()
public void setMainProjectionName(String projectionName)
projectionName - Projection namepublic void setDefaultProjectionName(String value)
value - The new value for DfltProjectionNamepublic String getDefaultProjectionName()
public boolean setMapProjection(MapProjection projection,
boolean fromWidget,
String name)
projection - a ProjectionfromWidget - true if this was from a widget (ie. widget or
menu item)name - name to put in the history list (may be null)
public boolean setMapProjection(MapProjection projection,
boolean fromWidget,
String name,
boolean checkDefault)
projection - a ProjectionfromWidget - true if this was from a widget (ie. widget or
menu item)name - name to put in the history list (may be null)checkDefault - if true, check to see if we
should call getUseProjectionFromData()
public boolean setMapProjection(MapProjection projection,
boolean fromWidget,
String name,
boolean checkDefault,
boolean addToCommandHistory)
projection - a ProjectionfromWidget - true if this was from a widget (ie. widget or
menu item)name - name to put in the history list (may be null)checkDefault - if true, check to see if we
should call getUseProjectionFromData()addToCommandHistory - Add this projection to the command history
public boolean setMapProjection(MapProjection projection,
boolean fromWidget,
String name,
boolean checkDefault,
boolean addToCommandHistory,
boolean maintainViewpoint)
projection - a ProjectionfromWidget - true if this was from a widget (ie. widget or
menu item)name - name to put in the history list (may be null)checkDefault - if true, check to see if we
should call getUseProjectionFromData()addToCommandHistory - Add this projection to the command historymaintainViewpoint - maintain the viewpoint
public void checkPipPanel()
public boolean okToImportDisplay(DisplayControl control)
okToImportDisplay in class ViewManagercontrol - the control
protected void doneFirstFrame()
doneFirstFrame in class ViewManagerpublic boolean applyProperties()
applyProperties in class NavigatedViewManagerprotected void addPropertiesComponents(JTabbedPane tabbedPane)
addPropertiesComponents in class NavigatedViewManagertabbedPane - the tabbed pane to add topublic void destroy()
destroy in class NavigatedViewManagerpublic void showFlythrough()
public void flythrough(float[][] pts)
pts - the flythrough pointspublic void flythrough(List<FlythroughPoint> pts)
pts - the List of points
public final void initAfterUnPersistence(IntegratedDataViewer idv)
throws VisADException,
RemoteException
initAfterUnPersistence in class ViewManageridv - the IDV
RemoteException - Java RMI exception
VisADException - VisAD problempublic void displayDataChanged(DisplayControl display)
displayDataChanged in class ViewManagerdisplay - the DisplayControl
public void displayDataChanged(DisplayControl display,
boolean fromInitialLoad)
display - the DisplayControlfromInitialLoad - if this is from the initial load
public void addDisplayInfos(List<DisplayInfo> displayInfos)
throws RemoteException,
VisADException
addDisplayInfos in class ViewManagerdisplayInfos - The List of new display infos to add
RemoteException - Java RMI Exception
VisADException - Problem creating VisAD object
public void checkProjection(FieldImpl data,
DisplayControl display)
data - The data form the displaydisplay - The displaypublic void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListeneractionPerformed in class NavigatedViewManagerevent - an ActionEventpublic GeoLocationInfo getVisibleGeoBounds()
getVisibleGeoBounds in class ViewManagerpublic void setCurrentAsProjection()
public void showProjectionManager()
public void setMapArea(ucar.unidata.geoloc.ProjectionRect mapArea)
mapArea - ProjectionRect the map area of viewpublic void initializeProjectionMenu(JMenu projectionsMenu)
projectionsMenu - menupublic void initializeDisplaysProjectionMenu(JMenu displaysMenu)
displaysMenu - menu
public static void makeProjectionsMenu(JMenu projectionsMenu,
List projections,
Object object,
String method)
projectionsMenu - Menu to add toprojections - List of projectionsobject - object to callmethod - method to call
public static void makeProjectionsMenu(JMenu projectionsMenu,
List projections,
Object object,
String method,
ucar.unidata.geoloc.ProjectionImpl currentProjection)
projectionsMenu - the menu to add toprojections - list of projectionsobject - object to callmethod - method to callcurrentProjection - current projectionpublic void initializeProjectionHistoryMenu(JMenu menu)
menu - menupublic boolean isCompatibleWith(ViewManager vm)
isCompatibleWith in class ViewManagervm - the other
public boolean isCompatibleWith(ViewState viewState)
isCompatibleWith in class ViewManagerviewState - the view state
public void setMapConfigFile(String location)
location - The locationpublic void setUseGlobeDisplay(boolean use)
use - The globe display valuepublic boolean getUseGlobeDisplay()
public void setUse3D(boolean use)
use - The use 3D display valuepublic boolean getUse3D()
protected void handleBooleanPropertyChange(String id,
boolean value)
throws Exception
handleBooleanPropertyChange in class NavigatedViewManagerid - Id of the changed BooleanPropertyvalue - Its new value
Exception - problem handeling the changeprotected void getInitialBooleanProperties(List props)
BooleanPropertys.
These hold all of the different flag based display state.
getInitialBooleanProperties in class NavigatedViewManagerprops - the list of propertiespublic void setAutoRotate(boolean value)
value - The valuepublic boolean getAutoRotate()
public void setPerspectiveView(boolean value)
value - The valuepublic boolean getPerspectiveView()
getPerspectiveView in class ViewManagerpublic void setShowMap(boolean value)
value - The valuepublic void setShowElevation(boolean value)
value - The valuepublic void setUseProjectionFromData(boolean value)
value - The valuepublic boolean getUseProjectionFromData()
public void setBgColor(boolean bgColor)
bgColor - The valuepublic void setShowEarthNavPanel(boolean value)
value - The new value for ShowEarthNavPanelpublic boolean getShowEarthNavPanel()
public void hidePip()
public void setShowPip(boolean value)
value - The new value for ShowPipPanelpublic boolean getShowPip()
public void setInitialMapResources(String value)
value - The new value for InitialMapResourcespublic String getTypeName()
getTypeName in class ViewManagerpublic float getDefaultMapPosition()
public void setGlobeBackgroundColor(Color value)
value - The new value for GlobeBackgroundColorpublic Color getGlobeBackgroundColor()
public Color getGlobeBackgroundColorToUse()
public void setGlobeBackgroundShow(boolean value)
value - The new value for GlobeBackgroundShowpublic boolean getGlobeBackgroundShow()
public void setGlobeBackgroundLevel(double value)
value - The new value for GlobeBackgroundLevelpublic double getGlobeBackgroundLevel()
public void setFlythrough(Flythrough value)
value - The new value for Flythroughpublic Flythrough getFlythrough()
public void setShowMaps(boolean value)
value - The new value for ShowMapspublic boolean getShowMaps()
public void setDisplayProjectionZoom(double value)
value - The new value for DisplayProjectionZoompublic double getDisplayProjectionZoom()
public void setInitMapPaths(String value)
value - The new value for InitMapPathspublic String getInitMapPaths()
public void setInitLatLonVisible(boolean v)
v - true or falsepublic void setInitLatLonColor(Color v)
v - the colorpublic void setInitLatLonWidth(int v)
v - the widthpublic void setInitLatLonSpacing(float v)
v - the spacingpublic void setInitMapWidth(float value)
value - The new value for InitMapWidthpublic float getInitMapWidth()
public void setInitMapColor(Color value)
value - The new value for InitMapColorpublic Color getInitMapColor()
public void setInitLatLonBounds(Rectangle2D.Float value)
value - The new value for InitLatLonBoundspublic Rectangle2D.Float getInitLatLonBounds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||