de.hattrickorganizer.tools.updater
Class TableEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by de.hattrickorganizer.tools.updater.TableEditor
All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor

public final class TableEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor

TableEditor for UpdateDialogs

Since:
1.35
Author:
tdietz
See Also:
Serialized Form

Field Summary
protected  javax.swing.table.TableCellEditor defaultEditor
          TODO Missing Parameter Documentation
protected  javax.swing.table.TableCellEditor editor
          TODO Missing Parameter Documentation
protected  java.util.HashMap editors
          TODO Missing Parameter Documentation
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
TableEditor()
          Creates a new TableEditor object.
 
Method Summary
 void add(int row, javax.swing.table.TableCellEditor teditor)
          TODO Missing Method Documentation
 void addCellEditorListener(javax.swing.event.CellEditorListener l)
          TODO Missing Method Documentation
 void cancelCellEditing()
          TODO Missing Method Documentation
 java.lang.Object getCellEditorValue()
          TODO Missing Method Documentation
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
          TODO Missing Method Documentation
 boolean isCellEditable()
          TODO Missing Method Documentation
 void removeCellEditorListener(javax.swing.event.CellEditorListener l)
          TODO Missing Method Documentation
 boolean shouldSelectCell(java.util.EventObject anEvent)
          TODO Missing Method Documentation
 boolean stopCellEditing()
          TODO Missing Method Documentation
 
Methods inherited from class javax.swing.AbstractCellEditor
fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable
 
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
isCellEditable
 

Field Detail

editors

protected java.util.HashMap editors
TODO Missing Parameter Documentation


defaultEditor

protected javax.swing.table.TableCellEditor defaultEditor
TODO Missing Parameter Documentation


editor

protected javax.swing.table.TableCellEditor editor
TODO Missing Parameter Documentation

Constructor Detail

TableEditor

public TableEditor()
Creates a new TableEditor object.

Method Detail

isCellEditable

public boolean isCellEditable()
TODO Missing Method Documentation

Returns:
TODO Missing Return Method Documentation

getCellEditorValue

public java.lang.Object getCellEditorValue()
TODO Missing Method Documentation

Specified by:
getCellEditorValue in interface javax.swing.CellEditor
Returns:
TODO Missing Return Method Documentation

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int column)
TODO Missing Method Documentation

Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor
Parameters:
table - TODO Missing Method Parameter Documentation
value - TODO Missing Method Parameter Documentation
isSelected - TODO Missing Method Parameter Documentation
row - TODO Missing Method Parameter Documentation
column - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

add

public void add(int row,
                javax.swing.table.TableCellEditor teditor)
TODO Missing Method Documentation

Parameters:
row - TODO Missing Method Parameter Documentation
teditor - TODO Missing Method Parameter Documentation

addCellEditorListener

public void addCellEditorListener(javax.swing.event.CellEditorListener l)
TODO Missing Method Documentation

Specified by:
addCellEditorListener in interface javax.swing.CellEditor
Overrides:
addCellEditorListener in class javax.swing.AbstractCellEditor
Parameters:
l - TODO Missing Method Parameter Documentation

cancelCellEditing

public void cancelCellEditing()
TODO Missing Method Documentation

Specified by:
cancelCellEditing in interface javax.swing.CellEditor
Overrides:
cancelCellEditing in class javax.swing.AbstractCellEditor

removeCellEditorListener

public void removeCellEditorListener(javax.swing.event.CellEditorListener l)
TODO Missing Method Documentation

Specified by:
removeCellEditorListener in interface javax.swing.CellEditor
Overrides:
removeCellEditorListener in class javax.swing.AbstractCellEditor
Parameters:
l - TODO Missing Method Parameter Documentation

shouldSelectCell

public boolean shouldSelectCell(java.util.EventObject anEvent)
TODO Missing Method Documentation

Specified by:
shouldSelectCell in interface javax.swing.CellEditor
Overrides:
shouldSelectCell in class javax.swing.AbstractCellEditor
Parameters:
anEvent - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

stopCellEditing

public boolean stopCellEditing()
TODO Missing Method Documentation

Specified by:
stopCellEditing in interface javax.swing.CellEditor
Overrides:
stopCellEditing in class javax.swing.AbstractCellEditor
Returns:
TODO Missing Return Method Documentation