|
||||||||||
| 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.AbstractZScorePaintlet
public abstract class AbstractZScorePaintlet
Abstract class for creating z score paintlets.
| Field Summary | |
|---|---|
protected boolean |
m_AntiAliasingEnabled
whether anti-aliasing is enabled. |
protected AxisPanel |
m_AxisBottom
x axis of plot |
protected AxisPanel |
m_AxisLeft
y axis of plot |
protected double[] |
m_Data
data from the attribute |
protected int |
m_Index
index of the attribute being plotted |
protected Color |
m_LineColor
the line color. |
| 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 | |
|---|---|
AbstractZScorePaintlet()
|
|
| Method Summary | |
|---|---|
String |
antiAliasingEnabledTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected void |
drawData(Graphics g)
|
Color |
getLineColor()
Get the color for drawing the lines |
PaintEvent.PaintMoment |
getPaintMoment()
|
protected void |
initialize()
|
boolean |
isAntiAliasingEnabled()
Returns whether anti-aliasing is used. |
String |
lineColorTipText()
Tip text for the line color property. |
void |
parameters(Instances inst,
int ind)
pass the required parameters for the paintlet |
void |
performPaint(Graphics g,
PaintEvent.PaintMoment moment)
The paint routine of the paintlet. |
void |
setAntiAliasingEnabled(boolean value)
Sets whether to use anti-aliasing. |
void |
setIndex(int ind)
set the index of the attribute |
void |
setLineColor(Color val)
Set the color to draw the lines. |
| 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, 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 int m_Index
protected double[] m_Data
protected AxisPanel m_AxisLeft
protected AxisPanel m_AxisBottom
protected Color m_LineColor
protected boolean m_AntiAliasingEnabled
| Constructor Detail |
|---|
public AbstractZScorePaintlet()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractColorPaintletprotected void initialize()
initialize in class AbstractPaintletpublic void setLineColor(Color val)
val - color for linespublic Color getLineColor()
public String lineColorTipText()
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 PaintEvent.PaintMoment getPaintMoment()
getPaintMoment in interface PaintletgetPaintMoment in class AbstractPaintlet
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 paintedpublic void setIndex(int ind)
public void parameters(Instances inst,
int ind)
inst - Instances to be plottedind - index of the attributeprotected void drawData(Graphics g)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||