edu.umd.cfar.lamp.viper.gui.table
Class AttributeEditor

java.lang.Object
  extended byjavax.swing.AbstractCellEditor
      extended byedu.umd.cfar.lamp.viper.gui.table.AttributeEditor
All Implemented Interfaces:
javax.swing.CellEditor, java.io.Serializable, javax.swing.table.TableCellEditor

public class AttributeEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor

Since:
Jun 5, 2003
Author:
davidm@cfar.umd.edu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
AttributeEditor(HasMediator table)
           
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 int getEditClickCount()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
           
 boolean isCellEditable(java.util.EventObject e)
           
 void setEditClickCount(int editClickCount)
          Sets the editClickCount.
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, 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, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Constructor Detail

AttributeEditor

public AttributeEditor(HasMediator table)
Method Detail

getTableCellEditorComponent

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

getCellEditorValue

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

isCellEditable

public boolean isCellEditable(java.util.EventObject e)
Specified by:
isCellEditable in interface javax.swing.CellEditor

getEditClickCount

public int getEditClickCount()
Returns:
int

setEditClickCount

public void setEditClickCount(int editClickCount)
Sets the editClickCount.

Parameters:
editClickCount - The editClickCount to set