Class Circles
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.visualization.image.paintlet.AbstractPaintlet
-
- adams.gui.visualization.trail.paintlet.AbstractTrailPaintlet
-
- adams.gui.visualization.trail.paintlet.Circles
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.ShallowCopySupporter<adams.gui.visualization.image.paintlet.Paintlet>,adams.core.SizeOfHandler,adams.gui.core.AntiAliasingSupporter,adams.gui.visualization.image.paintlet.Paintlet,TrailPaintlet,Serializable
public class Circles extends AbstractTrailPaintlet implements adams.gui.core.AntiAliasingSupporter
Paints the step locations as circles.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_AntiAliasingEnabledwhether anti-aliasing is enabled.protected intm_Diameterthe diameter of the circle.-
Fields inherited from class adams.gui.visualization.trail.paintlet.AbstractTrailPaintlet
m_Color, m_TrailPanel
-
-
Constructor Summary
Constructors Constructor Description Circles()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringantiAliasingEnabledTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.StringdiameterTipText()Returns the tip text for this property.intgetDiameter()Returns the diameter of the circle.StringglobalInfo()booleanisAntiAliasingEnabled()Returns whether anti-aliasing is used.voidpaintData(Graphics g, Trail trail)Paints the given data.voidsetAntiAliasingEnabled(boolean value)Sets whether to use anti-aliasing.voidsetDiameter(int value)Sets the circle diameter.-
Methods inherited from class adams.gui.visualization.trail.paintlet.AbstractTrailPaintlet
colorTipText, forCommandLine, forName, getColor, getDefaultColor, getPaintlets, getTrailPanel, initialize, performPaint, setColor, setPanel
-
Methods inherited from class adams.gui.visualization.image.paintlet.AbstractPaintlet
finishInit, getPaintPanel, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, isInitializing, memberChanged, memberChanged, paint, repaint, setEnabled, setPanel, setPanel, setRepaintOnChange, shallowCopy, shallowCopy
-
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
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin classAbstractTrailPaintlet
-
setDiameter
public void setDiameter(int value)
Sets the circle diameter.- Parameters:
value- the diameter
-
getDiameter
public int getDiameter()
Returns the diameter of the circle.- Returns:
- the diameter
-
diameterTipText
public String diameterTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAntiAliasingEnabled
public void setAntiAliasingEnabled(boolean value)
Sets whether to use anti-aliasing.- Specified by:
setAntiAliasingEnabledin interfaceadams.gui.core.AntiAliasingSupporter- Parameters:
value- if true then anti-aliasing is used
-
isAntiAliasingEnabled
public boolean isAntiAliasingEnabled()
Returns whether anti-aliasing is used.- Specified by:
isAntiAliasingEnabledin interfaceadams.gui.core.AntiAliasingSupporter- Returns:
- true if anti-aliasing is used
-
antiAliasingEnabledTipText
public String antiAliasingEnabledTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
paintData
public void paintData(Graphics g, Trail trail)
Paints the given data.- Specified by:
paintDatain interfaceTrailPaintlet- Specified by:
paintDatain classAbstractTrailPaintlet- Parameters:
g- the graphics context to use for paintingtrail- the data to paint
-
-