edu.udo.cs.miningmart.gui.stepsettings
Class ListMCFeatureEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
edu.udo.cs.miningmart.gui.stepsettings.ParameterEditor
edu.udo.cs.miningmart.gui.stepsettings.SelectEditor
edu.udo.cs.miningmart.gui.stepsettings.ListSelectEditor
edu.udo.cs.miningmart.gui.stepsettings.ListMCFeatureEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, javax.swing.CellEditor, java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer, javax.swing.tree.TreeCellEditor
- public class ListMCFeatureEditor
- extends ListSelectEditor
An editor and renderer for multi-selection of MultiColumnFeature
s.
- Version:
- $Id: ListMCFeatureEditor.java,v 1.3 2006/04/11 14:10:13 euler Exp $
- Author:
- Daniel Hakenjos
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.DefaultCellEditor |
javax.swing.DefaultCellEditor.EditorDelegate |
Fields inherited from class javax.swing.DefaultCellEditor |
clickCountToStart, delegate, editorComponent |
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
For your own selection you must overwrite this method.
|
boolean |
existsOutput()
Checks wether the output exists or not.
|
void |
init()
Inits this editor for the current loopnumber.
|
void |
makeOutput(boolean inputchanged,
boolean outputchanged,
boolean loopcountlower,
boolean loopcounthigher)
Creates,updates and/or renames the output of the parameter. |
void |
setNumberOfLoops(int numberofloops)
Sets the number of the loops. |
void |
setParameterCollection(java.util.Collection collection,
int loopnumber)
Sets the Collection of the Parameter for the specified loppnumber. |
Methods inherited from class edu.udo.cs.miningmart.gui.stepsettings.ParameterEditor |
addChangeListener, cancelEditing, fireStateChanged, getAllParameterCollections, getChangeListener, getChangeListenerCount, getLoopNumber, getNumberOfLoops, getParameterCollection, getParameterCollection, getTableCellRendererComponent, getTheOpParam, removeAllChangeListener, removeChangeListener, setCollectionsInStep, setLoopNumber, setParameterCollection |
Methods inherited from class javax.swing.DefaultCellEditor |
cancelCellEditing, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, removeCellEditorListener |
ListMCFeatureEditor
public ListMCFeatureEditor(MiningMartApplication app,
StepParameterTable table,
OpParam opParam)
- Construct a new
ListMCFeatureEditor
.
init
public void init()
- Description copied from class:
ParameterEditor
- Inits this editor for the current loopnumber.
This method is useful in subclasses to set the text or list.
- Overrides:
init
in class ListSelectEditor
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Description copied from class:
ListSelectEditor
- For your own selection you must overwrite this method.
Especially to construct the list.
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class ListSelectEditor
- See Also:
ActionListener.actionPerformed(ActionEvent)
setParameterCollection
public void setParameterCollection(java.util.Collection collection,
int loopnumber)
- Description copied from class:
ParameterEditor
- Sets the
Collection
of the Parameter for the specified loppnumber.
- Overrides:
setParameterCollection
in class ParameterEditor
makeOutput
public void makeOutput(boolean inputchanged,
boolean outputchanged,
boolean loopcountlower,
boolean loopcounthigher)
throws M4Exception
- Description copied from class:
ParameterEditor
- Creates,updates and/or renames the output of the parameter.
- Overrides:
makeOutput
in class ParameterEditor
- Throws:
M4Exception
existsOutput
public boolean existsOutput()
- Description copied from class:
ParameterEditor
- Checks wether the output exists or not.
If it is an input parameter then it returns false.
Otherwise if all
Collection
s of the old Parameters are null or empty then the ouput doesn't exists.
- Overrides:
existsOutput
in class ParameterEditor
setNumberOfLoops
public void setNumberOfLoops(int numberofloops)
- Description copied from class:
ParameterEditor
- Sets the number of the loops.
- Overrides:
setNumberOfLoops
in class ParameterEditor
Copyright © 2001-2005