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 boolean
m_AntiAliasingEnabled
whether 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 String
antiAliasingEnabledTipText()
Returns the tip text for this property.void
defineOptions()
Adds options to the internal list of options.String
globalInfo()
boolean
isAntiAliasingEnabled()
Returns whether anti-aliasing is used.void
paintData(Graphics g, Trail trail)
Paints the given data.void
setAntiAliasingEnabled(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:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classAbstractTrailPaintlet
-
setAntiAliasingEnabled
public void setAntiAliasingEnabled(boolean value)
Sets whether to use anti-aliasing.- Specified by:
setAntiAliasingEnabled
in 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:
isAntiAliasingEnabled
in 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:
paintData
in interfaceTrailPaintlet
- Specified by:
paintData
in classAbstractTrailPaintlet
- Parameters:
g
- the graphics context to use for paintingtrail
- the data to paint
-
-