Class ImagePlanViewControl

java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.GridDisplayControl
ucar.unidata.idv.control.PlanViewControl
ucar.unidata.idv.control.ImagePlanViewControl
edu.wisc.ssec.mcidasv.control.ImagePlanViewControl
All Implemented Interfaces:
ActionListener, ItemListener, PropertyChangeListener, EventListener, HyperlinkListener, ucar.unidata.collab.Sharable, ucar.unidata.data.DataChangeListener, ucar.unidata.idv.DisplayControl, ucar.unidata.util.Prototypable, ControlListener, DisplayListener

public class ImagePlanViewControl extends ucar.unidata.idv.control.ImagePlanViewControl
ImagePlanViewControl with some McIDAS-V specific extensions. Namely parameter sets and support for inverted parameter defaults.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private class 
    Holds a JFreeChart histogram of image values.

    Nested classes/interfaces inherited from class ucar.unidata.idv.control.PlanViewControl

    ucar.unidata.idv.control.PlanViewControl.VerticalRangeWidget

    Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl

    ucar.unidata.idv.control.DisplayControlImpl.SideLegendLabel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    protected static final String
    Command for connecting
    protected static final String
     
    private JPanel
     
    private ucar.unidata.data.DataSourceImpl
     
     
    private FlatField
     
    private static ucar.unidata.xml.XmlResourceCollection
    Holds the ADDE servers and groups
    private static Document
    The user imagedefaults xml document
    private static Element
    The user imagedefaults xml root
    private Node
     
    private static Element
     
    private static final org.slf4j.Logger
     
    (package private) final JTextField
     
    (package private) final JTextField
     
    private String
     
    private static String
     
    private JButton
     
    private JButton
     
    private float
     
    private float
     
    private float
     
    private float
     
    private JFrame
    save parameter set
    private JComponent
    Status bar component
    private JLabel
    Shows the status
    private static final String
     
    private static final String
     
    private JPanel
    Holds the current save set tree
    private ucar.unidata.ui.XmlTree
     

    Fields inherited from class ucar.unidata.idv.control.ImagePlanViewControl

    descripters, histoWrapper

    Fields inherited from class ucar.unidata.idv.control.PlanViewControl

    currentLevel, currentLevels, currentSlice, datachoice, haveEnsemble, levelReadout, MACRO_LEVEL, SHARE_LEVEL

    Fields inherited from class ucar.unidata.idv.control.GridDisplayControl

    CMD_CONTOURDIALOG, CMD_SETLEVELS, gridDataInstance, INITIAL_PROBE_EARTHLOCATION, log_, settingLevel

    Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl

    categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayables, displayId, displayListTable, displayListTemplate, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, isProgressiveResolution, matchDisplayRegion, noteTextArea, noteWrapper, paramName, reloadFromBounds, requestProperties, resolutionReadout, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, skipTextField, SLIDER_DEFAULT_MAJOR_TICK, SLIDER_DEFAULT_MAX, SLIDER_DEFAULT_MIN, SLIDER_DEFAULT_MINOR_TICK, SLIDER_DEFAULT_SKIP, version, viewManagers, ZFUDGE

    Fields inherited from class ucar.unidata.idv.control.DisplayControlBase

    APPEARANCE_DARK, APPEARANCE_IDV, APPEARANCE_LIGHT, CMD_BARBSIZE, CMD_COLORS, CMD_COLORTABLE, CMD_INTERVAL, CMD_LEVEL, CMD_LINEWIDTH, CMD_POPUP, CMD_REMOVE, DEFAULT_POINT_SIZE, DEFAULT_SAMPLING_MODE, FIND_ALL, FIND_CATEGORY, FIND_CLASS, FIND_SPECIAL, FIND_THIS, FIND_WITHDATA, FIND_WITHTHISDATA, FIND_WITHTHISFIELD, FIND_WITHTHISVIEW, FLAG_COLOR, FLAG_COLORTABLE, FLAG_COLORUNIT, FLAG_CONTOUR, FLAG_DATACONTROL, FLAG_DISPLAYUNIT, FLAG_GRIDTRAJECTORY, FLAG_LINEWIDTH, FLAG_NONE, FLAG_SELECTRANGE, FLAG_SKIPFACTOR, FLAG_SMOOTHING, FLAG_TEXTUREQUALITY, FLAG_TIMERANGE, FLAG_ZPOSITION, GRID_INSETS, ICON_LOCK, ICON_REMOVE, ICON_UNLOCK, LABEL_NONE, MACRO_DATASOURCENAME, MACRO_DISPLAYNAME, MACRO_DISPLAYUNIT, MACRO_FHOUR, MACRO_FHOUR2, MACRO_LONGNAME, MACRO_POSITION, MACRO_RESOLUTION, MACRO_SHORTNAME, MACRO_STATION, MACRO_TIMESTAMP, MACRO_VALUE, NEAREST_NEIGHBOR, PREF_DISPLAYLIST_TEMPLATE, PREF_EXTRALABEL_TEMPLATE, PREF_LEGENDLABEL_TEMPLATE, PROP_REMOVED, SETTINGS_GROUP_DISPLAY, SETTINGS_GROUP_FLAGS, SHARE_CHOICES, SHARE_COLOR, SHARE_COLORSCALE, SHARE_COLORTABLE, SHARE_DISPLAYUNIT, SHARE_POSITION, SHARE_SELECTRANGE, SHARE_SKIPVALUE, SHARE_TRANSECT, SHARE_VISIBILITY, WEIGHTED_AVERAGE

    Fields inherited from interface ucar.unidata.idv.DisplayControl

    BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    Remove the currently display gui and insert the given one.
    protected void
    contrastStretch(double low, double high)
     
    private void
     
    Called by doMakeWindow in DisplayControlImpl, which then calls its doMakeMainButtonPanel(), which makes more buttons.
    void
    Remove this control
    private void
     
    ucar.unidata.data.DataSourceImpl
    _more_
    private List
     
    protected JComponent
    _more_
    protected ucar.unidata.xml.XmlResourceCollection
    Get the xml resource collection that defines the image default xml
    protected void
    getSaveMenuItems(List items, boolean forMenuBar)
    Add in the menu items for the save and export display template
    protected void
    getViewMenuItems(List items, boolean forMenuBar)
    Add the relevant view menu items into the list
    boolean
    init(ucar.unidata.data.DataChoice dataChoice)
    Called to make this kind of Display Control; also calls code to made the Displayable.
    private Node
     
    private Hashtable
     
    private boolean
    makePopupMenu(ucar.unidata.ui.XmlTree theTree, Element node, JPopupMenu popup)
    Create and popup a command menu for when the user has clicked on the given xml node.
    private void
    Just creates an empty XmlTree
    void
    moveParameterSet(Element parent, Element newFolder)
     
    private void
     
    void
     
    void
     
    private void
     
    void
    _more_
    void
     
     
    boolean
    setData(ucar.unidata.data.DataChoice dataChoice)
    Called to initialize this control from the given dataChoice; sets levels controls to match data; make data slice at first level; set display's color table and display units.
    private void
    Take out the histogram-related stuff that was in doMakeContents and put it in a standalone method, so we can wait and call it only after the histogram is actually initialized.
    void
    setRange(ucar.unidata.util.Range newRange)
    _more_
    private void
     
    private void
     

    Methods inherited from class ucar.unidata.idv.control.ImagePlanViewControl

    applyTextureQuality, createPlanDisplay, getAllowSmoothing, getChart, getDataProjectionLabel, getDescripters, getInitialColorTable, getInitialRange, getIsRaster, getSkipWidgetLabel, getSliceForDisplay, setDescripters, shouldAddControlListener, shouldAddDisplayListener, updateHistogramPanel

    Methods inherited from class ucar.unidata.idv.control.PlanViewControl

    addDisplaySettings, addLabelMacros, addParameterTopographyMap, addTopographyMap, addToRangeMenu, applySkipFactor, applySmoothing, canExportData, checkFlag, displayUnitChanged, formatLevel, getColorRangeIndex, getControlWidgets, getCurrentSlice, getCursorReadoutData, getCursorReadoutInner, getDisplayedData, getEditMenuItems, getForwardValue, getGridDisplayable, getIgnoreVerticalDimension, getIs2D, getLegendLabels, getLevel, getLevelColorRange, getLevelsLabel, getMacroNames, getMultipleIsTopography, getParameterIsTopography, getPlanDisplay, getPolygonMode, getPolyModeComboBox, getVerticalRange, haveLevels, haveMultipleFields, initDone, loadDataAtLevel, projectionChanged, propertyChange, receiveShareData, relocateDisplay, setCurrentSlice, setDataSelectionLevel, setForwardValue, setIgnoreVerticalDimension, setIs2D, setLevel, setLevelFromUser, setLevelReadoutLabel, setLevels, setMultipleIsTopography, setParameterIsTopography, setPointSize, setPolygonMode, setSettingsLevel, setVerticalRange, shouldShowLevelWidget, shouldShowZSelector, shouldUseZPosition

    Methods inherited from class ucar.unidata.idv.control.GridDisplayControl

    actionPerformed, addTopographyMap, addTopographyMap, applyForecastHourMacro, canDoProgressiveResolution, convertColorRange, doExport, doMakeContourLevelControl, doMakeDataInstance, doMakeLevelControl, doMakeLevelControl, exportDisplayedData, getColorParamName, getColorRangeFromData, getColorUnit, getContourInfo, getDataProjection, getDataRangeInColorUnits, getDefaultContourInfo, getDisplayUnit, getGridDataInstance, getRawDataUnit, initializeDefaultContourInfo, isDisplayUnitAlsoColorUnit, normalizeRectangle, setLevel

    Methods inherited from class ucar.unidata.idv.control.DisplayControlImpl

    activateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addNewData, addNoteText, addPropertiesComponents, addPropertyChangeListener, addRemovable, addSharable, addTimeModeWidget, addToControlContext, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyLineWidth, applyPreferences, applyProperties, applyProperties, applyPropertyValues, applyRange, applySelectRange, applyTimeRange, applyZPosition, boundsClose, canBeDocked, canDataDoProgressiveResolution, canSaveDataInCache, captureWindow, centerOnDisplay, changeColorUnit, changeDisplayUnit, checkBoundsChange, checkIfDataOk, checkImageSize, clearDataInstance, clearPrototype, clearViewManagers, clipDisplayedRange, close, colorUnitChanged, controlChanged, convertColorRange, convertRange, createDisplayListDisplayable, createIdvWindow, dataChanged, dataSelectionAdaptiveResolution, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, doApplyProperties, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeSkipFactorSlider, doMakeSmoothingWidget, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, doMakeZPositionSlider, doRemoveWithPrompt, findDisplayInfo, findDisplays, findDisplays, firePropertyChangeEvent, firstFrameDone, forceUpdateList, formatForCursorReadout, getActive, getAnimation, getAnimation, getAnimation, getAnimation, getAnimationInfo, getAnimationWidget, getAttributeFlags, getCachedData, getCanDoRemoveAll, getCategories, getChangeParameterLabel, getCollapseLegend, getColor, getColorDimness, getColorScaleInfo, getColorTable, getColorTableForDisplayable, getColorTableToApply, getColorTableWidget, getColorUnitName, getColorWidgetLabel, getComponentHolder, getContents, getControlChangeSleepTime, getControlContext, getControlMenus, getCursorReadout, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataProjectionForMenu, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, getDefaultDisplayListTemplate, getDefaultDisplayListTemplateJPSS, getDefaultDisplayListTemplatePoint, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDetailsContents, getDisplayAltitudeType, getDisplayCategory, getDisplayCenter, getDisplayConventions, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListData, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, getEditMenuItems, getExpandedInTabs, getExtraLabelTemplate, getExtraLegendComponent, getExtraMenus, getFileMenuItems, getFileMenuItems, getGraphicsConfiguration, getGrid, getGrid, getHadDataChoices, getHaveInitialized, getHelpIds, getHelpMenuItems, getId, getIdv, getImage, getImage, getInitDataChoices, getInitialFastRendering, getInitialZPosition, getInternalAnimation, getInternalAnimation, getIsProgressiveResolution, getIsTimeDriver, getLabel, getLastFileMenuItems, getLatLonPoints, getLegendButtons, getLegendComponent, getLegendLabel, getLegendLabelTemplate, getLegendToolTip, getLineWidth, getLineWidthWidget, getLineWidthWidgetLabel, getLockVisibilityToggle, getLongParamName, getMainPanel, getMainPanelSize, getMakeWindow, getMapDisplay, getMapViewManager, getMapViewProjection, getMatchDisplayRegion, getMenuLabel, getMyDataChoices, getNavigatedDisplay, getNoteText, getObjectStore, getOkToFireEvents, getOldColorTableOrInitialColorTable, getOriginalDataChoicesLabel, getOuterContents, getPointSize, getProperty, getProperty, getPropertyDisplayName, getRange, getRangeForColorTable, getRangeToApply, getRequestProperties, getSamplingModeName, getSamplingModeValue, getSamplingModeValue, getSelectRange, getSelectRangeEnabled, getSelectRangeWidget, getSettingsPanel, getShortParamName, getShoulDoProgressiveResolution, getShowInDisplayList, getShowInLegend, getShowInTabs, getShowNoteText, getSkipValue, getSmoothingFactor, getSmoothingType, getSomeAnimation, getStore, getTemplateName, getTextureQuality, getTextureQualityLabel, getTimeSet, getTitle, getTransientProperty, getUnitForColor, getUseFastRendering, getUsesTimeDriver, getUseTimesInAnimation, getVersion, getVerticalValue, getViewAnimation, getViewContext, getViewer, getViewManager, getViewManager, getViewManager, getViewManagerClassNames, getViewManagerForCapture, getViewManagers, getViewMenuItems, getVisbilityAnimationPause, getWasUnPersisted, getWindow, getWindowSize, getWindowVisible, getWindowX, getWindowY, getZPosition, getZPositionSliderLabel, guiExported, guiImported, handleDisplayChanged, handleWindowClosing, hasForecastHourMacro, hasMapProjection, hasTimeMacro, haveDataTimes, haveParameterDefaults, hide, hyperlinkUpdate, inGlobeDisplay, init, init, init, initAfterUnPersistence, initAfterUnPersistence, initAsPrototype, initAsTemplate, initBasic, initializeWithNewData, initWindow, isDisplay3D, isGuiShown, isInitDone, isInTransectView, isInViewManager, isRectBad, itemStateChanged, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeMiscButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, putTransientProperty, reallySetAttributeFlags, redoGuiLayout, reloadDataSource, reloadDataSourceInThread, relocateDisplay, removeDataChoice, removeDisplayable, removeDisplayables, removeDisplayables, removeOnWindowClose, removePropertyChangeListener, resetData, resetDimness, resetViewManager, revertToDefaultColorTable, revertToDefaultColorTable, revertToDefaultRange, revertToDefaultRange, saveAsFavorite, saveAsParameterDefaults, saveAsPrototype, saveAsTemplate, saveDataChoiceInCache, saveImage, selectDataChoices, setAnimationInfo, setAnimationSet, setAttributeFlags, setCachedData, setCanDoRemoveAll, setCategories, setCollapseLegend, setColor, setColorBrighter, setColorDimmer, setColorDimness, setColorScaleInfo, setColorScaleVisible, setColorTable, setColorTable, setColorTableName, setColorUnit, setColorUnitName, setComponentHolder, setContents, setContourInfo, setContourInfoParams, setData, setDataChoices, setDataInstance, setDataInstances, setDataSelection, setDataTimeRange, setDefaultSamplingMode, setDefaultView, setDisplayableVisibility, setDisplayableVisiblity, setDisplayActive, setDisplayCategory, setDisplayId, setDisplayInactive, setDisplayListColor, setDisplayListColor, setDisplayListProperties, setDisplayListTemplate, setDisplayName, setDisplayUnit, setDisplayUnitName, setDisplayVisibility, setDoCursorReadout, setExpandedInTabs, setExtraLabelTemplate, setHadDataChoices, setHelpUrl, setId, setInitDataChoices, setInitialSettings, setInitialViewManager, setIsProgressiveResolution, setIsRaster, setIsTimeDriver, setLabelAsPreference, setLegendBackground, setLegendForeground, setLegendLabel, setLegendLabelTemplate, setLineWidth, setLockVisibilityToggle, setMainPanelDimensions, setMainPanelSize, setMakeWindow, setMatchDisplayRegion, setName, setNameFromUser, setNewColorUnit, setNewDisplayUnit, setNoteText, setOkToFireEvents, setOriginalDataChoicesLabel, setParamName, setPersistedVisadData, setProjectionInView, setProjectionInView, setProperty, setRange, setSelectRange, setSelectRangeEnabled, setSettingsDisplayUnit, setSharedColorScaleInfo, setShowInDisplayList, setShowInLegend, setShowInTabs, setShowNoteText, setSkipValue, setSmoothingFactor, setSmoothingType, setTemplateName, setTextureQuality, setTitle, setUnitForColor, setUseFastRendering, setUsesTimeDriver, setUseTimesInAnimation, setVersion, setViewer, setViewManagerClassNames, setViewManagerDisplayListColor, setVisbilityAnimationPause, setWindowSize, setWindowVisible, setWindowX, setWindowY, setZPosition, setZPosition, shouldAddAnimationListener, shouldApplyFastRendering, shouldBeDocked, shouldWindowBeVisible, show, showColorControlWidget, showColorDialog, showColorDialog, showColorScaleDialog, showColorScales, showColorSwatches, showContourPropertiesDialog, showDetails, showDisplaySettingsDialog, showHelp, showLegendMenu, showNormalCursor, showProperties, showTimeRangeDialog, showWaitCursor, timeChanged, toFront, toggleNoteTextArea, toggleVisibilityForVectorGraphicsRendering, toggleWindow, toString, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLegendLabel, updateLockButton, updateMiscButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, viewpointChanged, writeTestArchive, xxxsetDisplayActive, zSliderChanged

    Methods inherited from class ucar.unidata.idv.control.DisplayControlBase

    boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage

    Methods inherited from class ucar.unidata.collab.SharableImpl

    applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ucar.unidata.idv.DisplayControl

    getTmpProperty, putTmpProperty, removeTmpProperty

    Methods inherited from interface ucar.unidata.collab.Sharable

    getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime
  • Field Details

  • Constructor Details

  • Method Details

    • init

      public boolean init(ucar.unidata.data.DataChoice dataChoice) throws VisADException, RemoteException
      Description copied from class: ucar.unidata.idv.control.PlanViewControl
      Called to make this kind of Display Control; also calls code to made the Displayable. This method is called from inside DisplayControlImpl init(several args).
      Overrides:
      init in class ucar.unidata.idv.control.PlanViewControl
      Parameters:
      dataChoice - the DataChoice of the moment.
      Returns:
      true if successful
      Throws:
      VisADException - VisAD Error
      RemoteException - Java RMI error
    • getImageDefaults

      protected ucar.unidata.xml.XmlResourceCollection getImageDefaults()
      Get the xml resource collection that defines the image default xml
      Returns:
      Image defaults resources
    • doMakeContents

      Called by doMakeWindow in DisplayControlImpl, which then calls its doMakeMainButtonPanel(), which makes more buttons.
      Overrides:
      doMakeContents in class ucar.unidata.idv.control.ImagePlanViewControl
      Returns:
      container of contents
    • doRemove

      public void doRemove() throws RemoteException, VisADException
      Description copied from class: ucar.unidata.idv.control.PlanViewControl
      Remove this control
      Specified by:
      doRemove in interface ucar.unidata.idv.DisplayControl
      Overrides:
      doRemove in class ucar.unidata.idv.control.PlanViewControl
      Throws:
      RemoteException - Java RMI problem
      VisADException - VisAD data problem
    • setInitialHistogramRange

      private void setInitialHistogramRange()
      Take out the histogram-related stuff that was in doMakeContents and put it in a standalone method, so we can wait and call it only after the histogram is actually initialized.
    • getHistogramTabComponent

      Description copied from class: ucar.unidata.idv.control.ImagePlanViewControl
      _more_
      Overrides:
      getHistogramTabComponent in class ucar.unidata.idv.control.ImagePlanViewControl
      Returns:
      _more_
    • contrastStretch

      protected void contrastStretch(double low, double high)
    • setData

      public boolean setData(ucar.unidata.data.DataChoice dataChoice) throws VisADException, RemoteException
      Description copied from class: ucar.unidata.idv.control.ImagePlanViewControl
      Called to initialize this control from the given dataChoice; sets levels controls to match data; make data slice at first level; set display's color table and display units.
      Overrides:
      setData in class ucar.unidata.idv.control.ImagePlanViewControl
      Parameters:
      dataChoice - choice that describes the data to be loaded.
      Returns:
      true if successful
      Throws:
      VisADException - VisAD Error
      RemoteException - Java RMI error
    • setRange

      public void setRange(ucar.unidata.util.Range newRange) throws RemoteException, VisADException
      Description copied from class: ucar.unidata.idv.control.ImagePlanViewControl
      _more_
      Overrides:
      setRange in class ucar.unidata.idv.control.ImagePlanViewControl
      Parameters:
      newRange - _more_
      Throws:
      RemoteException - _more_
      VisADException - _more_
    • resetColorTable

      public void resetColorTable()
      Description copied from class: ucar.unidata.idv.control.ImagePlanViewControl
      _more_
      Overrides:
      resetColorTable in class ucar.unidata.idv.control.ImagePlanViewControl
    • getSaveMenuItems

      protected void getSaveMenuItems(List items, boolean forMenuBar)
      Description copied from class: ucar.unidata.idv.control.DisplayControlImpl
      Add in the menu items for the save and export display template
      Overrides:
      getSaveMenuItems in class ucar.unidata.idv.control.DisplayControlImpl
      Parameters:
      items - List of menu items to add into
      forMenuBar - if this is for the menubar
    • popupPersistImageParameters

    • makeParameterValues

    • saveDataToLocalDisk

      public void saveDataToLocalDisk()
    • popupSaveImageParameters

      public void popupSaveImageParameters()
    • showSaveDialog

      private void showSaveDialog()
    • newComponentError

      private void newComponentError(String comp)
    • setStatus

      private void setStatus(String msg)
    • removeNode

      private void removeNode(Element node)
    • makeNewFolder

      private Node makeNewFolder()
    • makeXmlTree

      private void makeXmlTree()
      Just creates an empty XmlTree
    • getFolders

      private List getFolders()
    • doDeleteRequest

      private void doDeleteRequest(Node node)
    • makePopupMenu

      private boolean makePopupMenu(ucar.unidata.ui.XmlTree theTree, Element node, JPopupMenu popup)
      Create and popup a command menu for when the user has clicked on the given xml node.
      Parameters:
      theTree - The XmlTree object displaying the current xml document.
      node - The xml node the user clicked on.
      popup - The popup menu to put the menu items in.
      Returns:
      Did we add any items into the menu
    • moveParameterSet

      public void moveParameterSet(Element parent, Element newFolder)
    • doRename

      private void doRename(Element node)
    • addToContents

      private void addToContents(JComponent comp)
      Remove the currently display gui and insert the given one.
      Parameters:
      comp - The new gui.
    • getDataSource

      public ucar.unidata.data.DataSourceImpl getDataSource()
      Description copied from class: ucar.unidata.idv.control.ImagePlanViewControl
      _more_
      Overrides:
      getDataSource in class ucar.unidata.idv.control.ImagePlanViewControl
      Returns:
      _more_
    • saveParameterSet

    • getViewMenuItems

      protected void getViewMenuItems(List items, boolean forMenuBar)
      Description copied from class: ucar.unidata.idv.control.DisplayControlImpl
      Add the relevant view menu items into the list
      Overrides:
      getViewMenuItems in class ucar.unidata.idv.control.DisplayControlImpl
      Parameters:
      items - List of menu items
      forMenuBar - Is this for the menu in the window's menu bar or for a popup menu in the legend