Packageorg.aswing
Classpublic class DefaultTextFieldCellEditor
InheritanceDefaultTextFieldCellEditor Inheritance AbstractCellEditor
SubclassesDefaultNumberTextFieldCellEditor

The default editor for table and tree cells, use a textfield.



Protected Properties
 PropertyDefined by
 Inheritedpopup : JPopup
AbstractCellEditor
  textField : JTextField
DefaultTextFieldCellEditor
Public Methods
 MethodDefined by
  
DefaultTextFieldCellEditor
 Inherited
AbstractCellEditor
 Inherited
AbstractCellEditor
  
DefaultTextFieldCellEditor
 Inherited
Returns the number of clicks needed to start editing.
AbstractCellEditor
  
DefaultTextFieldCellEditor
  
DefaultTextFieldCellEditor
 Inherited
isCellEditable(clickCount:int):Boolean
AbstractCellEditor
 Inherited
isCellEditing():Boolean
AbstractCellEditor
 Inherited
AbstractCellEditor
 Inherited
setClickCountToStart(count:Number):void
Specifies the number of clicks needed to start editing.
AbstractCellEditor
 Inherited
startCellEditing(owner:Container, value:IntRectangle, bounds:*):void
AbstractCellEditor
 Inherited
stopCellEditing():Boolean
AbstractCellEditor
  
toString():String
DefaultTextFieldCellEditor
 Inherited
updateUI():void
Calls the editor's component to update UI.
AbstractCellEditor
Protected Methods
 MethodDefined by
 Inherited
AbstractCellEditor
 Inherited
AbstractCellEditor
 Inherited
AbstractCellEditor
  
setCellEditorValue(value:*):void
Sets the value of this cell.
DefaultTextFieldCellEditor
  
transforValueFromText(text:String):*
Subclass override this method to implement specified value transform
DefaultTextFieldCellEditor
Property detail
textFieldproperty
protected var textField:JTextField
Constructor detail
DefaultTextFieldCellEditor()constructor
public function DefaultTextFieldCellEditor()
Method detail
getCellEditorValue()method
public override function getCellEditorValue():*

Returns
*
getEditorComponent()method 
public override function getEditorComponent():Component

Returns
Component
getTextField()method 
public function getTextField():JTextField

Returns
JTextField
setCellEditorValue()method 
protected override function setCellEditorValue(value:*):void

Sets the value of this cell.

Parameters
value:* — the new value of this cell
toString()method 
public function toString():String

Returns
String
transforValueFromText()method 
protected function transforValueFromText(text:String):*

Subclass override this method to implement specified value transform

Parameters
text:String

Returns
*