Class TimeseriesPanel<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- adams.gui.core.BasePanel
-
- adams.gui.visualization.core.PaintablePanel
-
- adams.gui.visualization.container.DataContainerPanel<T,M>
-
- adams.gui.visualization.container.DataContainerPanelWithSidePanel<T,M>
-
- adams.gui.visualization.container.DataContainerPanelWithContainerList<T,M,C>
-
- adams.gui.visualization.timeseries.TimeseriesPanel<T,M,C>
-
- All Implemented Interfaces:
CleanUpHandler
,StatusMessageHandler
,DatabaseConnectionHandler
,DatabaseConnectionProvider
,DatabaseConnectionUser
,DatabaseConnectionChangeListener
,AntiAliasingSupporter
,PopupMenuCustomizer<MouseEvent>
,DataChangeListener
,PaintListener
,ScriptingEngineHandler
,SendToActionSupporter
,ContainerListManager<M>
,ContainerListPopupMenuSupplier<M,C>
,PaintletManager
,HitDetectorSupporter<TimeseriesPointHitDetector>
,TipTextCustomizer
,PopupMenuCustomizer
,ImageObserver
,MenuContainer
,Serializable
,EventListener
,Accessible
public class TimeseriesPanel<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer> extends DataContainerPanelWithContainerList<T,M,C> implements PaintListener, TipTextCustomizer, AntiAliasingSupporter, HitDetectorSupporter<TimeseriesPointHitDetector>
Special panel for displaying the spectral data.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
-
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
m_AdjustToVisibleData
whether to adjust to visible data or not.protected CoordinatesPaintlet
m_CoordinatesPaintlet
paintlet for drawing the X-axis.protected TimeseriesExportDialog
m_ExportDialog
the export dialog.protected TimeseriesZoomOverviewPanel
m_PanelZoomOverview
the zoom overview panel.protected PeriodicityPaintlet
m_PeriodicityPaintlet
paintlet for drawing the periodicity background.protected SelectedTimestampPaintlet
m_SelectedTimestampPaintlet
paintlet for drawing the timeseries.protected AbstractTimeseriesPaintlet
m_TimeseriesPaintlet
paintlet for drawing the timeseries.protected TimeseriesPointHitDetector
m_TimeseriesPointHitDetector
for detecting hits.protected int
m_ToolTipMaxColumns
the maximum number of columns for the tooltip.protected int
m_ToolTipMaxRows
the maximum number of rows for the tooltip.-
Fields inherited from class adams.gui.visualization.container.DataContainerPanelWithContainerList
m_ContainerList, m_ContainerListCustomizers, m_PlotCustomizers
-
Fields inherited from class adams.gui.visualization.container.DataContainerPanelWithSidePanel
m_FirstRevalidate, m_SidePanel, m_SplitPane
-
Fields inherited from class adams.gui.visualization.container.DataContainerPanel
m_DatabaseConnection, m_DataChangeListeners, m_Manager, m_PanelProperties, m_PlotPanel, m_PlotWrapperPanel, m_StatusMessageHandler, m_Title
-
Fields inherited from class adams.gui.visualization.core.PaintablePanel
m_Paintlets
-
Fields inherited from class adams.gui.core.BasePanel
m_FileChooser
-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
-
Constructor Summary
Constructors Constructor Description TimeseriesPanel()
Initializes the panel without title.TimeseriesPanel(String title)
Initializes the panel with the given title.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canPaint(Graphics g)
Returns true if the paintlets can be executed.void
cleanUp()
Cleans up data structures, frees up memory.protected TimeseriesContainerList
createContainerList()
Returns the container list.boolean
getAdjustToVisibleData()
Returns whether the display is adjusted to only the visible timeseries or all of them.AbstractTimeseriesPaintlet
getContainerPaintlet()
Returns the paintlet used for painting the containers.Paintlet
getDataPaintlet()
Returns the paintlet used for painting the data.protected AbstractDatabaseConnection
getDefaultDatabaseConnection()
Returns the default database connection.TimeseriesPointHitDetector
getHitDetector()
Returns the hit detector.PeriodicityPaintlet
getPeriodicityPaintlet()
Returns the paintlet used for painting the periodicity background.AbstractScriptingEngine
getScriptingEngine()
Returns the current scripting engine, can be null.int[]
getSelectedIndices()
Returns the indices of the selected spectra.Timeseries[]
getSelectedSeries()
Returns the selected spectra.SelectedTimestampPaintlet
getSelectedTimestampPaintlet()
Returns the paintlet for painting the selected timestamps.AbstractTimeseriesPaintlet
getTimeseriesPaintlet()
Returns the paintlet for painting the timeseries.TimeseriesZoomOverviewPanel
getZoomOverviewPanel()
Returns the zoom overview panel.protected void
initGUI()
Initializes the GUI.protected void
initialize()
For initializing members.boolean
isAntiAliasingEnabled()
Returns whether anti-aliasing is used.boolean
isZoomOverviewPanelVisible()
Returns whether the zoom overview panel is visible or not.protected M
newContainerManager()
Returns the container manager to use.protected void
postUpdate()
Hook method, called after the update was performed.void
prepareUpdate()
Updates the axes with the min/max of the new data.String
processTipText(PlotPanel panel, Point mouse, String tiptext)
Processes the given tip text.void
saveVisibleSeries()
Saves the visible timeseries to a directory.void
setAdjustToVisibleData(boolean value)
Sets whether the display is adjusted to only the visible data or everything currently loaded.void
setAntiAliasingEnabled(boolean value)
Sets whether to use anti-aliasing.void
setDataPaintlet(Paintlet value)
Sets the paintlet to use for painting the data.void
setTimeseriesPaintlet(AbstractTimeseriesPaintlet paintlet)
Sets the paintlet for painting the timeseries.void
setZoomOverviewPanelVisible(boolean value)
Sets the zoom overview panel visible or hides it.void
showRawData(C cont)
Displays a dialog with the given timeseries as raw data.void
showReports(List<C> data)
Displays a dialog with the given reports.void
showStatistics(List<InformativeStatistic> stats)
Displays a dialog with the given statistics.void
storeColorInReport(int[] indices, String name)
Stores the color of the container in the report of container's data object.void
storeValueInReport(int[] indices, AbstractField field, Object value)
Stores the value in the report of container's data object.boolean
supportsStoreColorInReport()
Returns true if storing the color in the report of container's data object is supported.boolean
supportsStoreValueInReport()
Returns true if storing a value in the report of container's data object is supported.-
Methods inherited from class adams.gui.visualization.container.DataContainerPanelWithContainerList
customizePopupMenu, getActualSelectedContainerIndices, getContainerList, getContainerListPopupMenu, getSelectedContainerIndices, getTableModelContainers, getTableModelIndices, processAction, showNotes
-
Methods inherited from class adams.gui.visualization.container.DataContainerPanelWithSidePanel
getDividerLocation, getSidePanel, isSidePanelVisible, revalidate, setDividerLocation, setDividerLocation, setSidePanelVisible
-
Methods inherited from class adams.gui.visualization.container.DataContainerPanel
databaseConnectionStateChanged, dataChanged, finishInit, getBackgroundColor, getContainerManager, getDatabaseConnection, getForegroundColor, getPlot, getProperties, getSendToClasses, getSendToItem, getStatusMessageHandler, getTitle, hasSendToItem, reset, setBackgroundColor, setContainerManager, setDatabaseConnection, setForegroundColor, setStatusMessageHandler, setTitle, showStatus
-
Methods inherited from class adams.gui.visualization.core.PaintablePanel
addPaintlet, canHandleFixedLabels, check, paint, painted, paintlets, performUpdate, printAll, removePaintlet, update
-
Methods inherited from class adams.gui.core.BasePanel
afterHide, afterShow, beforeHide, beforeShow, closeParent, getParentChild, getParentDialog, getParentFrame, getParentInternalFrame, getParentTitle, initFileChooser, main, printErrorMessage, printException, saveComponent, setEnabledCascade, setEnabledCascade, setParentTitle, setVisible
-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.gui.event.PaintListener
painted
-
-
-
-
Field Detail
-
m_AdjustToVisibleData
protected boolean m_AdjustToVisibleData
whether to adjust to visible data or not.
-
m_CoordinatesPaintlet
protected CoordinatesPaintlet m_CoordinatesPaintlet
paintlet for drawing the X-axis.
-
m_TimeseriesPaintlet
protected AbstractTimeseriesPaintlet m_TimeseriesPaintlet
paintlet for drawing the timeseries.
-
m_PeriodicityPaintlet
protected PeriodicityPaintlet m_PeriodicityPaintlet
paintlet for drawing the periodicity background.
-
m_SelectedTimestampPaintlet
protected SelectedTimestampPaintlet m_SelectedTimestampPaintlet
paintlet for drawing the timeseries.
-
m_TimeseriesPointHitDetector
protected TimeseriesPointHitDetector m_TimeseriesPointHitDetector
for detecting hits.
-
m_ToolTipMaxColumns
protected int m_ToolTipMaxColumns
the maximum number of columns for the tooltip.
-
m_ToolTipMaxRows
protected int m_ToolTipMaxRows
the maximum number of rows for the tooltip.
-
m_PanelZoomOverview
protected TimeseriesZoomOverviewPanel m_PanelZoomOverview
the zoom overview panel.
-
m_ExportDialog
protected TimeseriesExportDialog m_ExportDialog
the export dialog.
-
-
Constructor Detail
-
TimeseriesPanel
public TimeseriesPanel()
Initializes the panel without title.
-
TimeseriesPanel
public TimeseriesPanel(String title)
Initializes the panel with the given title.- Parameters:
title
- the title for the panel
-
-
Method Detail
-
initialize
protected void initialize()
For initializing members.- Overrides:
initialize
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
-
getDefaultDatabaseConnection
protected AbstractDatabaseConnection getDefaultDatabaseConnection()
Returns the default database connection.- Specified by:
getDefaultDatabaseConnection
in classDataContainerPanel<T extends Timeseries,M extends TimeseriesContainerManager<C>>
- Returns:
- the default database connection
-
newContainerManager
protected M newContainerManager()
Returns the container manager to use.- Specified by:
newContainerManager
in classDataContainerPanel<T extends Timeseries,M extends TimeseriesContainerManager<C>>
- Returns:
- the container manager
-
getContainerPaintlet
public AbstractTimeseriesPaintlet getContainerPaintlet()
Returns the paintlet used for painting the containers.- Specified by:
getContainerPaintlet
in classDataContainerPanel<T extends Timeseries,M extends TimeseriesContainerManager<C>>
- Returns:
- the paintlet
-
getHitDetector
public TimeseriesPointHitDetector getHitDetector()
Returns the hit detector.- Specified by:
getHitDetector
in interfaceHitDetectorSupporter<T extends Timeseries>
- Returns:
- the hit detector
-
getPeriodicityPaintlet
public PeriodicityPaintlet getPeriodicityPaintlet()
Returns the paintlet used for painting the periodicity background.- Returns:
- the paintlet
-
initGUI
protected void initGUI()
Initializes the GUI.- Overrides:
initGUI
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
-
createContainerList
protected TimeseriesContainerList createContainerList()
Returns the container list.- Specified by:
createContainerList
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- Returns:
- the list
-
setTimeseriesPaintlet
public void setTimeseriesPaintlet(AbstractTimeseriesPaintlet paintlet)
Sets the paintlet for painting the timeseries.- Parameters:
paintlet
- the paintlet
-
getTimeseriesPaintlet
public AbstractTimeseriesPaintlet getTimeseriesPaintlet()
Returns the paintlet for painting the timeseries.- Returns:
- the paintlet
-
getSelectedTimestampPaintlet
public SelectedTimestampPaintlet getSelectedTimestampPaintlet()
Returns the paintlet for painting the selected timestamps.- Returns:
- the paintlet
-
setAdjustToVisibleData
public void setAdjustToVisibleData(boolean value)
Sets whether the display is adjusted to only the visible data or everything currently loaded.- Parameters:
value
- if true then plot is adjusted to visible data
-
getAdjustToVisibleData
public boolean getAdjustToVisibleData()
Returns whether the display is adjusted to only the visible timeseries or all of them.- Returns:
- true if the plot is adjusted to only the visible data
-
setZoomOverviewPanelVisible
public void setZoomOverviewPanelVisible(boolean value)
Sets the zoom overview panel visible or hides it.- Parameters:
value
- if true then the panel is displayed
-
isZoomOverviewPanelVisible
public boolean isZoomOverviewPanelVisible()
Returns whether the zoom overview panel is visible or not.- Returns:
- true if visible
-
getZoomOverviewPanel
public TimeseriesZoomOverviewPanel getZoomOverviewPanel()
Returns the zoom overview panel.- Returns:
- the panel
-
canPaint
protected boolean canPaint(Graphics g)
Returns true if the paintlets can be executed.- Specified by:
canPaint
in classPaintablePanel
- Parameters:
g
- the graphics context- Returns:
- true if painting can go ahead
-
prepareUpdate
public void prepareUpdate()
Updates the axes with the min/max of the new data.- Specified by:
prepareUpdate
in classPaintablePanel
-
showStatistics
public void showStatistics(List<InformativeStatistic> stats)
Displays a dialog with the given statistics.- Parameters:
stats
- the statistics to display
-
showRawData
public void showRawData(C cont)
Displays a dialog with the given timeseries as raw data.- Parameters:
cont
- the container to display the raw data for
-
showReports
public void showReports(List<C> data)
Displays a dialog with the given reports.- Parameters:
data
- the timeseries to display the reports for
-
getSelectedIndices
public int[] getSelectedIndices()
Returns the indices of the selected spectra.- Returns:
- the indices
-
getSelectedSeries
public Timeseries[] getSelectedSeries()
Returns the selected spectra.- Returns:
- the spectra
-
getScriptingEngine
public AbstractScriptingEngine getScriptingEngine()
Returns the current scripting engine, can be null.- Specified by:
getScriptingEngine
in interfaceScriptingEngineHandler
- Specified by:
getScriptingEngine
in classDataContainerPanel<T extends Timeseries,M extends TimeseriesContainerManager<C>>
- Returns:
- the current engine
-
setAntiAliasingEnabled
public void setAntiAliasingEnabled(boolean value)
Sets whether to use anti-aliasing.- Specified by:
setAntiAliasingEnabled
in interfaceAntiAliasingSupporter
- Parameters:
value
- if true then anti-aliasing is used
-
isAntiAliasingEnabled
public boolean isAntiAliasingEnabled()
Returns whether anti-aliasing is used.- Specified by:
isAntiAliasingEnabled
in interfaceAntiAliasingSupporter
- Returns:
- true if anti-aliasing is used
-
postUpdate
protected void postUpdate()
Hook method, called after the update was performed.- Overrides:
postUpdate
in classPaintablePanel
-
processTipText
public String processTipText(PlotPanel panel, Point mouse, String tiptext)
Processes the given tip text. Among the current mouse position, the panel that initiated the call are also provided.- Specified by:
processTipText
in interfaceTipTextCustomizer
- Parameters:
panel
- the content panel that initiated this callmouse
- the mouse positiontiptext
- the tiptext so far- Returns:
- the processed tiptext
-
getDataPaintlet
public Paintlet getDataPaintlet()
Returns the paintlet used for painting the data.- Specified by:
getDataPaintlet
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- Returns:
- the paintlet
-
setDataPaintlet
public void setDataPaintlet(Paintlet value)
Sets the paintlet to use for painting the data.- Specified by:
setDataPaintlet
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- Parameters:
value
- the paintlet
-
saveVisibleSeries
public void saveVisibleSeries()
Saves the visible timeseries to a directory.
-
supportsStoreColorInReport
public boolean supportsStoreColorInReport()
Returns true if storing the color in the report of container's data object is supported.- Specified by:
supportsStoreColorInReport
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- Returns:
- true if supported
-
storeColorInReport
public void storeColorInReport(int[] indices, String name)
Stores the color of the container in the report of container's data object.- Specified by:
storeColorInReport
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- Parameters:
indices
- the indices of the containers of the container managername
- the field name to use
-
supportsStoreValueInReport
public boolean supportsStoreValueInReport()
Returns true if storing a value in the report of container's data object is supported.- Specified by:
supportsStoreValueInReport
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- Returns:
- true if supported
-
storeValueInReport
public void storeValueInReport(int[] indices, AbstractField field, Object value)
Stores the value in the report of container's data object.- Specified by:
storeValueInReport
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
- Parameters:
indices
- the indices of the containers of the container managerfield
- the field to usevalue
- the value to store
-
cleanUp
public void cleanUp()
Cleans up data structures, frees up memory.- Specified by:
cleanUp
in interfaceCleanUpHandler
- Overrides:
cleanUp
in classDataContainerPanelWithContainerList<T extends Timeseries,M extends TimeseriesContainerManager<C>,C extends TimeseriesContainer>
-
-