fdda.dialog.swing.properties
Class PanelEditor

java.lang.Object
  |
  +--fdda.dialog.swing.properties.PanelEditor
All Implemented Interfaces:
CellEditor, TableCellEditor

public class PanelEditor
extends Object
implements TableCellEditor

The panel editor delegates the editing to a component

Author:
Jörg Rüdenauer

Constructor Summary
PanelEditor()
          Constructor
 
Method Summary
 void addCellEditorListener(CellEditorListener l)
           
 void cancelCellEditing()
           
protected  void fireEditingCanceled()
          Informs the listeners that editing has been canceled.
protected  void fireEditingStopped()
          Informs the listeners that editing has stopped.
 Object getCellEditorValue()
           
 Property getProperty()
          Returns the property
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 boolean isCellEditable(EventObject anEvent)
           
 void removeCellEditorListener(CellEditorListener l)
           
 boolean shouldSelectCell(EventObject anEvent)
           
 boolean stopCellEditing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelEditor

public PanelEditor()
Constructor

Method Detail

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int row,
                                             int column)
Specified by:
getTableCellEditorComponent in interface TableCellEditor

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor

isCellEditable

public boolean isCellEditable(EventObject anEvent)
Specified by:
isCellEditable in interface CellEditor

shouldSelectCell

public boolean shouldSelectCell(EventObject anEvent)
Specified by:
shouldSelectCell in interface CellEditor

stopCellEditing

public boolean stopCellEditing()
Specified by:
stopCellEditing in interface CellEditor

cancelCellEditing

public void cancelCellEditing()
Specified by:
cancelCellEditing in interface CellEditor

addCellEditorListener

public void addCellEditorListener(CellEditorListener l)
Specified by:
addCellEditorListener in interface CellEditor

removeCellEditorListener

public void removeCellEditorListener(CellEditorListener l)
Specified by:
removeCellEditorListener in interface CellEditor

getProperty

public Property getProperty()
Returns the property

Returns:
the property

fireEditingStopped

protected void fireEditingStopped()
Informs the listeners that editing has stopped.


fireEditingCanceled

protected void fireEditingCanceled()
Informs the listeners that editing has been canceled.



API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.