|
||||||||||
| 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.ScatterPlotChartWrapper
public class ScatterPlotChartWrapper
Provides a scatter plot
| Nested Class Summary | |
|---|---|
static class |
ScatterPlotChartWrapper.MyRenderer
Just a hook to turn off the series display in the legend and to hold the shape to draw. |
| 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 | |
|---|---|
ScatterPlotChartWrapper()
Default ctor |
|
ScatterPlotChartWrapper(String name,
List dataChoices)
Ctor |
|
| Method Summary | |
|---|---|
protected boolean |
applyProperties()
Apply properties |
protected boolean |
canBeASourceForTimeSelectionEvents()
canBeASourceForTimeSelectionEvents |
protected boolean |
canDoColors()
Can we do chart colors |
boolean |
canDoParameters()
Don't add parameters |
boolean |
canDoWrapperColor()
Can we have colors on the data chocie wrappers in the properties dialog |
String |
chartPanelGetToolTipText(MouseEvent event)
Hook to intercept these calls on the chart |
boolean |
chartPanelMouseClicked(MouseEvent event)
Handle the event |
protected JComponent |
doMakeContents()
Create the gui |
protected JComponent |
doMakeWrapperDisplayComponent(int idx,
ChartWrapper.FieldProperties fieldProperty)
Utility to make the gui widget for the wrapper in the properties list |
boolean |
doMultipleAddFields()
When selecting data does the data tree support multiple selections |
List |
getCategories()
Get the data categories for choosing new data |
List |
getFieldSelectionLabels()
Returns the list of labels used for selecting data choices. |
String |
getTypeName()
Return the human readable name of this chart |
void |
loadData()
Create the charts |
String |
toString()
to string |
| Methods inherited from class ucar.unidata.idv.control.chart.PlotWrapper |
|---|
annotationChanged, chartPanelMouseDragged, chartPanelMousePressed, chartPanelMouseReleased, doMakeChartPanel, getAutoRange, getBackgroundColor, getChartPanel, getDataAreaColor, getDomainLineState, getPopupMenuItems, getPreferredChartSize, getPropertiesComponents, 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 |
| 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 ScatterPlotChartWrapper()
public ScatterPlotChartWrapper(String name,
List dataChoices)
name - The namedataChoices - List of data choices| Method Detail |
|---|
public String getTypeName()
getTypeName in class ChartWrapperpublic boolean chartPanelMouseClicked(MouseEvent event)
chartPanelMouseClicked in class PlotWrapperevent - the event
public List getCategories()
getCategories in class ChartWrapperprotected JComponent doMakeContents()
doMakeContents in class DisplayComponentpublic String chartPanelGetToolTipText(MouseEvent event)
chartPanelGetToolTipText in class PlotWrapperevent - The event
protected boolean applyProperties()
applyProperties in class PlotWrapper
public void loadData()
throws VisADException,
RemoteException
loadData in class ChartWrapperRemoteException - On badness
VisADException - On badness
protected JComponent doMakeWrapperDisplayComponent(int idx,
ChartWrapper.FieldProperties fieldProperty)
doMakeWrapperDisplayComponent in class ChartWrapperidx - Which onefieldProperty - Holder of stuff
public List getFieldSelectionLabels()
getFieldSelectionLabels in class ChartWrapperpublic boolean doMultipleAddFields()
doMultipleAddFields in class ChartWrapperpublic boolean canDoParameters()
canDoParameters in class ChartWrapperprotected boolean canBeASourceForTimeSelectionEvents()
canBeASourceForTimeSelectionEvents in class ChartWrapperprotected boolean canDoColors()
canDoColors in class PlotWrapperpublic boolean canDoWrapperColor()
canDoWrapperColor in class ChartWrapperpublic String toString()
toString in class DisplayComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||