edu.udo.cs.miningmart.gui.stepsettings
Class OutputEditor

java.lang.Object
  extended byjavax.swing.AbstractCellEditor
      extended byjavax.swing.DefaultCellEditor
          extended byedu.udo.cs.miningmart.gui.stepsettings.ParameterEditor
              extended byedu.udo.cs.miningmart.gui.stepsettings.OutputEditor
All Implemented Interfaces:
javax.swing.CellEditor, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer, javax.swing.tree.TreeCellEditor

public class OutputEditor
extends ParameterEditor

An editor for output parameter

Version:
$Id: OutputEditor.java,v 1.3 2006/04/11 14:10:13 euler Exp $
Author:
Daniel Hakenjos
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.DefaultCellEditor
javax.swing.DefaultCellEditor.EditorDelegate
 
Field Summary
 
Fields inherited from class edu.udo.cs.miningmart.gui.stepsettings.ParameterEditor
app, editable, loopnumber, numberofloops, oldparamcollections, opParam, paramcollections, step
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
OutputEditor(MiningMartApplication app, Step step, OpParam opParam)
           
 
Method Summary
 boolean existsOutput()
          Checks wether the output exists or not.
 void init()
          Inits this editor for the current loopnumber.
 void setEditable()
          Sets the editable-flag.
 boolean stopCellEditing()
           
 
Methods inherited from class edu.udo.cs.miningmart.gui.stepsettings.ParameterEditor
addChangeListener, cancelEditing, fireStateChanged, getAllParameterCollections, getChangeListener, getChangeListenerCount, getLoopNumber, getNumberOfLoops, getParameterCollection, getParameterCollection, getTableCellRendererComponent, getTheOpParam, makeOutput, removeAllChangeListener, removeChangeListener, setCollectionsInStep, setLoopNumber, setNumberOfLoops, setParameterCollection, setParameterCollection
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
 
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
 

Constructor Detail

OutputEditor

public OutputEditor(MiningMartApplication app,
                    Step step,
                    OpParam opParam)
Method Detail

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 ParameterEditor

stopCellEditing

public boolean stopCellEditing()
See Also:
CellEditor.stopCellEditing()

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 Collections of the old Parameters are null or empty then the ouput doesn't exists.

Overrides:
existsOutput in class ParameterEditor

setEditable

public void setEditable()
Description copied from class: ParameterEditor
Sets the editable-flag.

Overrides:
setEditable in class ParameterEditor


Copyright © 2001-2005