|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.gui.visualization.core.AbstractPaintlet
adams.gui.visualization.core.AbstractStrokePaintlet
adams.gui.visualization.stats.paintlet.AbstractColorPaintlet
adams.gui.visualization.stats.paintlet.AbstractOverlayPaintlet
adams.gui.visualization.stats.paintlet.LowessPaintlet
public class LowessPaintlet
Paintlet for drawing the lowess overlay.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-stroke-thickness <float> (property: strokeThickness) The thickness of the stroke. default: 1.0 minimum: 0.01
-color <java.awt.Color> (property: color) Stroke color for the paintlet default: #000000
-window-size <int> (property: windowSize) The window size for smoothing. default: 100 minimum: 1
| Field Summary | |
|---|---|
protected boolean |
m_AntiAliasingEnabled
whether anti-aliasing is enabled. |
protected ArrayList<Point> |
m_ToPlot
Points to plot for the lowess curve |
| Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractOverlayPaintlet |
|---|
m_AxisBottom, m_AxisLeft, m_Calculated, m_XInd, m_YInd |
| Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet |
|---|
m_Color, m_Instances |
| Fields inherited from class adams.gui.visualization.core.AbstractStrokePaintlet |
|---|
m_StrokeThickness |
| 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_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
LowessPaintlet()
|
|
| Method Summary | |
|---|---|
String |
antiAliasingEnabledTipText()
Returns the tip text for this property. |
void |
calculate()
Calculates the data for the paintlet, doesn't handle the drawing of the overlay. |
void |
defineOptions()
Adds options to the internal list of options. |
protected void |
drawData(Graphics g)
Draw the overlay onto the scatter plot, only calculates the value to position in this method |
int |
getWindowSize()
Get the Window size for calculating the lowess loverlay |
String |
globalInfo()
Returns a string describing the object. |
boolean |
isAntiAliasingEnabled()
Returns whether anti-aliasing is used. |
void |
setAntiAliasingEnabled(boolean value)
Sets whether to use anti-aliasing. |
void |
setWindowSize(int val)
Set the window size, only applicable for the lowess overlay paintlet |
String |
windowSizeTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractOverlayPaintlet |
|---|
getCalculated, getPaintMoment, parameters, performPaint, setCalculated, setIndicator |
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet |
|---|
colorTipText, getColor, getInstances, setColor, setInstances |
| Methods inherited from class adams.gui.visualization.core.AbstractStrokePaintlet |
|---|
getStrokeThickness, paint, setStrokeThickness, strokeThicknessTipText |
| Methods inherited from class adams.gui.visualization.core.AbstractPaintlet |
|---|
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPanel, getPlot, getRepaintOnChange, hasPanel, initialize, isEnabled, isInitializing, memberChanged, memberChanged, repaint, setEnabled, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ArrayList<Point> m_ToPlot
protected boolean m_AntiAliasingEnabled
| Constructor Detail |
|---|
public LowessPaintlet()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractColorPaintletpublic void setWindowSize(int val)
AbstractOverlayPaintlet
setWindowSize in class AbstractOverlayPaintletval - int size of windowpublic int getWindowSize()
public String windowSizeTipText()
public void setAntiAliasingEnabled(boolean value)
setAntiAliasingEnabled in interface AntiAliasingPaintletvalue - if true then anti-aliasing is usedpublic boolean isAntiAliasingEnabled()
isAntiAliasingEnabled in interface AntiAliasingPaintletpublic String antiAliasingEnabledTipText()
antiAliasingEnabledTipText in interface AntiAliasingPaintletpublic void calculate()
AbstractOverlayPaintlet
calculate in class AbstractOverlayPaintletprotected void drawData(Graphics g)
AbstractOverlayPaintlet
drawData in class AbstractOverlayPaintletg - Graphics drawn on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||