|
||||||||||
| 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.probabilityplot.NormalPlot
public class NormalPlot
Probability plot that only displays the normal distribution, used in the 4-in1 plot.
| 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 to plot |
protected NormalPlotOptions |
m_NormOptions
Options for this normal distribution |
protected ProbabilityPlotPanel |
m_Plot
Panel for displaying data |
protected Normal |
m_Val
Normal distribution paintlet for the regression fitting |
| 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 | |
|---|---|
NormalPlot()
|
|
| Method Summary | |
|---|---|
protected boolean |
canPaint(Graphics g)
Returns true if the paintlets can be executed. |
PlotPanel |
getPlot()
Returns the plot panel of the panel, null if no panel present. |
protected void |
initGUI()
For initializing the GUI. |
protected void |
initialize()
|
void |
prepareUpdate()
Prepares the update, i.e., calculations etc. |
void |
setIndex(int val)
Set the index of the residuals attribute in the instances |
void |
setInstances(Instances inst)
Set the instances to plot |
void |
setOptions(NormalPlotOptions val)
Set the options for this plot |
| Methods inherited from class adams.gui.visualization.core.PaintablePanel |
|---|
addPaintlet, 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 ProbabilityPlotPanel m_Plot
protected Normal m_Val
protected NormalPlotOptions m_NormOptions
protected int m_Index
| Constructor Detail |
|---|
public NormalPlot()
| Method Detail |
|---|
protected void initialize()
initialize in class PaintablePanelprotected void initGUI()
initGUI in class BasePanelpublic void setOptions(NormalPlotOptions val)
val - Normalplotoptions object containing the optionspublic PlotPanel getPlot()
getPlot in class PaintablePanelpublic void prepareUpdate()
prepareUpdate in class PaintablePanelprotected boolean canPaint(Graphics g)
canPaint in class PaintablePanelg - the graphics context
public void setInstances(Instances inst)
inst - instances to plotpublic void setIndex(int val)
val - Residuals attribute index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||