public class HovmollerViewManager extends ViewManager
ViewManager.MatrixCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREF_GRIDLINES
Preference for grid lines or 2d _.
|
animationHolder, animationMenu, borderHighlightColor, borderWidth, clickToFocus, displayBounds, fullScreenWindow, highlightBorder, innerContents, lastActive, lastTimeActivated, lastTimePolled, 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_PREFIX, PREF_SHAREVIEWS, PREF_SHOWANIMATIONBOXES, PREF_SHOWBOTTOMLEGEND, PREF_SHOWCURSOR, PREF_SHOWDISPLAYLIST, PREF_SHOWSCALES, PREF_SHOWSIDELEGEND, PREF_SHOWTOOLBAR, PREF_SHOWTRANSECTSCALES, PREF_TOOLBARSFLOATABLE, PREF_TOPBAR_VISIBLE, PREF_WAITMSG, PREF_WIREFRAME, PROP_COMPONENT_RESIZED, showControlLegend, showControlMenu, TAG_COLORPAIR, TAG_COLORPAIRS, toolbarIds, toolbarNames, toolbars, windowBounds
Constructor and Description |
---|
HovmollerViewManager()
Default constructor.
|
HovmollerViewManager(ViewContext viewContext)
Construct a
HovmollerViewManager from an IDV. |
HovmollerViewManager(ViewContext viewContext,
ViewDescriptor desc,
java.lang.String properties)
Construct a
HovmollerViewManager with the specified params. |
Modifier and Type | Method and Description |
---|---|
boolean |
addDisplayInfo(DisplayInfo displayInfo)
Override base class method to force setting fast rendering to true.
|
boolean |
animationOk()
Do we support animation?
|
void |
applyPreferences()
Some user preferences have changed.
|
boolean |
applyProperties()
Apply properties.
|
protected java.awt.Container |
doMakeContents()
Make the GUI contents.
|
protected DisplayMaster |
doMakeDisplayMaster()
Factory method to create the display master.
|
boolean |
getClipping()
Get the clipping flag.
|
HovmollerDisplay |
getHovmollerDisplay()
Helper method.
|
protected void |
getInitialBooleanProperties(java.util.List props)
Add to the intial Boolean properties.
|
boolean |
getShowGridLines()
Get the show cursor readout flag
|
boolean |
getShowSideLegend()
Don't show the side legend.
|
boolean |
getUseFastRendering(boolean b)
This is called by display controls and allows us to force fast rendering.
|
protected void |
handleBooleanPropertyChange(java.lang.String id,
boolean value)
The BooleanProperty identified by the given id has changed.
|
protected void |
initBooleanProperties()
Set some properties.
|
void |
initializeViewMenu(javax.swing.JMenu viewMenu)
Initialize the view menu.
|
protected javax.swing.JMenu |
makeShowMenu()
Create and return the show menu.
|
void |
setClipping(boolean value)
Set the clipping flag.
|
actionPerformed, addBooleanProperty, addCommand, addContextMenuItems, addDisplayInfos, addDisplayListener, addPropertiesComponents, addRemovable, addToolBar, addViewDescriptor, animationDriverChanged, animationTimeChanged, aspectSliderChanged, brighter, canBe, captureIslImage, checkForKmlImageCapture, checkToolBarVisibility, clearDisplays, clearImageGrabber, controlChanged, controlMoved, createCBMI, destroy, displayChanged, displayControlChanged, displayControlVisibilityChanged, displayDataChanged, doClose, doDrop, 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, getDisplayInitMatrix, getDisplayListColor, getDisplayListFont, getDisplayMatrix, getDisplayRenderer, getDisplayWindow, getExternalAnimation, getExternalAnimationWidget, getForeground, getFullScreenHeight, getFullScreenWidth, getHasWindow, getHaveInitialized, getHighlightBorder, getIdv, getIdvUIManager, getInitDone, 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, getTopBarVisible, getTypeName, getUniqueId, getViewDescriptor, getViewManager, getVisibleGeoBounds, getVMManager, getWaitMessageVisible, getWireframe, guiInitializationDone, handleControlChanged, hasBooleanProperty, hasDisplayMaster, init, initAfterUnPersistence, initColorMenu, initDisplayMenu, initFromSkin, initializeBooleanProperty, initPreferences, initToolBars, initUI, initViewState, initViewStateMenu, initWith, initWith, initWith, initWithInner, insertSideLegend, isClassOk, isCompatibleWith, isCompatibleWith, isDefinedBy, isFullScreen, isInteractive, isVectorGraphicsFile, itemStateChanged, keyWasTyped, logException, makeBufferedImage, makeColorMenu, makeDropPanel, makeFrames, makeLogoPosition, makeSavedViewsMenu, 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, setProjectionFromData, setProperties, setProperty, setShareViews, setShowControlLegend, setShowDisplayList, setShowScales, setShowToolBars, setSideDividerLocation, setSideLegend, setSideLegendPosition, setSize, setSkinProperties, setSplitPaneLocation, setTimeDriverTimes, setTopBarVisible, 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
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
public static final java.lang.String PREF_GRIDLINES
public HovmollerViewManager()
public HovmollerViewManager(ViewContext viewContext)
HovmollerViewManager
from an IDV.viewContext
- Really the IDVpublic HovmollerViewManager(ViewContext viewContext, ViewDescriptor desc, java.lang.String properties) throws visad.VisADException, java.rmi.RemoteException
HovmollerViewManager
with the specified params.viewContext
- context in which this MVM existsdesc
- ViewDescriptor
properties
- semicolon separated list of properties (can be null)visad.VisADException
- the VisAD exceptionjava.rmi.RemoteException
- the remote exceptionpublic HovmollerDisplay getHovmollerDisplay()
protected DisplayMaster doMakeDisplayMaster() throws visad.VisADException, java.rmi.RemoteException
doMakeDisplayMaster
in class ViewManager
visad.VisADException
- On badnessjava.rmi.RemoteException
- On badnesspublic boolean getUseFastRendering(boolean b)
getUseFastRendering
in class ViewManager
b
- The displays fast rendering flagpublic boolean addDisplayInfo(DisplayInfo displayInfo) throws java.rmi.RemoteException, visad.VisADException
addDisplayInfo
in class ViewManager
displayInfo
- The display info to add.java.rmi.RemoteException
- the remote exceptionvisad.VisADException
- the VisAD exceptionprotected void handleBooleanPropertyChange(java.lang.String id, boolean value) throws java.lang.Exception
handleBooleanPropertyChange
in class ViewManager
id
- Id of the changed BooleanPropertyvalue
- Its new valuejava.lang.Exception
- problem handling the changepublic boolean applyProperties()
applyProperties
in class ViewManager
public void applyPreferences()
applyPreferences
in class ViewManager
protected javax.swing.JMenu makeShowMenu()
makeShowMenu
in class ViewManager
protected void getInitialBooleanProperties(java.util.List props)
getInitialBooleanProperties
in class ViewManager
props
- list to add toprotected java.awt.Container doMakeContents()
doMakeContents
in class ViewManager
protected void initBooleanProperties()
initBooleanProperties
in class ViewManager
public void initializeViewMenu(javax.swing.JMenu viewMenu)
initializeViewMenu
in class ViewManager
viewMenu
- The view menupublic boolean getShowGridLines()
public void setClipping(boolean value)
value
- The valuepublic boolean getClipping()
public boolean animationOk()
animationOk
in class ViewManager
public boolean getShowSideLegend()
getShowSideLegend
in class ViewManager