datechooser.beans.customizer.edit
Class PropertyCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by datechooser.beans.customizer.edit.PropertyCellEditor
All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor

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

Property cell editor.
Редактор ячееск со свойствами в зависимости от типа.

Since:
1.0
Author:
Androsov Vadim
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
PropertyCellEditor(PropertyDescriptorsHolder holder)
           
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 java.beans.PropertyDescriptor getDescriptor()
           
 java.beans.PropertyEditorSupport getEditor()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
           
 boolean isNeedsCustomEditor()
           
 void setDescriptor(java.beans.PropertyDescriptor descriptor)
           
 void setEditor(java.beans.PropertyEditorSupport editor)
           
 void setNeedsCustomEditor(boolean needsCustomEditor)
           
 boolean shouldSelectCell(java.util.EventObject anEvent)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, 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, stopCellEditing
 

Constructor Detail

PropertyCellEditor

public PropertyCellEditor(PropertyDescriptorsHolder holder)
Method Detail

getCellEditorValue

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

shouldSelectCell

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

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

getDescriptor

public java.beans.PropertyDescriptor getDescriptor()

setDescriptor

public void setDescriptor(java.beans.PropertyDescriptor descriptor)

getEditor

public java.beans.PropertyEditorSupport getEditor()

setEditor

public void setEditor(java.beans.PropertyEditorSupport editor)

isNeedsCustomEditor

public boolean isNeedsCustomEditor()

setNeedsCustomEditor

public void setNeedsCustomEditor(boolean needsCustomEditor)