ucar.unidata.idv
Class HodographViewManager

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.idv.ViewManager
          extended by ucar.unidata.idv.HodographViewManager
All Implemented Interfaces:
ActionListener, ItemListener, EventListener, Sharable, ControlListener, DisplayListener

public class HodographViewManager
extends ViewManager

A wrapper around a hodograph display Provides an interface for managing user interactions, gui creation, etc.

Author:
IDV development team

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.unidata.idv.ViewManager
ViewManager.MatrixCommand
 
Field Summary
static String PREF_PREFIX
          Prefix for preferences
 
Fields inherited from class ucar.unidata.idv.ViewManager
animationHolder, animationMenu, borderHighlightColor, borderWidth, clickToFocus, displayBounds, fullScreenWindow, highlightBorder, innerContents, lastActive, lastTimeActivated, logoPoses, nameLabel, normalBorder, PREF_3DCLIP, PREF_ANIREADOUT, PREF_BGCOLOR, PREF_BORDERCOLOR, PREF_CONTOUR_LABELALIGN, PREF_CONTOUR_LABELFONT, PREF_CONTOUR_LABELSIZE, PREF_DIMENSION, PREF_DISPLAYLISTCOLOR, PREF_DISPLAYLISTFONT, PREF_FGCOLOR, PREF_LOGO, PREF_LOGO_POSITION_OFFSET, PREF_LOGO_SCALE, PREF_LOGO_VISIBILITY, PREF_SHAREVIEWS, PREF_SHOWANIMATIONBOXES, PREF_SHOWBOTTOMLEGEND, PREF_SHOWCURSOR, PREF_SHOWDISPLAYLIST, PREF_SHOWSCALES, PREF_SHOWSIDELEGEND, PREF_SHOWTOOLBAR, PREF_SHOWTRANSECTSCALES, PREF_TOOLBARSFLOATABLE, PREF_WAITMSG, PREF_WIREFRAME, showControlLegend, showControlMenu, TAG_COLORPAIR, TAG_COLORPAIRS, toolbarIds, toolbarNames, toolbars, windowBounds
 
Constructor Summary
HodographViewManager()
          A paramterless ctor for XmlEncoder based decoding.
HodographViewManager(ViewContext viewContext, DisplayMaster master, ViewDescriptor viewDescriptor, String properties)
          Create a HodographViewManager with the given context, display, descriptor, properties string
HodographViewManager(ViewContext viewContext, ViewDescriptor desc, String properties)
          Create a HodographViewManager with the given context, descriptor, object store and properties string.
HodographViewManager(ViewContext viewContext, ViewDescriptor desc, String properties, AnimationInfo animationInfo)
          Create a HodographViewManager with the given context, descriptor, object store, properties string and animation state
 
Method Summary
 boolean animationOk()
          Do we support animation?
protected  DisplayMaster doMakeDisplayMaster()
          Factory method for creating the display master
 boolean getShowSideLegend()
          Don't show the side legend
 String getTypeName()
          What type of view is this
 void setHodographDisplay(Hodograph3DDisplay hd)
          Set the hodograph display
 
Methods inherited from class ucar.unidata.idv.ViewManager
actionPerformed, addBooleanProperty, addCommand, addContextMenuItems, addDisplayInfo, addDisplayInfos, addDisplayListener, addPropertiesComponents, addRemovable, addToolBar, addViewDescriptor, animationTimeChanged, applyPreferences, applyProperties, aspectSliderChanged, brighter, canBe, checkForKmlImageCapture, checkToolBarVisibility, clearDisplays, clearImageGrabber, controlChanged, controlMoved, createCBMI, destroy, displayChanged, displayControlChanged, displayControlVisibilityChanged, displayDataChanged, doClose, doDrop, doMakeContents, doMakeMenuBar, doMakeMenuList, doMakeViewState, doneFirstFrame, doPrintImage, doPublishImage, doPublishImage, doSaveImage, doSaveImage, doSaveImageInThread, doSaveState, ensureOnlyOneTimeDriver, fillLegends, fillLegendsInner, fillLegendsLater, findLoc, firstInitializeViewMenu, getAliases, getAnimation, getAnimationInfo, getAnimationStringVisible, getAnimationTimes, getAnimationWidget, getAniReadout, getAspectPropertiesComponent, getAspectRatio, getBackground, getBooleanPropertiesForPersistence, getBooleanProperty, getBooleanProperty, getBp, getBp, getClickToFocus, getCommandManager, getComponent, getContents, getContentsBorder, getControls, getControlsForLegend, getDefaultBackground, getDefaultForeground, getDisplayBounds, getDisplayConventions, getDisplayCoordinateSystem, getDisplayInfos, getDisplayListColor, getDisplayListFont, getDisplayMatrix, getDisplayRenderer, getDisplayWindow, getExternalAnimation, getExternalAnimationWidget, getForeground, getFullScreenHeight, getFullScreenWidth, getHasWindow, getHaveInitialized, getHighlightBorder, getIdv, getIdvUIManager, getInitDone, getInitialBooleanProperties, getInitViewStateName, getInnerContents, getIsActive, getIsDestroyed, getIsShared, getLastFrameDoneTime, getLastTimeActivated, getLegendOnLeft, getLegends, getLegendState, getLights, getLogoFile, getLogoPosition, getLogoScale, getLogoVisibility, getMainPropertiesComponent, getMaster, getMySize, getName, getNormalBorder, getPerspectiveView, getProjectionControl, getProjectionList, getProperties, getPropertiesComponent, getProperty, getPublishManager, getReallyHasWindow, getResourceManager, getShareViews, getShowAnimationBoxes, getShowBottomLegend, getShowControlLegend, getShowDisplayList, getShowScales, getSideComponent, getSideDividerLocation, getSideLegend, getSideLegendContainer, getSkinProperties, getSkinProperty, getSplitPaneLocation, getStateManager, getStore, getTimeDriverTimes, getTimelineComponent, getToolbarsFloatable, getUniqueId, getUseFastRendering, getViewDescriptor, getViewManager, getVisibleGeoBounds, getVMManager, getWaitMessageVisible, getWireframe, guiInitializationDone, handleBooleanPropertyChange, handleControlChanged, hasBooleanProperty, hasDisplayMaster, init, initAfterUnPersistence, initBooleanProperties, initColorMenu, initDisplayMenu, initFromSkin, initializeBooleanProperty, initializeViewMenu, initPreferences, initToolBars, initUI, initViewState, initViewStateMenu, initWith, initWith, initWith, initWithInner, insertSideLegend, isClassOk, isCompatibleWith, isCompatibleWith, isDefinedBy, isFullScreen, isInteractive, isVectorGraphicsFile, itemStateChanged, keyWasTyped, logException, makeColorMenu, makeDropPanel, makeFrames, makeLogoPosition, makeSavedViewsMenu, makeShowMenu, makeViewMenu, makeViewStateMenu, notifyDisplayControls, okToImportDisplay, paintDisplayList, parseLogoPosition, parseProperties, printAspect, putProperty, reallyFillLegends, removeColorPair, removeDisplayInfo, resetAspectSliders, resetFullScreen, resetProjectionControl, setAliases, setAnimatedVisibility, setAnimationInfo, setAnimationStringVisible, setAniReadout, setAspectRatio, setBackground, setBooleanProperties, setBooleanPropertiesForPersistence, setBp, setClickToFocus, setColors, setContentsBorder, setCursorInDisplay, setDisplayBounds, setDisplayListColor, setDisplayListFont, setDisplayMaster, setDisplayMatrix, setExternalAnimation, setForeground, setFullScreen, setFullScreenHeight, setFullScreenWidth, setHasWindow, setHighlightBorder, setIdv, setInitialSplitPaneLocation, setInitViewStateName, setIsShared, setLastActive, setLegendOnLeft, setLegendState, setLegendState, setLights, setLogoFile, setLogoPosition, setLogoScale, setLogoVisibility, setMasterActive, setMasterActive, setMasterInactive, setName, setProperties, setProperty, setShareViews, setShowControlLegend, setShowDisplayList, setShowScales, setShowToolBars, setSideDividerLocation, setSideLegend, setSideLegendPosition, setSize, setSkinProperties, setSplitPaneLocation, setView, setViewDescriptor, setWaitMessageVisible, setWindow, setWindowBounds, setWireframe, shouldDoThingsRightAway, showColorPairDialog, showHighlight, showLegend, showPropertiesDialog, showTimeline, showWindow, startImageCapture, toFront, toggleFullScreen, toString, turnOnOffAllDisplays, updateAnnotations, updateDisplayIfNeeded, updateDisplayList, updateNameLabel, useDisplay, useImages, useImages, writeImage, writeImage, writeImage, writeImage, writeImage, writeImage, writeImage, writeTestArchive
 
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, initSharable, receiveShareData, 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

PREF_PREFIX

public static final String PREF_PREFIX
Prefix for preferences

See Also:
Constant Field Values
Constructor Detail

HodographViewManager

public HodographViewManager()
A paramterless ctor for XmlEncoder based decoding.


HodographViewManager

public HodographViewManager(ViewContext viewContext,
                            ViewDescriptor desc,
                            String properties)
                     throws VisADException,
                            RemoteException
Create a HodographViewManager with the given context, descriptor, object store and properties string.

Parameters:
viewContext - Provides a context for the VM to be in.
desc - The ViewDescriptor that identifies this VM
properties - A set of ";" delimited name-value pairs.
Throws:
RemoteException
VisADException

HodographViewManager

public HodographViewManager(ViewContext viewContext,
                            ViewDescriptor desc,
                            String properties,
                            AnimationInfo animationInfo)
                     throws VisADException,
                            RemoteException
Create a HodographViewManager with the given context, descriptor, object store, properties string and animation state

Parameters:
viewContext - Provides a context for the VM to be in.
desc - The ViewDescriptor that identifies this VM
properties - A set of ";" delimited name-value pairs.
animationInfo - Initial animation properties
Throws:
RemoteException
VisADException

HodographViewManager

public HodographViewManager(ViewContext viewContext,
                            DisplayMaster master,
                            ViewDescriptor viewDescriptor,
                            String properties)
                     throws VisADException,
                            RemoteException
Create a HodographViewManager with the given context, display, descriptor, properties string

Parameters:
viewContext - Provides a context for the VM to be in.
master - display master
viewDescriptor - The ViewDescriptor that identifies this VM
properties - A set of ";" delimited name-value pairs.
Throws:
RemoteException
VisADException
Method Detail

doMakeDisplayMaster

protected DisplayMaster doMakeDisplayMaster()
                                     throws VisADException,
                                            RemoteException
Factory method for creating the display master

Overrides:
doMakeDisplayMaster in class ViewManager
Returns:
The Display Master
Throws:
RemoteException - On badness
VisADException - On badness

setHodographDisplay

public void setHodographDisplay(Hodograph3DDisplay hd)
Set the hodograph display

Parameters:
hd - the hodograph display

getShowSideLegend

public boolean getShowSideLegend()
Don't show the side legend

Overrides:
getShowSideLegend in class ViewManager
Returns:
false

getTypeName

public String getTypeName()
What type of view is this

Overrides:
getTypeName in class ViewManager
Returns:
The type of view

animationOk

public boolean animationOk()
Do we support animation?

Overrides:
animationOk in class ViewManager
Returns:
false