Packageorg.aswing
Classpublic class AbstractCellEditor
ImplementsCellEditor, TableCellEditor, TreeCellEditor
SubclassesDefaultCheckBoxCellEditor, DefaultComboBoxCellEditor, DefaultTextFieldCellEditor



Protected Properties
 PropertyDefined by
  popup : JPopup
AbstractCellEditor
Public Methods
 MethodDefined by
  
AbstractCellEditor
  
AbstractCellEditor
  
AbstractCellEditor
  
AbstractCellEditor
  
Returns the number of clicks needed to start editing.
AbstractCellEditor
  
AbstractCellEditor
  
isCellEditable(clickCount:int):Boolean
AbstractCellEditor
  
isCellEditing():Boolean
AbstractCellEditor
  
AbstractCellEditor
  
setClickCountToStart(count:Number):void
Specifies the number of clicks needed to start editing.
AbstractCellEditor
  
startCellEditing(owner:Container, value:IntRectangle, bounds:*):void
AbstractCellEditor
  
stopCellEditing():Boolean
AbstractCellEditor
  
updateUI():void
Calls the editor's component to update UI.
AbstractCellEditor
Protected Methods
 MethodDefined by
  
AbstractCellEditor
  
AbstractCellEditor
  
AbstractCellEditor
  
setCellEditorValue(value:*):void
Sets the value of this cell.
AbstractCellEditor
Property detail
popupproperty
protected var popup:JPopup
Constructor detail
AbstractCellEditor()constructor
public function AbstractCellEditor()
Method detail
addCellEditorListener()method
public function addCellEditorListener(l:CellEditorListener):voidParameters
l:CellEditorListener
cancelCellEditing()method 
public function cancelCellEditing():void
fireEditingCanceled()method 
protected function fireEditingCanceled():void
fireEditingStopped()method 
protected function fireEditingStopped():void
getCellEditorValue()method 
public function getCellEditorValue():*

Returns
*
getClickCountToStart()method 
public function getClickCountToStart():Number

Returns the number of clicks needed to start editing.

Returns
Number — the number of clicks needed to start editing
getEditorComponent()method 
public function getEditorComponent():Component

Returns
Component
isCellEditable()method 
public function isCellEditable(clickCount:int):BooleanParameters
clickCount:int

Returns
Boolean
isCellEditing()method 
public function isCellEditing():Boolean

Returns
Boolean
removeCellEditorListener()method 
public function removeCellEditorListener(l:CellEditorListener):voidParameters
l:CellEditorListener
removeEditorComponent()method 
protected function removeEditorComponent():void
setCellEditorValue()method 
protected function setCellEditorValue(value:*):void

Sets the value of this cell. Subclass must override this method to make editor display this value.

Parameters
value:* — the new value of this cell
setClickCountToStart()method 
public function setClickCountToStart(count:Number):void

Specifies the number of clicks needed to start editing. Default is 0.(mean start after pressed)

Parameters
count:Number — an int specifying the number of clicks needed to start editing

See also

startCellEditing()method 
public function startCellEditing(owner:Container, value:IntRectangle, bounds:*):voidParameters
owner:Container
 
value:IntRectangle
 
bounds:*
stopCellEditing()method 
public function stopCellEditing():Boolean

Returns
Boolean
updateUI()method 
public function updateUI():void

Calls the editor's component to update UI.