edu.udo.cs.yale.gui.properties
Class ParameterValueKeyCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by edu.udo.cs.yale.gui.properties.ParameterValueKeyCellEditor
All Implemented Interfaces:
PropertyKeyCellEditor, java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer

public class ParameterValueKeyCellEditor
extends javax.swing.AbstractCellEditor
implements PropertyKeyCellEditor

Parameter editor for ParameterTypeValue.

Version:
$Id: ParameterValueKeyCellEditor.java,v 1.4 2006/09/30 00:05:31 ingomierswa Exp $
Author:
Ingo Mierswa
See Also:
Serialized Form

Field Summary
private  Experiment experiment
           
private  javax.swing.JComboBox operatorCombo
           
private  javax.swing.JPanel panel
           
private  javax.swing.JComboBox parameterCombo
           
private  OperatorChain parentOperator
           
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
ParameterValueKeyCellEditor(ParameterTypeParameterValue type, OperatorChain parentOperator)
           
 
Method Summary
private  javax.swing.JComboBox createOperatorCombo()
           
private  void fillParameterCombo()
           
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int col)
           
 java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
           
 void setValue(java.lang.String valueName)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
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, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

panel

private javax.swing.JPanel panel

operatorCombo

private javax.swing.JComboBox operatorCombo

parameterCombo

private javax.swing.JComboBox parameterCombo

parentOperator

private OperatorChain parentOperator

experiment

private Experiment experiment
Constructor Detail

ParameterValueKeyCellEditor

public ParameterValueKeyCellEditor(ParameterTypeParameterValue type,
                                   OperatorChain parentOperator)
Method Detail

createOperatorCombo

private javax.swing.JComboBox createOperatorCombo()

fillParameterCombo

private void fillParameterCombo()

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor

setValue

public void setValue(java.lang.String valueName)

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int col)
Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor

getTableCellRendererComponent

public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
                                                        java.lang.Object value,
                                                        boolean isSelected,
                                                        boolean hasFocus,
                                                        int row,
                                                        int column)
Specified by:
getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer


Copyright © 2001-2006