org.wcb.autohome.util
Class AbstractCellEditor

java.lang.Object
  extended byorg.wcb.autohome.util.AbstractCellEditor
All Implemented Interfaces:
javax.swing.CellEditor, javax.swing.table.TableCellEditor

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


Field Summary
protected  javax.swing.event.ChangeEvent changeEvent
           
protected  int clickCountToStart
           
protected  javax.swing.event.EventListenerList listenerList
           
protected  java.lang.Object value
           
 
Constructor Summary
AbstractCellEditor()
           
 
Method Summary
 void addCellEditorListener(javax.swing.event.CellEditorListener l)
           
 void cancelCellEditing()
           
protected  void fireEditingCanceled()
           
protected  void fireEditingStopped()
           
 java.lang.Object getCellEditorValue()
           
 int getClickCountToStart()
           
 boolean isCellEditable(java.util.EventObject anEvent)
           
 void removeCellEditorListener(javax.swing.event.CellEditorListener l)
           
 void setCellEditorValue(java.lang.Object value)
           
 void setClickCountToStart(int count)
           
 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
 
Methods inherited from interface javax.swing.table.TableCellEditor
getTableCellEditorComponent
 

Field Detail

listenerList

protected javax.swing.event.EventListenerList listenerList

value

protected java.lang.Object value

changeEvent

protected javax.swing.event.ChangeEvent changeEvent

clickCountToStart

protected int clickCountToStart
Constructor Detail

AbstractCellEditor

public AbstractCellEditor()
Method Detail

getCellEditorValue

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

setCellEditorValue

public void setCellEditorValue(java.lang.Object value)

setClickCountToStart

public void setClickCountToStart(int count)

getClickCountToStart

public int getClickCountToStart()

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

fireEditingStopped

protected void fireEditingStopped()

fireEditingCanceled

protected void fireEditingCanceled()


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.