ucar.unidata.idv.control.multi
Class ViewWrapper

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.collab.PropertiedThing
          extended by ucar.unidata.idv.control.multi.DisplayComponent
              extended by ucar.unidata.idv.control.multi.ViewWrapper
All Implemented Interfaces:
PropertyChangeListener, EventListener, Sharable

public class ViewWrapper
extends DisplayComponent

Provides a table view

Version:
$Revision: 1.8 $
Author:
IDV Development Team

Field Summary
 
Fields inherited from class ucar.unidata.idv.control.multi.DisplayComponent
CMD_SAVEIMAGE, CMD_SAVEMOVIE, displayControl, displayLabel, hasBeenInitialized, isRemoved, PROP_REMOVED
 
Fields inherited from class ucar.unidata.collab.PropertiedThing
propertiesDialog
 
Constructor Summary
ViewWrapper()
          Default ctor
ViewWrapper(ViewManager viewManager)
          Default ctor
 
Method Summary
protected  JComponent doMakeContents()
          make the gui
 void doRemove()
          Cleanup
 String getTypeName()
          Return the human readable name of this component
 ViewManager getViewManager()
          Get the DisplayControl property.
 void initAfterUnPersistence(MultiDisplayHolder displayControl, ControlContext vc, Hashtable properties)
          Initial after we have been unpersisted
 void setMapViewManager(MapViewManager value)
          Deprecated. Use setViewManager
 void setViewManager(ViewManager value)
          Set the DisplayControl property.
 
Methods inherited from class ucar.unidata.idv.control.multi.DisplayComponent
addGroupMenuItems, animationTimeChanged, applyProperties, doApplyProperties, doMakeDisplayLabel, doSaveImage, doSaveMovie, getBackgroundColor, getContents, getDisplayables, getDisplayControl, getDisplayGroup, getDisplayLabel, getIsRemoved, getLabelShown, getName, getPopupMenuItems, getPropertiesComponents, initDone, loadData, removeDisplayComponent, setBackgroundColor, setDisplayControl, setDisplayGroup, setIsRemoved, setLabelShown, setName, showPopup, showProperties, toString
 
Methods inherited from class ucar.unidata.collab.PropertiedThing
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, propertyChange, removePropertyChangeListener, showProperties
 
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, 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
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Constructor Detail

ViewWrapper

public ViewWrapper()
Default ctor


ViewWrapper

public ViewWrapper(ViewManager viewManager)
Default ctor

Parameters:
viewManager - The mvm to wrap
Method Detail

getTypeName

public String getTypeName()
Return the human readable name of this component

Overrides:
getTypeName in class DisplayComponent
Returns:
Component type name

initAfterUnPersistence

public void initAfterUnPersistence(MultiDisplayHolder displayControl,
                                   ControlContext vc,
                                   Hashtable properties)
Initial after we have been unpersisted

Overrides:
initAfterUnPersistence in class DisplayComponent
Parameters:
displayControl - The display control we are part of
vc - The control contex
properties - Any properties

doRemove

public void doRemove()
Cleanup

Overrides:
doRemove in class DisplayComponent

doMakeContents

protected JComponent doMakeContents()
make the gui

Specified by:
doMakeContents in class DisplayComponent
Returns:
The gui contents

setViewManager

public void setViewManager(ViewManager value)
Set the DisplayControl property.

Parameters:
value - The new value for DisplayControl

getViewManager

public ViewManager getViewManager()
Get the DisplayControl property.

Returns:
The DisplayControl

setMapViewManager

public void setMapViewManager(MapViewManager value)
Deprecated. Use setViewManager

Set the DisplayControl property.

Parameters:
value - The new value for DisplayControl