ucar.unidata.idv.control.chart
Class ReadoutTable

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.chart.ChartWrapper
                  extended by ucar.unidata.idv.control.chart.ReadoutTable
All Implemented Interfaces:
KeyListener, PropertyChangeListener, EventListener, Sharable

public class ReadoutTable
extends ChartWrapper

Provides a table view

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

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.unidata.idv.control.chart.ChartWrapper
ChartWrapper.FieldProperties
 
Field Summary
 
Fields inherited from class ucar.unidata.idv.control.chart.ChartWrapper
animationWidget, dataChoiceWrappers, PROP_SELECTEDTIME, PROP_TIMERANGE, timeFilterSource, timeSelectSource
 
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
ReadoutTable()
          Default ctor
ReadoutTable(String name, List dataChoices)
          Ctor
 
Method Summary
protected  JComponent doMakeContents()
          make the gui
 void doRemove()
          Been removed, do any cleanup.
protected  List getPopupMenuItems(List items)
          get the menu items
 boolean getShowRawData()
          Get the ShowRawData property.
 String getTypeName()
          Return the human readable name of this chart
 WayPoint getWayPoint()
          Get the WayPoint property.
 void loadData()
          Create the charts
 void propertyChange(PropertyChangeEvent event)
          Handle event
 void removeWayPoint()
          Remove the waypoint
 void setShowRawData(boolean value)
          Set the ShowRawData property.
 void setWayPoint(WayPoint value)
          Set the WayPoint property.
 String toString()
          to string
 
Methods inherited from class ucar.unidata.idv.control.chart.ChartWrapper
addDataChoice, addDataChoices, addField, animationTimeChanged, applyJython, applyJython, applyProperties, canBeASourceForTimeSelectionEvents, canDoDataChoiceList, canDoDriveTime, canDoJython, canDoMinMaxDate, canDoParameters, canDoRemoveParameters, canDoResolution, canDoTimeFilters, canDoTimeSelect, canDoWrapperColor, canDoWrapperSide, createDataChoiceWrapper, doApplyProperties, doMakeWrapperDisplayComponent, doMultipleAddFields, filterData, formatValue, getAnimationShareGroup, getCategories, getDataChoices, getDataChoiceWrappers, getDriveTime, getFieldSelectionLabels, getFlatField, getInterpreter, getJython, getMaxDate, getMinDate, getPropertiesComponents, getResolution, getShowTime, getTimeFilterRanges, getTimeFilterSource, getTimeRanges, getTimeSelectSource, getTimeValues, init, initDone, initializeJython, keyPressed, keyReleased, keyTyped, removeTimeFilterSource, removeTimeSelectSource, setAnimationShareGroup, setDataChoiceWrappers, setDriveTime, setJython, setMaxDate, setMinDate, setResolution, setShowTime, setTimeFilterSource, setTimeFromAnimation, setTimeSelectSource, wrapDataChoices
 
Methods inherited from class ucar.unidata.idv.control.multi.DisplayComponent
addGroupMenuItems, doMakeDisplayLabel, doSaveImage, doSaveMovie, getBackgroundColor, getContents, getDisplayables, getDisplayControl, getDisplayGroup, getDisplayLabel, getIsRemoved, getLabelShown, getName, initAfterUnPersistence, removeDisplayComponent, setBackgroundColor, setDisplayControl, setDisplayGroup, setIsRemoved, setLabelShown, setName, showPopup, showProperties
 
Methods inherited from class ucar.unidata.collab.PropertiedThing
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, 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
 

Constructor Detail

ReadoutTable

public ReadoutTable()
Default ctor


ReadoutTable

public ReadoutTable(String name,
                    List dataChoices)
Ctor

Parameters:
name - The name
dataChoices - List of data choices
Method Detail

getTypeName

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

Specified by:
getTypeName in class ChartWrapper
Returns:
Chart type name

doRemove

public void doRemove()
Been removed, do any cleanup.

Overrides:
doRemove in class ChartWrapper

doMakeContents

protected JComponent doMakeContents()
make the gui

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

propertyChange

public void propertyChange(PropertyChangeEvent event)
Handle event

Specified by:
propertyChange in interface PropertyChangeListener
Overrides:
propertyChange in class ChartWrapper
Parameters:
event - The event

getPopupMenuItems

protected List getPopupMenuItems(List items)
get the menu items

Overrides:
getPopupMenuItems in class ChartWrapper
Parameters:
items - List of menu items
Returns:
The items list

removeWayPoint

public void removeWayPoint()
Remove the waypoint


loadData

public void loadData()
              throws VisADException,
                     RemoteException
Create the charts

Overrides:
loadData in class ChartWrapper
Throws:
RemoteException - On badness
VisADException - On badness

toString

public String toString()
to string

Overrides:
toString in class DisplayComponent
Returns:
string

setShowRawData

public void setShowRawData(boolean value)
Set the ShowRawData property.

Parameters:
value - The new value for ShowRawData

getShowRawData

public boolean getShowRawData()
Get the ShowRawData property.

Returns:
The ShowRawData

setWayPoint

public void setWayPoint(WayPoint value)
Set the WayPoint property.

Parameters:
value - The new value for WayPoint

getWayPoint

public WayPoint getWayPoint()
Get the WayPoint property.

Returns:
The WayPoint