Package adams.flow.core
Interface DataPlotUpdater<P extends DataContainerPanel,C>
-
- Type Parameters:
P- the type of panel this updater handlesC- the type of container this updater handles
- All Superinterfaces:
Destroyable,OptionHandler
- All Known Implementing Classes:
AbstractDataPlotUpdater,AbstractInstancePanelUpdater,AbstractPlotUpdater,AbstractPlotUpdater,AbstractSpreadSheetRowPanelUpdater,NamedPlotUpdater,SimpleInstancePanelUpdater,SimplePlotUpdater,SimplePlotUpdater,SimpleSpreadSheetRowPanelUpdater
public interface DataPlotUpdater<P extends DataContainerPanel,C> extends OptionHandler
Interface for classes that determine when to update the data container panel, i.e., repaint all of it.- Version:
- $Revision: 5737 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdate(P panel)Updates the data container panel regardless, notifying the listeners.booleanupdate(P panel, C cont)Updates the data container panel if necessary.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
update
boolean update(P panel, C cont)
Updates the data container panel if necessary.- Parameters:
panel- the data container panel to potentially updatecont- the current data container- Returns:
- true if the change listeners were notified
-
update
void update(P panel)
Updates the data container panel regardless, notifying the listeners.- Parameters:
panel- the data container panel to update
-
-