Class Lines
- 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.Lines
-
- 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 Lines extends AbstractTrailPaintlet implements adams.gui.core.AntiAliasingSupporter
Connects the steps with lines.- 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.-
Fields inherited from class adams.gui.visualization.trail.paintlet.AbstractTrailPaintlet
m_Color, m_TrailPanel
-
-
Constructor Summary
Constructors Constructor Description Lines()
-
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.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.-
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
-
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
-
-