fr.ifremer.isisfish.ui.models.common
Class ScriptParametersTableCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by fr.ifremer.isisfish.ui.widget.editor.ParameterTableCellEditor
          extended by fr.ifremer.isisfish.ui.models.common.ScriptParametersTableCellEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor

public class ScriptParametersTableCellEditor
extends ParameterTableCellEditor

Specific editor for script parameters.

Version:
$Revision: 3523 $ Last update : $Date: 2011-11-08 15:11:46 +0100 (Tue, 08 Nov 2011) $ By : $Author: echatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  Object script
           
protected  List<Class<?>> scriptParametersTypes
           
 
Fields inherited from class fr.ifremer.isisfish.ui.widget.editor.ParameterTableCellEditor
editor, regionStorage, type
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
ScriptParametersTableCellEditor(Object script)
          Constructor with script parameter.
 
Method Summary
protected  Class<?> getType(Object value, int row, int column)
          Get type for value.
 
Methods inherited from class fr.ifremer.isisfish.ui.widget.editor.ParameterTableCellEditor
getCellEditorValue, getComboBoxIndex, getComboBoxValue, getComboListener, getRegion, getTableCellEditorComponent, getTextFieldValue, setRegionStorage
 
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

script

protected Object script

scriptParametersTypes

protected List<Class<?>> scriptParametersTypes
Constructor Detail

ScriptParametersTableCellEditor

public ScriptParametersTableCellEditor(Object script)
Constructor with script parameter.

Parameters:
script - script
Method Detail

getType

protected Class<?> getType(Object value,
                           int row,
                           int column)
Description copied from class: ParameterTableCellEditor
Get type for value. Must be overridden (value can be null).

Overrides:
getType in class ParameterTableCellEditor
Returns:
type for value


Copyright © 1999-2012 CodeLutin. All Rights Reserved.