public class McVHistogramWrapper extends HistogramWrapper
PlotWrapper.MyChartPanelChartWrapper.FieldPropertieschart, chartPanel, EVENT_DONTPASSON, EVENT_PASSONanimationWidget, dataChoiceWrappers, PROP_SELECTEDTIME, PROP_TIMERANGE, timeFilterSource, timeSelectSourceCMD_SAVEIMAGE, CMD_SAVEMOVIE, displayControl, displayLabel, hasBeenInitialized, isRemoved, PROP_REMOVEDpropertiesDialog| Constructor and Description |
|---|
McVHistogramWrapper()
Default ctor
|
McVHistogramWrapper(java.lang.String name,
java.util.List dataChoices,
DisplayControlImpl control)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearHistogram()
Clear the histogram.
|
protected boolean |
doApplyProperties()
Apply the properties
|
javax.swing.JComponent |
doMakeContents()
_more_
|
void |
doRemove()
Been removed, do any cleanup
|
protected void |
doReset()
_more_
|
double |
getHigh()
_more_
|
double |
getLow()
_more_
|
protected java.util.List |
getPopupMenuItems(java.util.List items)
Add the default menu items
|
protected org.jfree.data.Range |
getRange()
_more_
|
boolean |
hasDisplayControl()
_more_
|
void |
loadData(visad.FlatField data)
Create the histogram.
|
protected boolean |
modifyRange(double lowVal,
double hiVal)
Modify the low and high values of the domain axis.
|
protected boolean |
modifyRange(double lowVal,
double hiVal,
boolean notify)
Modify the low and high values of the domain axis.
|
boolean |
removeDisplayComponent()
Remove me
|
void |
resetPlot()
reset the histogram to its previous range
|
void |
saveImage()
_more_
|
void |
setHigh(double val)
_more_
|
void |
setLow(double val)
_more_
|
void |
showPopup(javax.swing.JComponent where,
int x,
int y)
SHow the popup menu
|
boolean |
showProperties()
Show the properties dialog
|
applyProperties, canDoColors, canDoWrapperColor, getBins, getPropertiesComponents, getStacked, getTypeName, loadData, setBins, setStackedannotationChanged, chartPanelGetToolTipText, chartPanelMouseClicked, chartPanelMouseDragged, chartPanelMousePressed, chartPanelMouseReleased, doMakeChartPanel, getAutoRange, getBackgroundColor, getChartPanel, getDataAreaColor, getDomainLineState, getPreferredChartSize, getPropertyTabs, getRangeLineState, initXYPlot, keyPressed, keyReleased, keyTyped, okToDraw, panPlot, panPlot, setAutoRange, setBackgroundColor, setDataAreaColor, setDomainLineState, setName, setRangeLineState, signalChartChangedaddDataChoice, addDataChoices, addField, animationTimeChanged, applyJython, applyJython, canBeASourceForTimeSelectionEvents, canDoDataChoiceList, canDoDriveTime, canDoJython, canDoMinMaxDate, canDoParameters, canDoRemoveParameters, canDoResolution, canDoTimeFilters, canDoTimeSelect, canDoWrapperSide, createDataChoiceWrapper, doMakeWrapperDisplayComponent, doMultipleAddFields, 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, wrapDataChoicesaddGroupMenuItems, doMakeDisplayLabel, doSaveImage, doSaveMovie, getContents, getDisplayables, getDisplayControl, getDisplayGroup, getDisplayLabel, getIsRemoved, getLabelShown, getName, initAfterUnPersistence, setDisplayControl, setDisplayGroup, setIsRemoved, setLabelShown, toStringaddPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, isShowing, removePropertyChangeListener, showPropertiesapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogpublic McVHistogramWrapper()
public McVHistogramWrapper(java.lang.String name,
java.util.List dataChoices,
DisplayControlImpl control)
name - The name.dataChoices - List of data choices.control - "Parent" control.public javax.swing.JComponent doMakeContents()
doMakeContents in class HistogramWrapperpublic void clearHistogram()
public void saveImage()
public void loadData(visad.FlatField data)
throws java.lang.IllegalArgumentException,
java.rmi.RemoteException,
visad.VisADException
data - Data to use in histogram.java.lang.IllegalArgumentException - if data is all NaNs.java.rmi.RemoteException - On badnessvisad.VisADException - On badnessprotected boolean modifyRange(double lowVal,
double hiVal)
lowVal - Low value.hiVal - High value.false if plot is null. true
otherwise.protected boolean modifyRange(double lowVal,
double hiVal,
boolean notify)
lowVal - Low value.hiVal - High value.notify - Whether or not listeners should be notified.false if plot is null. true
otherwise.protected org.jfree.data.Range getRange()
protected void doReset()
public void resetPlot()
public double getLow()
public void setLow(double val)
val - _more_public double getHigh()
public void setHigh(double val)
val - _more_public void showPopup(javax.swing.JComponent where,
int x,
int y)
showPopup in class DisplayComponentwhere - component to show near tox - xy - yprotected java.util.List getPopupMenuItems(java.util.List items)
getPopupMenuItems in class PlotWrapperitems - List of menu itemspublic boolean showProperties()
showProperties in class DisplayComponentpublic boolean hasDisplayControl()
public boolean removeDisplayComponent()
removeDisplayComponent in class DisplayComponentprotected boolean doApplyProperties()
doApplyProperties in class ChartWrapperpublic void doRemove()
doRemove in class ChartWrapper