uk.ac.soton.itinnovation.grid.client.registry.ui.enhancedtree
Class AbstractEnhancedCellEditor

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.registry.ui.enhancedtree.AbstractEnhancedCellEditor
All Implemented Interfaces:
CellEditor
Direct Known Subclasses:
EnhancedTreeTable.TreeTableCellEditor

public class AbstractEnhancedCellEditor
extends Object
implements CellEditor


Field Summary
protected  ArrayList<CellEditorListener> listener
           
 
Constructor Summary
AbstractEnhancedCellEditor()
           
 
Method Summary
 void addCellEditorListener(CellEditorListener l)
           
 void cancelCellEditing()
           
protected  void fireEditingCanceled()
          Notify all listeners that have registered interest for notification on this event type.
protected  void fireEditingStopped()
          Notify all listeners that have registered interest for notification on this event type.
 Object getCellEditorValue()
           
 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
 

Field Detail

listener

protected ArrayList<CellEditorListener> listener
Constructor Detail

AbstractEnhancedCellEditor

public AbstractEnhancedCellEditor()
Method Detail

fireEditingStopped

protected void fireEditingStopped()
Notify all listeners that have registered interest for notification on this event type.


fireEditingCanceled

protected void fireEditingCanceled()
Notify all listeners that have registered interest for notification on this event type.


addCellEditorListener

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

removeCellEditorListener

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

cancelCellEditing

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

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


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.