public class ScatterPlotChartWrapper extends PlotWrapper
Modifier and Type | Class and Description |
---|---|
static class |
ScatterPlotChartWrapper.MyRenderer
Just a hook to turn off the series display in the legend and to
hold the shape to draw.
|
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 |
---|
ScatterPlotChartWrapper()
Default ctor
|
ScatterPlotChartWrapper(java.lang.String name,
java.util.List dataChoices)
Ctor
|
Modifier and Type | Method and Description |
---|---|
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
|
java.lang.String |
chartPanelGetToolTipText(java.awt.event.MouseEvent event)
Hook to intercept these calls on the chart
|
boolean |
chartPanelMouseClicked(java.awt.event.MouseEvent event)
Handle the event
|
protected javax.swing.JComponent |
doMakeContents()
Create the gui
|
protected javax.swing.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
|
java.util.List |
getCategories()
Get the data categories for choosing new data
|
java.util.List |
getFieldSelectionLabels()
Returns the list of labels used for selecting data choices.
|
java.lang.String |
getTypeName()
Return the human readable name of this chart
|
void |
loadData()
Create the charts
|
java.lang.String |
toString()
to string
|
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
addDataChoice, addDataChoices, addField, animationTimeChanged, applyJython, applyJython, canDoDataChoiceList, canDoDriveTime, canDoJython, canDoMinMaxDate, canDoRemoveParameters, canDoResolution, canDoTimeFilters, canDoTimeSelect, canDoWrapperSide, createDataChoiceWrapper, doApplyProperties, doRemove, filterData, formatValue, getAnimationShareGroup, getDataChoices, getDataChoiceWrappers, getDriveTime, 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
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 ScatterPlotChartWrapper()
public ScatterPlotChartWrapper(java.lang.String name, java.util.List dataChoices)
name
- The namedataChoices
- List of data choicespublic java.lang.String getTypeName()
getTypeName
in class ChartWrapper
public boolean chartPanelMouseClicked(java.awt.event.MouseEvent event)
chartPanelMouseClicked
in class PlotWrapper
event
- the eventpublic java.util.List getCategories()
getCategories
in class ChartWrapper
protected javax.swing.JComponent doMakeContents()
doMakeContents
in class DisplayComponent
public java.lang.String chartPanelGetToolTipText(java.awt.event.MouseEvent event)
chartPanelGetToolTipText
in class PlotWrapper
event
- The eventprotected boolean applyProperties()
applyProperties
in class PlotWrapper
public void loadData() throws visad.VisADException, java.rmi.RemoteException
loadData
in class ChartWrapper
java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnessprotected javax.swing.JComponent doMakeWrapperDisplayComponent(int idx, ChartWrapper.FieldProperties fieldProperty)
doMakeWrapperDisplayComponent
in class ChartWrapper
idx
- Which onefieldProperty
- Holder of stuffpublic java.util.List getFieldSelectionLabels()
getFieldSelectionLabels
in class ChartWrapper
public boolean doMultipleAddFields()
doMultipleAddFields
in class ChartWrapper
public boolean canDoParameters()
canDoParameters
in class ChartWrapper
protected boolean canBeASourceForTimeSelectionEvents()
canBeASourceForTimeSelectionEvents
in class ChartWrapper
protected boolean canDoColors()
canDoColors
in class PlotWrapper
public boolean canDoWrapperColor()
canDoWrapperColor
in class ChartWrapper
public java.lang.String toString()
toString
in class DisplayComponent