|
||||||||||
| 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.AbstractScatterPlotPaintlet
adams.gui.visualization.stats.paintlet.ScatterPaintletCircle
public class ScatterPaintletCircle
Paintlet for displaying points on the scatter point as circles.
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
-size <int> (property: size) The size of each data point. default: 5 minimum: 1
-fill-point (property: fillPoint) Whether to fill the data point with solid color
-fill-color <java.awt.Color> (property: fillColor) Color for filling data points default: #ff0000
| Field Summary | |
|---|---|
protected boolean |
m_Fill
Whether to fill data points |
protected Color |
m_FillColor
|
| Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractScatterPlotPaintlet |
|---|
m_AntiAliasingEnabled, m_AxisBottom, m_AxisLeft, m_Size, m_XData, m_XIndex, m_YData, m_YIndex |
| 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 | |
|---|---|
ScatterPaintletCircle()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
protected void |
drawData(Graphics g)
draws the data on the graphics object |
String |
fillColorTipText()
Tip text for the fill color property |
String |
fillPointTipText()
Tip text for the fill property |
Color |
getFillColor()
Get the color for filling the data points |
boolean |
getFillPoint()
Get whether data points are filled |
int |
getSize()
Get the size of each data point |
String |
globalInfo()
|
void |
setFillColor(Color val)
Set the color for filling the data points |
void |
setFillPoint(boolean val)
Set whether to fill data points |
void |
setSize(int val)
Set the size of each data point |
String |
sizeTipText()
Returns the tip text for this property. |
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractScatterPlotPaintlet |
|---|
antiAliasingEnabledTipText, getPaintMoment, getX_Index, getY_Index, initialize, isAntiAliasingEnabled, performPaint, setAntiAliasingEnabled, setX_Index, setY_Index, toString |
| 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, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine |
| 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_Fill
protected Color m_FillColor
| Constructor Detail |
|---|
public ScatterPaintletCircle()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
AbstractScatterPlotPaintlet
defineOptions in interface OptionHandlerdefineOptions in class AbstractScatterPlotPaintletpublic void setFillColor(Color val)
val - Color to fill pointspublic Color getFillColor()
public String fillColorTipText()
public void setFillPoint(boolean val)
val - True if data points to be filledpublic boolean getFillPoint()
public String fillPointTipText()
public void setSize(int val)
val - size in pixelspublic int getSize()
public String sizeTipText()
protected void drawData(Graphics g)
AbstractScatterPlotPaintlet
drawData in class AbstractScatterPlotPaintletg - Graphics object to draw on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||