|
||||||||||
| 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.zscore.ZScore
public class ZScore
Create a paintable panel displaying a z score plot panel as well being able to choose attribute, paintlet and overlays.
| Nested Class Summary | |
|---|---|
protected class |
ZScore.AttListener
Listener for when the attribute combobox selection changes |
class |
ZScore.gridListener
Listener for the grid check box |
class |
ZScore.pushButton
Listener for when the user clicks on an overlay in the key |
| 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 ArrayList<DisplayExplorer> |
dialogs
Current displayexplorers containing instance explorers being displayed |
protected JComboBox |
m_Att
combo box for attribute selection |
protected BaseRegExp |
m_AttReg
String for regular expression |
protected DefaultComboBoxModel |
m_ComboBox
Model for the attribute combo box |
protected AbstractZScorePaintlet |
m_Def
Default paintlet for the GOE panel |
protected AbstractZScoreOverlay[] |
m_Default
default overlays for the GAE |
protected ZScoreHitDetector |
m_Detect
Hit detector for tip text and pop up menu |
protected int |
m_Index
Index of the attribute to be plotted |
protected Index |
m_Indx
Index for choosing attribute |
protected Instances |
m_Instances
Instances to be displayed |
protected JPanel |
m_Key
Panel for displaying the key |
protected int |
m_NumDialogs
number of instance explorer panels displayed |
protected AbstractZScoreOverlay[] |
m_Over
overlays to be displayed |
protected GenericArrayEditorPanel |
m_PanelOverlay
For displaying a generic array editor for choosing overlays |
protected GenericObjectEditorPanel |
m_PanelPaintlet
For displaying a generic object editor for choosing the paintlet |
protected ZScorePanel |
m_Plot
z score plot to be displayed |
protected BaseSplitPane |
m_SplitPane
the split pane. |
protected AbstractZScorePaintlet |
m_Val
Paintlet used for drawing the data |
| 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 | |
|---|---|
ZScore()
|
|
| Method Summary | |
|---|---|
protected boolean |
canPaint(Graphics g)
|
void |
change()
prepare for displaying |
protected void |
changePaintlet()
called when the paintlet used is changed |
void |
customizePopupMenu(MouseEvent e,
JPopupMenu menu)
|
int |
getIndex()
get the index of the attribute being displayed |
Instances |
getInstances()
Get the instances being used by the z score plot |
boolean |
getOptionsVisible()
Returns whether to hide/show the options panel. |
PlotPanel |
getPlot()
|
protected void |
initGUI()
|
protected void |
initialize()
|
void |
prepareUpdate()
|
String |
processTipText(PlotPanel panel,
Point mouse,
String tiptext)
|
void |
removeOverlays()
remove existing overlays and their paintlets |
void |
reset()
called by the class that creates this z score plot called after the fields have all been set |
void |
setAttindex(Index val)
Set the index to use when setting the attribute using an index |
void |
setAttReg(BaseRegExp val)
Set the regular expression used when choosing the attribute |
void |
setInstances(Instances inst)
set the instances to be used when drawing the z score graph |
void |
setOptionsVisible(boolean value)
Sets whether to hide/show the options panel. |
void |
setOverlays(AbstractZScoreOverlay[] val)
set the overlays to be displayed on the z score |
void |
setPaintlet(AbstractZScorePaintlet val)
Set the paintlet to be used when plotting the data |
| 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 ZScorePanel m_Plot
protected Instances m_Instances
protected AbstractZScorePaintlet m_Val
protected AbstractZScorePaintlet m_Def
protected AbstractZScoreOverlay[] m_Over
protected AbstractZScoreOverlay[] m_Default
protected int m_Index
protected DefaultComboBoxModel m_ComboBox
protected JComboBox m_Att
protected GenericObjectEditorPanel m_PanelPaintlet
protected GenericArrayEditorPanel m_PanelOverlay
protected JPanel m_Key
protected BaseRegExp m_AttReg
protected Index m_Indx
protected ZScoreHitDetector m_Detect
protected ArrayList<DisplayExplorer> dialogs
protected int m_NumDialogs
protected BaseSplitPane m_SplitPane
| Constructor Detail |
|---|
public ZScore()
| Method Detail |
|---|
protected void initialize()
initialize in class PaintablePanelpublic void setInstances(Instances inst)
inst - public Instances getInstances()
public PlotPanel getPlot()
getPlot in class PaintablePanelpublic void prepareUpdate()
prepareUpdate in class PaintablePanelprotected boolean canPaint(Graphics g)
canPaint in class PaintablePanelpublic void reset()
public void removeOverlays()
protected void changePaintlet()
protected void initGUI()
initGUI in class BasePanelpublic void change()
public int getIndex()
public void setOverlays(AbstractZScoreOverlay[] val)
val - Array of overlayspublic void setPaintlet(AbstractZScorePaintlet val)
val - Paintlet for plottingpublic void setAttReg(BaseRegExp val)
val - String for regular expressionpublic void setAttindex(Index val)
val - index for choosing attribute
public String processTipText(PlotPanel panel,
Point mouse,
String tiptext)
processTipText in interface TipTextCustomizer
public void customizePopupMenu(MouseEvent e,
JPopupMenu menu)
customizePopupMenu in interface PopupMenuCustomizerpublic void setOptionsVisible(boolean value)
value - if true then the options are visiblepublic boolean getOptionsVisible()
value - true if the options are visible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||