com.ibm.dse.tools.workbench.gui
Class ColumnEditor

java.lang.Object
  |
  +--javax.swing.DefaultCellEditor
        |
        +--com.ibm.dse.tools.workbench.gui.ColumnEditor

public class ColumnEditor
extends javax.swing.DefaultCellEditor

This class creates a cell editor object for a given object

See Also:
Serialized Form

Inner classes inherited from class javax.swing.DefaultCellEditor
javax.swing.DefaultCellEditor.EditorDelegate
 
Fields inherited from class javax.swing.DefaultCellEditor
changeEvent, clickCountToStart, delegate, editorComponent, listenerList
 
Constructor Summary
ColumnEditor(javax.swing.JPanel frame)
          This constructor creates a columnEditor object.
 
Method Summary
 java.lang.Object getCellEditorValue()
          Returns the value in the cell editor
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
          This method returns a cell editor for a JTable.
 
Methods inherited from class javax.swing.DefaultCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, removeCellEditorListener, setClickCountToStart, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnEditor

public ColumnEditor(javax.swing.JPanel frame)
This constructor creates a columnEditor object.
Parameters:
frame - javax.swing.JPanel
Method Detail

getCellEditorValue

public java.lang.Object getCellEditorValue()
Returns the value in the cell editor
Overrides:
getCellEditorValue in class javax.swing.DefaultCellEditor
Returns:
java.lang.Object

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int column)
This method returns a cell editor for a JTable.
Overrides:
getTableCellEditorComponent in class javax.swing.DefaultCellEditor
Parameters:
table - javax.swing.JTable
value - java.lang.Object
selected - boolean
row - int
column - int
Returns:
java.awt.Component