|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
adams.gui.core.BasePanel
adams.gui.visualization.core.PaintablePanel
adams.gui.visualization.stats.scatterplot.AbstractScatterPlot
public abstract class AbstractScatterPlot
Abstract class for displaying a single scatterplotpanel on a paintable panel.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected AbstractScatterPlotOverlay[] |
m_Array
Array of overlay options |
protected Instances |
m_Instances
Instances to be plotted |
protected ScatterPlotPanel |
m_Plot
Scatter plot panel to display |
protected AbstractScatterPlotPaintlet |
m_Val
Paintlet to display the data points on the scatter plot |
protected int |
m_XIndex
Index of attribute to be displayed on x axis |
protected int |
m_YIndex
Index of attribute to be displayed on y axis |
| Fields inherited from class adams.gui.visualization.core.PaintablePanel |
|---|
m_Paintlets |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AbstractScatterPlot()
|
|
| Method Summary | |
|---|---|
protected boolean |
canPaint(Graphics g)
|
Instances |
getInstances()
Get the instances being plotted |
PlotPanel |
getPlot()
|
int |
getX_Index()
gets the index of the x attribute |
int |
getY_Index()
Sets the index of the y attribute |
void |
removeOverlays()
Removes all overlays from the scatterplot. |
void |
setInstances(Instances inst)
Sets the instances to be plotted |
void |
setPaintlet(AbstractScatterPlotPaintlet val)
Set the paintlet for dawing the data |
void |
setX(int x)
Set the index of the attribute to be displayed on the x axis |
void |
setY(int y)
Set the index of the attribute to be displayed on the y axis |
| Methods inherited from class adams.gui.visualization.core.PaintablePanel |
|---|
addPaintlet, initialize, paint, painted, paintlets, performUpdate, postUpdate, prepareUpdate, removePaintlet, update |
| Methods inherited from class adams.gui.core.BasePanel |
|---|
afterHide, afterShow, beforeHide, beforeShow, closeParent, finishInit, getParentChild, getParentDialog, getParentFrame, getParentInternalFrame, getParentTitle, initGUI, main, setParentTitle, setVisible |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ScatterPlotPanel m_Plot
protected Instances m_Instances
protected int m_XIndex
protected int m_YIndex
protected AbstractScatterPlotPaintlet m_Val
protected AbstractScatterPlotOverlay[] m_Array
| Constructor Detail |
|---|
public AbstractScatterPlot()
| Method Detail |
|---|
public PlotPanel getPlot()
getPlot in class PaintablePanelpublic void setPaintlet(AbstractScatterPlotPaintlet val)
val - Paintlet for plottingprotected boolean canPaint(Graphics g)
canPaint in class PaintablePanelpublic void setInstances(Instances inst)
inst - Instances to be plottedpublic Instances getInstances()
public int getX_Index()
public int getY_Index()
public void removeOverlays()
public void setX(int x)
x - 0-based index of attributepublic void setY(int y)
y - 0-based index of attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||