|
||||||||||
| 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.ProbabilityPlot
public class ProbabilityPlot
Probability plot visualization.
| 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 JCheckBox |
grid
Check box for grid overlay |
protected JCheckBox |
line
Check box for line overlay |
protected BaseRegExp |
m_AttReg
Regular expression for choosing the attribute to plot |
protected AbstractProbabilityPaintlet |
m_def
Default paintlet for the GOE |
protected boolean |
m_Grid
Whether to display the grid |
protected int |
m_Index
Index of attribute in the instances |
protected Index |
m_Indx
Index for choosing the attribute to plot |
protected Instances |
m_Instances
Instances to display |
protected boolean |
m_Line
Whether a best fit line is drawn |
protected JLabel |
m_Mean
Label showing the mean of the dataset |
protected ParameterPanel |
m_OptionPanel
Panel containing the options for the probability plot |
protected GenericObjectEditorPanel |
m_PanelRegression
GOE for choosing the regression to fit |
protected ProbabilityPlotPanel |
m_Plot
Panel to display data on |
protected JLabel |
m_Std
Label showing the std deviation of the dataset |
protected AbstractProbabilityPaintlet |
m_val
Paintlet for plotting the data using a regression |
| 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 | |
|---|---|
ProbabilityPlot()
|
|
| Method Summary | |
|---|---|
protected boolean |
canPaint(Graphics g)
|
Instances |
getInstances()
get the instances used for this probability plot |
PlotPanel |
getPlot()
|
protected void |
initGUI()
|
void |
prepareUpdate()
|
void |
reset()
called by the class that creates this probability plot once all the fields have been set |
void |
setAttIndex(Index val)
Set the index to use to choose the attribute to display |
void |
setAttReg(BaseRegExp val)
Set the regular expression for chossing the attribute to display |
void |
setGrid(boolean val)
Set whether the grid overlay is displayed |
void |
setInstances(Instances inst)
Set the instances to be plotted |
void |
setRegression(AbstractProbabilityPaintlet val)
Set the regression to use for the probability plot |
void |
setRegressionLine(boolean val)
Set whether the regression linear line is displayed |
| 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 ProbabilityPlotPanel m_Plot
protected GenericObjectEditorPanel m_PanelRegression
protected AbstractProbabilityPaintlet m_val
protected AbstractProbabilityPaintlet m_def
protected int m_Index
protected boolean m_Line
protected ParameterPanel m_OptionPanel
protected JCheckBox line
protected JCheckBox grid
protected boolean m_Grid
protected JLabel m_Mean
protected JLabel m_Std
protected BaseRegExp m_AttReg
protected Index m_Indx
| Constructor Detail |
|---|
public ProbabilityPlot()
| Method Detail |
|---|
public PlotPanel getPlot()
getPlot in class PaintablePanelpublic void prepareUpdate()
prepareUpdate in class PaintablePanelpublic Instances getInstances()
protected boolean canPaint(Graphics g)
canPaint in class PaintablePanelpublic void setInstances(Instances inst)
inst - instances to be plottedpublic void reset()
public void setRegression(AbstractProbabilityPaintlet val)
val - Regression paintlet for transforming the dataprotected void initGUI()
initGUI in class BasePanelpublic void setGrid(boolean val)
val - public void setRegressionLine(boolean val)
val - public void setAttIndex(Index val)
val - Index of attributepublic void setAttReg(BaseRegExp val)
val - Regular expression for name of attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||