pt.despodata.java.ddata
Class DDataAbstractTableEditor

java.lang.Object
  extended bypt.despodata.java.ddata.DDataAbstractTableEditor
All Implemented Interfaces:
javax.swing.CellEditor, javax.swing.table.TableCellEditor

public abstract class DDataAbstractTableEditor
extends java.lang.Object
implements javax.swing.table.TableCellEditor

Title:

Description:

Copyright:

     Copyright (C) 2000  Despodata

     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     as published by the Free Software Foundation; either version 2
     of the License, or (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place-Suite 330, Boston, MA  02111-1307,USA.
     

Company : Despodata

Version:
1.0
Author:

Field Summary
protected  java.util.Vector afterFieldListenerList
           
protected  javax.swing.event.ChangeEvent changeEvent
           
protected  javax.swing.event.EventListenerList listenersList
           
 
Constructor Summary
DDataAbstractTableEditor()
           
 
Method Summary
 void addCellEditorListener(javax.swing.event.CellEditorListener l)
           
 void cancelCellEditing()
           
abstract  java.lang.Object getCellEditorValue()
           
abstract  java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
           
 boolean isCellEditable(java.util.EventObject anEvent)
           
 void removeCellEditorListener(javax.swing.event.CellEditorListener l)
           
 boolean shouldSelectCell(java.util.EventObject anEvent)
           
 boolean stopCellEditing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenersList

protected javax.swing.event.EventListenerList listenersList

changeEvent

protected javax.swing.event.ChangeEvent changeEvent

afterFieldListenerList

protected java.util.Vector afterFieldListenerList
Constructor Detail

DDataAbstractTableEditor

public DDataAbstractTableEditor()
Method Detail

getTableCellEditorComponent

public abstract 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

getCellEditorValue

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

isCellEditable

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

shouldSelectCell

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

stopCellEditing

public boolean stopCellEditing()
Specified by:
stopCellEditing in interface javax.swing.CellEditor

cancelCellEditing

public void cancelCellEditing()
Specified by:
cancelCellEditing in interface javax.swing.CellEditor

addCellEditorListener

public void addCellEditorListener(javax.swing.event.CellEditorListener l)
Specified by:
addCellEditorListener in interface javax.swing.CellEditor

removeCellEditorListener

public void removeCellEditorListener(javax.swing.event.CellEditorListener l)
Specified by:
removeCellEditorListener in interface javax.swing.CellEditor