Package ucar.unidata.idv.control.chart
Class TableChartWrapper
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.collab.PropertiedThing
ucar.unidata.idv.control.multi.DisplayComponent
ucar.unidata.idv.control.chart.ChartWrapper
ucar.unidata.idv.control.chart.TableChartWrapper
- All Implemented Interfaces:
KeyListener,PropertyChangeListener,EventListener,Sharable
Provides a table view
- Version:
- $Revision: 1.25 $
- 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, timeSelectSourceFields inherited from class ucar.unidata.idv.control.multi.DisplayComponent
CMD_SAVEIMAGE, CMD_SAVEMOVIE, displayControl, displayLabel, hasBeenInitialized, isRemoved, PROP_REMOVEDFields inherited from class ucar.unidata.collab.PropertiedThing
propertiesDialog -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCan this component be a source for time selection eventsprotected booleanDon't do resolution in the properties dialogprotected JComponentmake the guivoidExport the table data as csvprotected ListgetPopupMenuItems(List items) Get the popup menu itemsbooleanGet the ShowRawData property.Return the human readable name of this chartvoidloadData()Create the chartsvoidsetShowRawData(boolean value) Set the ShowRawData property.toString()to stringMethods inherited from class ucar.unidata.idv.control.chart.ChartWrapper
addDataChoice, addDataChoices, addField, animationTimeChanged, applyJython, applyJython, applyProperties, canDoDataChoiceList, canDoDriveTime, canDoJython, canDoMinMaxDate, canDoParameters, canDoRemoveParameters, canDoTimeFilters, canDoTimeSelect, canDoWrapperColor, canDoWrapperSide, createDataChoiceWrapper, doApplyProperties, doMakeWrapperDisplayComponent, doMultipleAddFields, doRemove, 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, propertyChange, removeTimeFilterSource, removeTimeSelectSource, setAnimationShareGroup, setDataChoiceWrappers, setDriveTime, setJython, setMaxDate, setMinDate, setResolution, setShowTime, setTimeFilterSource, setTimeFromAnimation, setTimeSelectSource, wrapDataChoicesMethods 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, showPropertiesMethods inherited from class ucar.unidata.collab.PropertiedThing
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, removePropertyChangeListener, showPropertiesMethods 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
-
Constructor Details
-
TableChartWrapper
public TableChartWrapper()Default ctor -
TableChartWrapper
Ctor- Parameters:
name- The namedataChoices- List of data choices
-
-
Method Details
-
getTypeName
Return the human readable name of this chart- Specified by:
getTypeNamein classChartWrapper- Returns:
- Chart type name
-
doMakeContents
make the gui- Specified by:
doMakeContentsin classDisplayComponent- Returns:
- The gui contents
-
getPopupMenuItems
Get the popup menu items- Overrides:
getPopupMenuItemsin classChartWrapper- Parameters:
items- menu items list- Returns:
- The items list
-
exportData
public void exportData()Export the table data as csv -
loadData
Create the charts- Overrides:
loadDatain classChartWrapper- Throws:
RemoteException- On badnessVisADException- On badness
-
canDoResolution
protected boolean canDoResolution()Don't do resolution in the properties dialog- Overrides:
canDoResolutionin classChartWrapper- Returns:
- do resolution in the properties dialog
-
canBeASourceForTimeSelectionEvents
protected boolean canBeASourceForTimeSelectionEvents()Can this component be a source for time selection events- Overrides:
canBeASourceForTimeSelectionEventsin classChartWrapper- Returns:
- true
-
toString
to string- Overrides:
toStringin classDisplayComponent- 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
-