DESY ACOP Beans Home

com.cosylab.gui.components.introspection
Class PropertyCellEditorRenderer

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by com.cosylab.gui.components.introspection.PropertyCellEditorRenderer
All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer

public class PropertyCellEditorRenderer
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer

Version:
$id$
Author:
Miha Kadunc
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
PropertyCellEditorRenderer(PropertyEditor pe)
           
PropertyCellEditorRenderer(PropertyEditor pe, int clickCountToStart)
          Constructor for PropertyCellEditor.
 
Method Summary
 void cancelCellEditing()
           
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
           
 java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
           
 boolean isCellEditable(java.util.EventObject anEvent)
           
 boolean stopCellEditing()
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell
 
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, removeCellEditorListener, shouldSelectCell
 

Constructor Detail

PropertyCellEditorRenderer

public PropertyCellEditorRenderer(PropertyEditor pe,
                                  int clickCountToStart)
Constructor for PropertyCellEditor.


PropertyCellEditorRenderer

public PropertyCellEditorRenderer(PropertyEditor pe)
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
See Also:
TableCellEditor.getTableCellEditorComponent(JTable, Object, boolean, int, int)

isCellEditable

public boolean isCellEditable(java.util.EventObject anEvent)
Specified by:
isCellEditable in interface javax.swing.CellEditor
Overrides:
isCellEditable in class javax.swing.AbstractCellEditor

getCellEditorValue

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

stopCellEditing

public boolean stopCellEditing()
Specified by:
stopCellEditing in interface javax.swing.CellEditor
Overrides:
stopCellEditing in class javax.swing.AbstractCellEditor
See Also:
CellEditor.stopCellEditing()

cancelCellEditing

public void cancelCellEditing()
Specified by:
cancelCellEditing in interface javax.swing.CellEditor
Overrides:
cancelCellEditing in class javax.swing.AbstractCellEditor
See Also:
CellEditor.cancelCellEditing()

getTableCellRendererComponent

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


Copyright © 2010. All Rights Reserved.