|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.collab.PropertiedThing
ucar.unidata.idv.control.multi.DisplayComponent
ucar.unidata.idv.control.chart.ChartWrapper
ucar.unidata.idv.control.chart.PlotWrapper
ucar.unidata.idv.control.chart.HistogramWrapper
public class HistogramWrapper
Provides a time series chart
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.chart.PlotWrapper |
|---|
PlotWrapper.MyChartPanel |
| 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.PlotWrapper |
|---|
chart, chartPanel, EVENT_DONTPASSON, EVENT_PASSON |
| 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 | |
|---|---|
HistogramWrapper()
Default ctor |
|
HistogramWrapper(String name,
List dataChoices)
Ctor |
|
| Method Summary | |
|---|---|
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 JComponent |
doMakeContents()
Create the chart if needed |
int |
getBins()
Get the Bins property. |
protected void |
getPropertiesComponents(List comps,
int tabIdx)
Add components to properties dialog |
boolean |
getStacked()
Get the Stacked property. |
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. |
| Methods inherited from class ucar.unidata.idv.control.chart.PlotWrapper |
|---|
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 |
| Methods inherited from class ucar.unidata.idv.control.multi.DisplayComponent |
|---|
addGroupMenuItems, doMakeDisplayLabel, doSaveImage, doSaveMovie, getContents, getDisplayables, getDisplayControl, getDisplayGroup, getDisplayLabel, getIsRemoved, getLabelShown, getName, initAfterUnPersistence, removeDisplayComponent, setDisplayControl, setDisplayGroup, setIsRemoved, setLabelShown, showPopup, showProperties, toString |
| Methods inherited from class ucar.unidata.collab.PropertiedThing |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, isShowing, removePropertyChangeListener, showProperties |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HistogramWrapper()
public HistogramWrapper(String name,
List dataChoices)
name - The namedataChoices - List of data choices| Method Detail |
|---|
public String getTypeName()
getTypeName in class ChartWrapperprotected JComponent doMakeContents()
doMakeContents in class DisplayComponent
public void loadData()
throws VisADException,
RemoteException
loadData in class ChartWrapperRemoteException - On badness
VisADException - On badness
protected void getPropertiesComponents(List comps,
int tabIdx)
getPropertiesComponents in class PlotWrappercomps - List of componentstabIdx - Which tab in properties dialogprotected boolean applyProperties()
applyProperties in class PlotWrapperprotected boolean canDoColors()
canDoColors in class PlotWrapperpublic boolean canDoWrapperColor()
canDoWrapperColor in class ChartWrapperpublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||