Package adams.flow.sink.canvas
Interface DataPoolPaintlet
-
- All Superinterfaces:
Paintlet
,ShallowCopySupporter<Paintlet>
- All Known Implementing Classes:
AbstractDataPoolPaintlet
,XYPaintlet
public interface DataPoolPaintlet extends Paintlet
Interface for paintlets for the Canvas actor.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class[]
accepts()
Returns the classes that the paintlet accepts.DataPool
getDataPool()
Returns the data pool to paint.DataPoolPanel
getDataPoolPanel()
Returns the panel the paintlet belongs to.void
prepareUpdate()
Prepares the painting, e.g., setting min/max of axes.-
Methods inherited from interface adams.gui.visualization.core.Paintlet
canPaint, getPaintMoment, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, paint, performPaint, setEnabled, setPanel, setPanel, setRepaintOnChange
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
-
-
-
Method Detail
-
getDataPoolPanel
DataPoolPanel getDataPoolPanel()
Returns the panel the paintlet belongs to.- Returns:
- the panel
-
getDataPool
DataPool getDataPool()
Returns the data pool to paint.- Returns:
- the pool
-
accepts
Class[] accepts()
Returns the classes that the paintlet accepts.- Returns:
- the classes of objects that can be processed
-
prepareUpdate
void prepareUpdate()
Prepares the painting, e.g., setting min/max of axes.- Parameters:
panel
- the panel to prepare
-
-