|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--weka.gui.experiment.GeneratorPropertyIteratorPanel
This panel controls setting a list of values for an arbitrary resultgenerator property for an experiment to iterate over.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected GenericArrayEditor |
m_ArrayEditor
Allows editing of the custom property values |
protected JButton |
m_ConfigureBut
Click to select the property to iterate over |
protected Experiment |
m_Exp
The experiment this all applies to |
protected FastVector |
m_Listeners
Listeners who want to be notified about editing status of this panel |
protected JComboBox |
m_StatusBox
Controls whether the custom iterator is used or not |
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 | |
GeneratorPropertyIteratorPanel()
Creates the property iterator panel initially disabled. |
|
GeneratorPropertyIteratorPanel(Experiment exp)
Creates the property iterator panel and sets the experiment. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
Handles the various button clicking type activities. |
void |
addActionListener(ActionListener newA)
Add a listener interested in kowing about editor status changes |
boolean |
getEditorActive()
Returns true if the editor is currently in an active status---that is the array is active and able to be edited. |
static void |
main(String[] args)
Tests out the panel from the command line. |
protected int |
selectProperty()
Gets the user to select a property of the current resultproducer. |
void |
setExperiment(Experiment exp)
Sets the experiment which will have the custom properties edited. |
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 JButton m_ConfigureBut
protected JComboBox m_StatusBox
protected GenericArrayEditor m_ArrayEditor
protected Experiment m_Exp
protected FastVector m_Listeners
Constructor Detail |
public GeneratorPropertyIteratorPanel()
public GeneratorPropertyIteratorPanel(Experiment exp)
exp
- a value of type 'Experiment'Method Detail |
public boolean getEditorActive()
public void setExperiment(Experiment exp)
exp
- a value of type 'Experiment'protected int selectProperty()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- a value of type 'ActionEvent'public void addActionListener(ActionListener newA)
newA
- an listener to addpublic static void main(String[] args)
args
- ignored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |