Package adams.flow.sink.canvas
Class AbstractDataPoolPaintlet
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.visualization.core.AbstractPaintlet
-
- adams.flow.sink.canvas.AbstractDataPoolPaintlet
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<Paintlet>,SizeOfHandler,DataPoolPaintlet,Paintlet,Serializable
- Direct Known Subclasses:
XYPaintlet
public abstract class AbstractDataPoolPaintlet extends AbstractPaintlet implements DataPoolPaintlet
Ancestor for paintlets for the Canvas actor.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.core.AbstractPaintlet
m_Enabled, m_Initializing, m_Panel, m_RepaintOnChange
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractDataPoolPaintlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Class[]accepts()Returns the classes that the paintlet accepts.DataPoolgetDataPool()Returns the data pool to paint.DataPoolPanelgetDataPoolPanel()Returns the panel the paintlet belongs to.PaintEvent.PaintMomentgetPaintMoment()Returns when this paintlet is to be executed.abstract voidprepareUpdate()Prepares the painting, e.g., setting min/max of axes.-
Methods inherited from class adams.gui.visualization.core.AbstractPaintlet
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPanel, getPlot, getRepaintOnChange, hasPanel, initialize, isEnabled, isInitializing, memberChanged, memberChanged, paint, performPaint, repaint, setEnabled, setPanel, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, getDefaultLoggingLevel, getOptionManager, globalInfo, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.gui.visualization.core.Paintlet
canPaint, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, paint, performPaint, setEnabled, setPanel, setPanel, setRepaintOnChange
-
Methods inherited from interface adams.core.ShallowCopySupporter
shallowCopy, shallowCopy
-
-
-
-
Method Detail
-
getDataPoolPanel
public DataPoolPanel getDataPoolPanel()
Returns the panel the paintlet belongs to.- Specified by:
getDataPoolPanelin interfaceDataPoolPaintlet- Returns:
- the panel
-
getDataPool
public DataPool getDataPool()
Returns the data pool to paint.- Specified by:
getDataPoolin interfaceDataPoolPaintlet- Returns:
- the pool
-
getPaintMoment
public PaintEvent.PaintMoment getPaintMoment()
Returns when this paintlet is to be executed.- Specified by:
getPaintMomentin interfacePaintlet- Specified by:
getPaintMomentin classAbstractPaintlet- Returns:
- when this paintlet is to be executed
-
accepts
public abstract Class[] accepts()
Returns the classes that the paintlet accepts.- Specified by:
acceptsin interfaceDataPoolPaintlet- Returns:
- the classes of objects that can be processed
-
prepareUpdate
public abstract void prepareUpdate()
Prepares the painting, e.g., setting min/max of axes.- Specified by:
prepareUpdatein interfaceDataPoolPaintlet- Parameters:
panel- the panel to prepare
-
-