gate.gui
Class ResourceParametersEditor.ParameterValueEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by gate.gui.ResourceParametersEditor.ParameterValueEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor
Enclosing class:
ResourceParametersEditor

 class ResourceParametersEditor.ParameterValueEditor
extends AbstractCellEditor
implements TableCellEditor


Field Summary
(package private)  JComboBox combo
          Combobox use as editor for Gate objects (chooses between instances)
(package private)  boolean comboUsed
           
(package private)  JButton fileButton
           
(package private)  JButton fmButton
           
(package private)  FeatureMapEditorDialog fmEditor
           
(package private)  boolean fmUsed
           
(package private)  FeatureMap fmValue
           
(package private)  JButton listButton
           
(package private)  ListEditorDialog listEditor
           
(package private)  boolean listUsed
           
(package private)  Collection listValue
           
(package private)  JPanel textButtonBox
          Contains a textfield and a button
(package private)  JTextField textField
          Generic editor for all types that are not treated special
(package private)  JTextField textFieldBoolean
          Editor used for boolean values.
(package private)  String type
          The type of the value currently being edited
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
ResourceParametersEditor.ParameterValueEditor()
           
 
Method Summary
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 
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

type

String type
The type of the value currently being edited


combo

JComboBox combo
Combobox use as editor for Gate objects (chooses between instances)


textField

JTextField textField
Generic editor for all types that are not treated special


textFieldBoolean

JTextField textFieldBoolean
Editor used for boolean values.


listEditor

ListEditorDialog listEditor

listValue

Collection listValue

fmEditor

FeatureMapEditorDialog fmEditor

fmValue

FeatureMap fmValue

comboUsed

boolean comboUsed

listUsed

boolean listUsed

fmUsed

boolean fmUsed

fileButton

JButton fileButton

listButton

JButton listButton

fmButton

JButton fmButton

textButtonBox

JPanel textButtonBox
Contains a textfield and a button

Constructor Detail

ResourceParametersEditor.ParameterValueEditor

ResourceParametersEditor.ParameterValueEditor()
Method Detail

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int row,
                                             int column)
Specified by:
getTableCellEditorComponent in interface TableCellEditor

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor