|
||||||||||
| 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.AbstractZOverlayPaintlet
public abstract class AbstractZOverlayPaintlet
abstract class for creating z score overlay paintlets.
| Field Summary | |
|---|---|
protected AxisPanel |
m_AxisBottom
x axis of plot |
protected AxisPanel |
m_AxisLeft
y axis of plot |
protected boolean |
m_Calculated
whether the overlay has been calcualated |
protected int |
m_Ind
index of the attribute being displayed |
| 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 | |
|---|---|
AbstractZOverlayPaintlet()
|
|
| Method Summary | |
|---|---|
void |
calculate()
calculates the data for the paintlet, doesn't handle the drawing of the data |
protected abstract void |
drawData(Graphics g)
Draw the overlay onto the z score plot, only calculates the value to position in this method |
boolean |
getCalculated()
Get whether the paintlet has been calculated |
PaintEvent.PaintMoment |
getPaintMoment()
|
protected void |
initialize()
|
void |
parameters(Instances inst,
int ind)
Pass the paramters required by the overlay paintlet |
void |
performPaint(Graphics g,
PaintEvent.PaintMoment moment)
The paint routine of the paintlet. |
void |
setCalculated(boolean val)
set whether the paintlet has been calculated |
abstract void |
setStd(double val)
set the number of standard deviations for the overlay only relevant for the stddev overlay |
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet |
|---|
colorTipText, defineOptions, 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, 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, globalInfo, 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 boolean m_Calculated
protected int m_Ind
protected AxisPanel m_AxisLeft
protected AxisPanel m_AxisBottom
| Constructor Detail |
|---|
public AbstractZOverlayPaintlet()
| Method Detail |
|---|
public PaintEvent.PaintMoment getPaintMoment()
getPaintMoment in interface PaintletgetPaintMoment in class AbstractPaintletprotected void initialize()
initialize in class AbstractPaintletpublic abstract void setStd(double val)
val - number of std dev from mean
public void parameters(Instances inst,
int ind)
inst - Instances to be plottedind - index of the attribute within the instacnes
public void performPaint(Graphics g,
PaintEvent.PaintMoment moment)
performPaint in interface PaintletperformPaint in class AbstractPaintletg - the graphics context to use for paintingmoment - what PaintEvent.PaintMoment is currently being paintedprotected abstract void drawData(Graphics g)
g - graphics to draw onpublic void calculate()
public void setCalculated(boolean val)
val - Truen if paintlet calculatedpublic boolean getCalculated()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||