Package adams.gui.visualization.sequence
Class TextOverlayPaintlet
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.visualization.core.AbstractPaintlet
-
- adams.gui.visualization.core.TextOverlayPaintlet
-
- adams.gui.visualization.sequence.TextOverlayPaintlet
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<Paintlet>
,SizeOfHandler
,FlowAwarePaintlet
,Paintlet
,XYSequencePaintlet
,Serializable
public class TextOverlayPaintlet extends TextOverlayPaintlet implements XYSequencePaintlet
Outputs the supplied text at the specified location.- 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.TextOverlayPaintlet
m_Actor, m_Color, m_Text, m_TextVariable, m_X, m_Y
-
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 TextOverlayPaintlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaintEvent.PaintMoment
getPaintMoment()
Returns when this paintlet is to be executed.XYSequencePanel
getSequencePanel()
Returns the XY sequence panel currently in use.String
globalInfo()
Returns a string describing the object.AbstractXYSequencePointHitDetector
newHitDetector()
Returns a new instance of the hit detector to use.-
Methods inherited from class adams.gui.visualization.core.TextOverlayPaintlet
colorTipText, defineOptions, getActor, getColor, getText, getTextVariable, getX, getY, initialize, performPaint, setActor, setColor, setText, setTextVariable, setX, setY, textTipText, textVariableTipText, XTipText, YTipText
-
Methods inherited from class adams.gui.visualization.core.AbstractPaintlet
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, isInitializing, memberChanged, memberChanged, paint, repaint, setEnabled, setPanel, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, getDefaultLoggingLevel, getOptionManager, 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
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Overrides:
globalInfo
in classTextOverlayPaintlet
- Returns:
- a description suitable for displaying in the gui
-
getSequencePanel
public XYSequencePanel getSequencePanel()
Returns the XY sequence panel currently in use.- Specified by:
getSequencePanel
in interfaceXYSequencePaintlet
- Returns:
- the panel in use
-
getPaintMoment
public PaintEvent.PaintMoment getPaintMoment()
Returns when this paintlet is to be executed.- Specified by:
getPaintMoment
in interfacePaintlet
- Overrides:
getPaintMoment
in classTextOverlayPaintlet
- Returns:
- when this paintlet is to be executed
-
newHitDetector
public AbstractXYSequencePointHitDetector newHitDetector()
Returns a new instance of the hit detector to use.- Specified by:
newHitDetector
in interfaceXYSequencePaintlet
- Returns:
- always null
-
-