public class HistogramWrapper extends PlotWrapper
PlotWrapper.MyChartPanel
ChartWrapper.FieldProperties
chart, chartPanel, EVENT_DONTPASSON, EVENT_PASSON
animationWidget, dataChoiceWrappers, PROP_SELECTEDTIME, PROP_TIMERANGE, timeFilterSource, timeSelectSource
CMD_SAVEIMAGE, CMD_SAVEMOVIE, displayControl, displayLabel, hasBeenInitialized, isRemoved, PROP_REMOVED
propertiesDialog
Constructor and Description |
---|
HistogramWrapper()
Default ctor
|
HistogramWrapper(java.lang.String name,
java.util.List dataChoices)
Ctor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyProperties()
Apply properties
|
protected boolean |
canDoColors()
Can we do chart colors
|
boolean |
canDoWrapperColor()
Can we have colors on the data chocie wrappers in the properties dialog
|
protected javax.swing.JComponent |
doMakeContents()
Create the chart if needed
|
int |
getBins()
Get the Bins property.
|
protected void |
getPropertiesComponents(java.util.List comps,
int tabIdx)
Add components to properties dialog
|
boolean |
getStacked()
Get the Stacked property.
|
java.lang.String |
getTypeName()
Type name
|
void |
loadData()
Create the charts
|
void |
setBins(int value)
Set the Bins property.
|
void |
setStacked(boolean value)
Set the Stacked property.
|
annotationChanged, chartPanelGetToolTipText, chartPanelMouseClicked, chartPanelMouseDragged, chartPanelMousePressed, chartPanelMouseReleased, doMakeChartPanel, getAutoRange, getBackgroundColor, getChartPanel, getDataAreaColor, getDomainLineState, getPopupMenuItems, getPreferredChartSize, getPropertyTabs, getRangeLineState, initXYPlot, keyPressed, keyReleased, keyTyped, okToDraw, panPlot, panPlot, setAutoRange, setBackgroundColor, setDataAreaColor, setDomainLineState, setName, setRangeLineState, signalChartChanged
addDataChoice, addDataChoices, addField, animationTimeChanged, applyJython, applyJython, canBeASourceForTimeSelectionEvents, canDoDataChoiceList, canDoDriveTime, canDoJython, canDoMinMaxDate, canDoParameters, canDoRemoveParameters, canDoResolution, canDoTimeFilters, canDoTimeSelect, canDoWrapperSide, createDataChoiceWrapper, doApplyProperties, doMakeWrapperDisplayComponent, doMultipleAddFields, doRemove, filterData, formatValue, getAnimationShareGroup, getCategories, getDataChoices, getDataChoiceWrappers, getDriveTime, getFieldSelectionLabels, getFlatField, getInterpreter, getJython, getMaxDate, getMinDate, getResolution, getShowTime, getTimeFilterRanges, getTimeFilterSource, getTimeRanges, getTimeSelectSource, getTimeValues, init, initDone, initializeJython, propertyChange, removeTimeFilterSource, removeTimeSelectSource, setAnimationShareGroup, setDataChoiceWrappers, setDriveTime, setJython, setMaxDate, setMinDate, setResolution, setShowTime, setTimeFilterSource, setTimeFromAnimation, setTimeSelectSource, wrapDataChoices
addGroupMenuItems, doMakeDisplayLabel, doSaveImage, doSaveMovie, getContents, getDisplayables, getDisplayControl, getDisplayGroup, getDisplayLabel, getIsRemoved, getLabelShown, getName, initAfterUnPersistence, removeDisplayComponent, setDisplayControl, setDisplayGroup, setIsRemoved, setLabelShown, showPopup, showProperties, toString
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, isShowing, removePropertyChangeListener, showProperties
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
public HistogramWrapper()
public HistogramWrapper(java.lang.String name, java.util.List dataChoices)
name
- The namedataChoices
- List of data choicespublic java.lang.String getTypeName()
getTypeName
in class ChartWrapper
protected javax.swing.JComponent doMakeContents()
doMakeContents
in class DisplayComponent
public void loadData() throws visad.VisADException, java.rmi.RemoteException
loadData
in class ChartWrapper
java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnessprotected void getPropertiesComponents(java.util.List comps, int tabIdx)
getPropertiesComponents
in class PlotWrapper
comps
- List of componentstabIdx
- Which tab in properties dialogprotected boolean applyProperties()
applyProperties
in class PlotWrapper
protected boolean canDoColors()
canDoColors
in class PlotWrapper
public boolean canDoWrapperColor()
canDoWrapperColor
in class ChartWrapper
public void setBins(int value)
value
- The new value for Binspublic int getBins()
public void setStacked(boolean value)
value
- The new value for Stackedpublic boolean getStacked()