Package clickDetector.tdPlots
Class ClickPlotInfo
java.lang.Object
dataPlots.data.TDDataInfo
clickDetector.tdPlots.ClickPlotInfo
- 
Field Summary
FieldsFields inherited from class dataPlots.data.TDDataInfo
UNITS_ANGLE, UNITS_TEMPERATURE - 
Constructor Summary
ConstructorsConstructorDescriptionClickPlotInfo(TDDataProvider tdDataProvider, ClickControl clickControl, TDGraph tdGraph, PamDataBlock pamDataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidClear any residual drawing objects that get held between calls, e.g.booleaneditOptions(Window frame) Edit options - generally involves throwing up a dialog of some sort.Get the CickControl class fro this ClickPlotInfogetDataValue(PamDataUnit pamDataUnit) Gets a value for a specific data unit which should be in the same units as the scale information.intgetFixedScaleInformation(int orientation) Return a hiding dialog component which will get incorporated into a larger tabbed sliding dialog.getScaleInformation(int orientation, boolean autoScale) Get an object that will be packed up with the serialised settings when information about a plot get's stored.booleanHas options that will result in a dialog.voidselectColourType(int colourId) voidselectDataLine(DataLineInfo dataLine) Called when the user selects a specific data linevoidsetDisplayChannels(int displayChannels) booleansetStoredSettings(Serializable storedSettings) Set settings which have been read back from storage (the psf file).voidCalled when settings have changed.Methods inherited from class dataPlots.data.TDDataInfo
addDataUnits, drawData, drawDataUnit, drawHighLightData, getCurrentDataLine, getCurrentDataLineIndex, getDataBlock, getDataDimensions, getDataLineInfos, getDataName, getDataProvider, getPamDataBlock, getShortName, getTdDataProvider, getTdGraph, getToolTipText, hasAxisName, isShowing, isViewer, notifyModelChanged, removeData, setCurrentAxisName, setFixedScaleInformation, setShowing, timeRangeSpinnerChange, timeScrollRangeChanged, timeScrollValueChanged 
- 
Field Details
- 
btDisplayParams
 
 - 
 - 
Constructor Details
- 
ClickPlotInfo
public ClickPlotInfo(TDDataProvider tdDataProvider, ClickControl clickControl, TDGraph tdGraph, PamDataBlock pamDataBlock)  
 - 
 - 
Method Details
- 
getDataValue
Description copied from class:TDDataInfoGets a value for a specific data unit which should be in the same units as the scale information. This will then be converted into a plot position by the TDGraph.- Specified by:
 getDataValuein classTDDataInfo- Parameters:
 pamDataUnit-- Returns:
 - data value or null if this data poit should not be plotted.
 
 - 
getClickControl
Get the CickControl class fro this ClickPlotInfo- Returns:
 - ClickControl instance fro this ClickPlotInfo.
 
 - 
getSymbolChooser
- Specified by:
 getSymbolChooserin classTDDataInfo- Returns:
 - a class containing functions to chose a symbol to plot.
 
 - 
getScaleInformation
- Overrides:
 getScaleInformationin classTDDataInfo- Parameters:
 orientation-- Returns:
 - Information about the scales of the data.
 
 - 
getFixedScaleInformation
- Overrides:
 getFixedScaleInformationin classTDDataInfo- Returns:
 - the fixedScaleInformation
 
 - 
clearDraw
public void clearDraw()Description copied from class:TDDataInfoClear any residual drawing objects that get held between calls, e.g. the point of the previous unit plotted which may have been held so that lines can be drawn between points.- Overrides:
 clearDrawin classTDDataInfo
 - 
hasOptions
public boolean hasOptions()Description copied from class:TDDataInfoHas options that will result in a dialog.- Overrides:
 hasOptionsin classTDDataInfo- Returns:
 - true if there are options.
 
 - 
editOptions
Description copied from class:TDDataInfoEdit options - generally involves throwing up a dialog of some sort.- Overrides:
 editOptionsin classTDDataInfo- Returns:
 - true if options dialog OK button was pressed.
 
 - 
getStoredSettings
Description copied from class:TDDataInfoGet an object that will be packed up with the serialised settings when information about a plot get's stored.
The Object MUST implement serializable and ideally also cloneable or it will go belly up !
This only gets called when settings are to be saved so there is no need to keep parameters this returns up to date except right at settings save time (when this is called)- Overrides:
 getStoredSettingsin classTDDataInfo- Returns:
 - serializable object to save.
 
 - 
setStoredSettings
Description copied from class:TDDataInfoSet settings which have been read back from storage (the psf file). Assume these are of the right type and cast into whatever is needed !- Overrides:
 setStoredSettingsin classTDDataInfo- Parameters:
 storedSettings-- Returns:
 - true if all OK.
 
 - 
getDisplayChannels
public int getDisplayChannels() - 
setDisplayChannels
public void setDisplayChannels(int displayChannels)  - 
getHidingDialogComponent
Description copied from class:TDDataInfoReturn a hiding dialog component which will get incorporated into a larger tabbed sliding dialog.- Overrides:
 getHidingDialogComponentin classTDDataInfo- Returns:
 - sliding dialog component.
 
 - 
updateSettings
public void updateSettings()Called when settings have changed. - 
selectColourType
public void selectColourType(int colourId)  - 
selectDataLine
Description copied from class:TDDataInfoCalled when the user selects a specific data line- Overrides:
 selectDataLinein classTDDataInfo- Parameters:
 dataLine-
 
 -