|
||||||||||
| 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.fourinone.VersusFit
public class VersusFit
Class that displays a versus fit graph. Plotting the residuals on the y axis and the predicted value on the x axis.
| 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 int |
m_Index
Index of the residuals attribute in the instances |
protected Instances |
m_Instances
Instances containing the data |
protected VersusFitPanel |
m_Plot
Panel for displaying the data |
protected int |
m_PredInd
Index of the predicted attribute in the instances |
protected VsFitPaintlet |
m_val
Paintlet for plotting |
protected VersusFitOptions |
m_VsFitOptions
Options for the plot |
| 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 | |
|---|---|
VersusFit()
|
|
| Method Summary | |
|---|---|
protected boolean |
canPaint(Graphics g)
|
Instances |
getInstances()
get the instances being plotted |
PlotPanel |
getPlot()
|
protected void |
initGUI()
|
void |
prepareUpdate()
|
void |
reset()
Called by the class that creates this versusfit once the fields have been set |
void |
setIndices(int res,
int pred)
Set the index of the residuals attribute in the instances |
void |
setInstances(Instances inst)
Set the instances to be plotted |
void |
setOptions(VersusFitOptions val)
Set the options for this versus fit |
| Methods inherited from class adams.gui.visualization.core.PaintablePanel |
|---|
addPaintlet, initialize, paint, painted, paintlets, performUpdate, postUpdate, removePaintlet, update |
| Methods inherited from class adams.gui.core.BasePanel |
|---|
afterHide, afterShow, beforeHide, beforeShow, closeParent, finishInit, getParentChild, getParentDialog, getParentFrame, getParentInternalFrame, getParentTitle, 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 Instances m_Instances
protected VersusFitPanel m_Plot
protected VsFitPaintlet m_val
protected VersusFitOptions m_VsFitOptions
protected int m_Index
protected int m_PredInd
| Constructor Detail |
|---|
public VersusFit()
| Method Detail |
|---|
public void setOptions(VersusFitOptions val)
val - Versusfitoptions object containing the optionspublic PlotPanel getPlot()
getPlot in class PaintablePanelpublic void prepareUpdate()
prepareUpdate in class PaintablePanelprotected boolean canPaint(Graphics g)
canPaint in class PaintablePanelpublic Instances getInstances()
public void setInstances(Instances inst)
inst - Instances for plottingpublic void reset()
protected void initGUI()
initGUI in class BasePanel
public void setIndices(int res,
int pred)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||